{"id":252,"date":"2013-04-07T14:02:29","date_gmt":"2013-04-07T06:02:29","guid":{"rendered":"http:\/\/www.ln.la\/?p=252"},"modified":"2013-04-07T14:02:29","modified_gmt":"2013-04-07T06:02:29","slug":"vmware-workstation-install-vmware-tools-in-debian-6-0-7-9-0-2-tutorial","status":"publish","type":"post","link":"https:\/\/www.lnlog.cn\/index.php\/2013\/04\/07\/vmware-workstation-install-vmware-tools-in-debian-6-0-7-9-0-2-tutorial\/","title":{"rendered":"VMware workstation 9.0.2\u5b89\u88c5Debian 6.0.7\u7684vmware tools\u6559\u7a0b"},"content":{"rendered":"<div>\n<p><span style=\"color: #ff0000;\">1.<\/span>\u4ee5root\u8eab\u4efd\u767b\u5f55<\/p>\n<p>xx@www:~$ su root\u5bc6\u7801\uff1a<\/p>\n<\/div>\n<div>\n<p><span style=\"color: #ff0000;\">2.<\/span>\u7167\u7740\u7f51\u4e0a\u5b89\u88c5vmware\u00a0tools\u7684\u6559\u7a0b\u64cd\u4f5c\uff0c\u4e2d\u9014\u4f1a\u9047\u5230&#8221;The\u00a0path\u00a0&#8220;usr\/bin\/gcc&#8221;\u00a0is\u00a0not\u00a0a\u00a0valid\u00a0path\u00a0to\u00a0the\u00a0gcc\u00a0binary\u00a0path&#8221;\u00a0&#8220;The\u00a0path\u00a0&#8220;&#8221;\u00a0is\u00a0not\u00a0a\u00a0valid\u00a0path\u00a0to\u00a0the 2.6.32-5-amd64\u00a0kernel\u00a0header&#8221;\u7684\u9519\u8bef\u63d0\u793a\uff0c\u4f7f\u5f97\u5b89\u88c5\u65e0\u6cd5\u8fdb\u884c\u4e0b\u53bb\u800c\u524d\u529f\u5c3d\u5f03\uff0c\u6240\u4ee5\u9700\u8981\u505a\u5982\u4e0b\u5de5\u4f5c\uff1a<\/p>\n<\/div>\n<div>root@www:\/home\/xx# ls \/usr\/src<\/div>\n<div>root@www:\/home\/xx# uname -r<\/div>\n<div>2.6.32-5-amd64<\/div>\n<div><\/div>\n<div><span style=\"color: #ff0000;\">3.<\/span>\u5728workstation\u4e2d\u7528\u5149\u9a71\u52a0\u8f7ddebian-6.0.7-amd64-CD-1.iso\u955c\u50cf\uff0c\u6210\u529f\u540e\u684c\u9762\u4f1a\u6709\u663e\u793a\u3002\u7136\u540e\u7a97\u53e3\u547d\u4ee4\u5b89\u88c5\u5934\u6587\u4ef6\uff1a<\/div>\n<div>root@www:\/home\/xx# apt-get install linux-headers-2.6.32-5-amd64<\/div>\n<div>\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868&#8230; \u5b8c\u6210<\/div>\n<div>\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811<\/div>\n<div>\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f&#8230; \u5b8c\u6210<\/div>\n<div>\u5c06\u4f1a\u5b89\u88c5\u4e0b\u5217\u989d\u5916\u7684\u8f6f\u4ef6\u5305\uff1a<\/div>\n<div>\u00a0\u00a0binutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev<\/div>\n<div>\u00a0\u00a0linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev<\/div>\n<div>\u00a0\u00a0manpages-dev<\/div>\n<div>\u5efa\u8bae\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff1a<\/div>\n<div>\u00a0\u00a0binutils-doc gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev<\/div>\n<div>\u00a0\u00a0gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc<\/div>\n<div>\u63a8\u8350\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff1a<\/div>\n<div>\u00a0\u00a0gcc c-compiler<\/div>\n<div>\u4e0b\u5217\u3010\u65b0\u3011\u8f6f\u4ef6\u5305\u5c06\u88ab\u5b89\u88c5\uff1a<\/div>\n<div>\u00a0\u00a0binutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev<\/div>\n<div>\u00a0\u00a0linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common<\/div>\n<div>\u00a0\u00a0linux-kbuild-2.6.32 linux-libc-dev manpages-dev<\/div>\n<div>\u5347\u7ea7\u4e86 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u65b0\u5b89\u88c5\u4e86 11 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u8981\u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 0 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002<\/div>\n<div>\u9700\u8981\u4e0b\u8f7d 6,927 kB\/20.0 MB \u7684\u8f6f\u4ef6\u5305\u3002<\/div>\n<div>\u89e3\u538b\u7f29\u540e\u4f1a\u6d88\u8017\u6389 67.4 MB \u7684\u989d\u5916\u7a7a\u95f4\u3002<\/div>\n<div>\u60a8\u5e0c\u671b\u7ee7\u7eed\u6267\u884c\u5417\uff1f[Y\/n]y<\/div>\n<div>\u66f4\u6362\u4ecb\u8d28\uff1a\u8bf7\u628a\u6807\u6709<\/div>\n<div>\u201cDebian GNU\/Linux 6.0.7 _Squeeze_ &#8211; Official amd64 CD Binary-1 20130223-14:06\u201d<\/div>\n<div>\u7684\u76d8\u7247\u63d2\u5165\u9a71\u52a8\u5668\u201c\/media\/cdrom\/\u201d\u518d\u6309\u56de\u8f66\u952e<\/div>\n<div><\/div>\n<div>\u83b7\u53d6\uff1a1 http:\/\/security.debian.org\/ squeeze\/updates\/main linux-libc-dev amd64 2.6.32-48squeeze1 [842 kB]<\/div>\n<div>\u83b7\u53d6\uff1a2 http:\/\/mirrors.163.com\/debian\/ squeeze\/main manpages-dev all 3.27-1 [1,639 kB]<\/div>\n<div>\u83b7\u53d6\uff1a3 http:\/\/security.debian.org\/ squeeze\/updates\/main linux-headers-2.6.32-5-common amd64 2.6.32-48squeeze1 [3,907 kB]<\/div>\n<div>\u83b7\u53d6\uff1a4 http:\/\/security.debian.org\/ squeeze\/updates\/main linux-headers-2.6.32-5-amd64 amd64 2.6.32-48squeeze1 [538 kB]<\/div>\n<div>\u4e0b\u8f7d 6,927 kB\uff0c\u8017\u65f6 1\u5206 51\u79d2 (62.1 kB\/s)<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 binutils\u3002<\/div>\n<div>(\u6b63\u5728\u8bfb\u53d6\u6570\u636e\u5e93 &#8230; \u7cfb\u7edf\u5f53\u524d\u5171\u5b89\u88c5\u6709 120169 \u4e2a\u6587\u4ef6\u548c\u76ee\u5f55\u3002)<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 binutils (\u4ece &#8230;\/binutils_2.20.1-16_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 gcc-4.3-base\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 gcc-4.3-base (\u4ece &#8230;\/gcc-4.3-base_4.3.5-4_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 cpp-4.3\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 cpp-4.3 (\u4ece &#8230;\/cpp-4.3_4.3.5-4_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 gcc-4.3\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 gcc-4.3 (\u4ece &#8230;\/gcc-4.3_4.3.5-4_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 libc-dev-bin\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 libc-dev-bin (\u4ece &#8230;\/libc-dev-bin_2.11.3-4_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 linux-libc-dev\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 linux-libc-dev (\u4ece &#8230;\/linux-libc-dev_2.6.32-48squeeze1_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 libc6-dev\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 libc6-dev (\u4ece &#8230;\/libc6-dev_2.11.3-4_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 linux-headers-2.6.32-5-common\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 linux-headers-2.6.32-5-common (\u4ece &#8230;\/linux-headers-2.6.32-5-common_2.6.32-48squeeze1_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 linux-kbuild-2.6.32\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 linux-kbuild-2.6.32 (\u4ece &#8230;\/linux-kbuild-2.6.32_2.6.32-1_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 linux-headers-2.6.32-5-amd64\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 linux-headers-2.6.32-5-amd64 (\u4ece &#8230;\/linux-headers-2.6.32-5-amd64_2.6.32-48squeeze1_amd64.deb) &#8230;<\/div>\n<div>\u9009\u4e2d\u4e86\u66fe\u88ab\u53d6\u6d88\u9009\u62e9\u7684\u8f6f\u4ef6\u5305 manpages-dev\u3002<\/div>\n<div>\u6b63\u5728\u89e3\u538b\u7f29 manpages-dev (\u4ece &#8230;\/manpages-dev_3.27-1_all.deb) &#8230;<\/div>\n<div>\u6b63\u5728\u5904\u7406\u7528\u4e8e man-db \u7684\u89e6\u53d1\u5668&#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e binutils (2.20.1-16) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e gcc-4.3-base (4.3.5-4) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e cpp-4.3 (4.3.5-4) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e gcc-4.3 (4.3.5-4) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e libc-dev-bin (2.11.3-4) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e linux-libc-dev (2.6.32-48squeeze1) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e libc6-dev (2.11.3-4) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e linux-headers-2.6.32-5-common (2.6.32-48squeeze1) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e linux-kbuild-2.6.32 (2.6.32-1) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e linux-headers-2.6.32-5-amd64 (2.6.32-48squeeze1) &#8230;<\/div>\n<div>\u6b63\u5728\u8bbe\u7f6e manpages-dev (3.27-1) &#8230;<\/div>\n<div>root@www:\/home\/xx#<\/div>\n<div>\u5b89\u88c5\u5b8c\u6210\u3002<\/div>\n<div><\/div>\n<div><span style=\"color: #ff0000;\"><span style=\"color: #ff0000;\">4.<\/span><\/span>\u8fd0\u884capt-get\u00a0install\u00a0make<\/div>\n<div><\/div>\n<div>\n<p><span style=\"color: #ff0000;\">5.<\/span>\u8fd0\u884capt-get\u00a0install\u00a0build-essential<\/p>\n<p><span style=\"color: #ff0000;\">6.<\/span>\u81f3\u6b64\u51c6\u5907\u5de5\u4f5c\u5b8c\u6210\uff0c\u5f00\u59cb\u5b89\u88c5VMware-Tools\u5355\u51fb\u865a\u62df\u673a\u83dc\u5355\u4e2d\u7684\u201c\u865a\u62df\u673a\/\u5b89\u88c5VMware-Tools,\u6b64\u65f6\u5c31\u4f1a\u6709\u628aVMware-tools\u6587\u4ef6\u52a0\u8f7d\u5230CD-ROM\u4e2d\u3002\u6267\u884cmount\u00a0\/mnt\/cdrom\u547d\u4ee4\u6302\u8f7d\u5149\u9a71\uff0c\u8fdb\u5165\/mnt\/cdrom\u76ee\u5f55\uff0c\u628a\u201cVMwareTools-*******.tar.gz\u201d\u6587\u4ef6\u590d\u5236\u5230\/tmp\u76ee\u5f55\u3002(\u5982\u679c\u547d\u4ee4\u5931\u8d25\uff0c\u53ef\u624b\u52a8\u4ece\u6587\u4ef6\u5939\u590d\u5236)<\/p>\n<p>\u89e3\u538b\u6587\u4ef6\uff0c\u6267\u884c\u5b89\u88c5\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p>#\u00a0cd\u00a0\/tmp \u00a0\/\/\u8fdb\u5165\u6839\u4e0btmp\u6587\u4ef6\u5939<\/p>\n<p>#\u00a0tar\u00a0-zxvf\u00a0Vm* \u00a0\/\/\u89e3\u538b\u6587\u4ef6<\/p>\n<p>#\u00a0cd\u00a0vm* \u00a0\/\/\u8fdb\u5165\u89e3\u538b\u540e\u7684\u76ee\u5f55<\/p>\n<p>#\u00a0.\/vm* \u00a0\/\/\u6267\u884c\u5b89\u88c5<\/p>\n<p>\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6839\u636e\u63d0\u793a\u8fdb\u884c\u9009\u62e9\uff0c\u4e00\u8def\u56de\u8f66\u5373\u53ef\uff0c\u6700\u540e\u51fa\u73b0:enjoy\uff0c\u547d\u4ee4\u8df3\u56de\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b89\u88c5\u7ed3\u675f\uff0c\u91cd\u542f\u7535\u8111\uff0c\u53ef\u5b9e\u73b0\u9f20\u6807\u65e0\u7f1d\u5207\u6362\u548cDebian\u7a97\u53e3\u5168\u5c4f\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1.\u4ee5root\u8eab\u4efd\u767b\u5f55 xx@www:~$ su root\u5bc6\u7801\uff1a 2.\u7167\u7740\u7f51\u4e0a\u5b89\u88c5vmware\u00a0tools\u7684\u6559 &hellip; <a href=\"https:\/\/www.lnlog.cn\/index.php\/2013\/04\/07\/vmware-workstation-install-vmware-tools-in-debian-6-0-7-9-0-2-tutorial\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">VMware workstation 9.0.2\u5b89\u88c5Debian 6.0.7\u7684vmware tools\u6559\u7a0b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[30,83],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-tech","tag-debian","tag-vmware-tools"],"_links":{"self":[{"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":0,"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lnlog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}