如何在CentOS安裝VMWare Tools?Abstract安裝VMWare Tools有很多優點,不過在CentOS下安裝比較麻煩,本文是我的安裝心得。
[
root@localhost ~
]
# tar zxvf VMwareTools-
6.0.2
-
59824
.tar.gz
[
root@localhost ~
]
# cd vmware-tools-distrib/
[
root@localhost vmware-tools-distrib
]
# ./vmware-install.pl
Please choose one of the following display sizes that X will start with (
1
-
15 ): [ 1 ] " 640x480 " [ 2 ] < " 800x600 " [ 3 ] " 1024x768 " [ 4 ] " 1152x864 " [ 5 ] " 1280x800 " [ 6 ] " 1152x900 " [ 7 ] " 1280x1024 " [ 8 ] " 1376x1032 " [ 9 ] " 1400x900 " [ 10 ] " 1400x1050 " [ 11 ] " 1440x900 " [ 12 ] " 1680x1050 " [ 13 ] " 1600x1200 " [ 14 ] " 1920x1200 " [ 15 ] " 2364x1773 " Please enter a number between 1 and 15 : [ 2 ] 3
X Window System Version
7.1.1
Release Date: 12 May 2006 X Protocol Version 11 , Revision 0 , Release 7.1.1 Build Operating System: Linux 2.6.9 - 67 .ELsmp i686 Red Hat , Inc. Current Operating System: Linux localhost.localdomain 2.6.18 - 53.1.19 .el5 # 1 SMP Wed May 7 08 : 20 : 19 EDT 2008 i686 Build Date: 19 January 2008 Build ID: xorg-x11-server 1.1.1 - 48.26 .el5_1 .5 Before reporting problems , check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed , (**) from config file , ( == ) default setting , (++) from command line , (!!) notice , (II) informational , (WW) warning , (EE) error , (NI) not implemented , (??) unknown. (++) Log file: " /tmp/vmware-config0/XF86ConfigLog.2977 " , Time: Fri Jun 6 15 : 14 : 32 2008 (++) Using config file: " /tmp/vmware-config0/XF86Config.2977 " X is running fine with the new config file. FreeFontPath: FPE " unix/:7100 " refcount is 2 , should be 1 ; fixing. Starting VMware Tools services in the virtual machine: Switching to guest configuration: [ 確定 ] Guest filesystem driver: [ 確定 ] Mounting HGFS shares: [ 失敗 ] Guest memory manager: [ 確定 ] Guest vmxnet fast network device: [ 確定 ] Blocking file system: [ 確定 ] DMA setup: [ 確定 ] Guest operating system daemon: [ 確定 ] The configuration of VMware Tools 6.0.2 build- 59824 for Linux for this running kernel completed successfully. You must restart your X session before any mouse or graphics changes take effect. You can now run VMware Tools by invoking the following command: " /usr/bin/vmware-toolbox " during an X server session. To use the vmxnet driver , restart networking using the following commands: /etc/init.d/network stop rmmod pcnet32 rmmod vmxnet modprobe vmxnet /etc/init.d/network start To make use of the virtual printer , you will need to restart the CUPS service Enjoy , --the VMware team 重新啟動CentOS,你就會發現新的螢幕解析度出現,並且滑鼠不需再切換,且可使用拖曳的方式傳檔。 PS:主机与虚拟机共享文件方法 打开虚拟机设置(ctl+D)>选项>共享文件夹 启用,然后在右边选择“总是启用”,添加你要共享的文件(夹)就OK了。。 打开/mnt/hgfs就看到共享的文件了。 |
http://hi.baidu.com/%B5%F8%CB%C0%B2%BB%C0%AD%B5%B9/blog/item/86393917bccdc359f3de3207.html
centos安装vmware tools