1、虚拟机 2 中的 Linux 安装 VMware Tools操作过程如下:rootlocalhost # cd /rootlocalhost /# lsbin dev home lost+found misc net proc sbin srv tftpboot usrboot etc lib media mnt opt root selinux sys tmp varrootlocalhost /# cd /mediarootlocalhost media# lsVMware Toolsrootlocalhost media# cd VMware Tools/rootlocalhost VM
2、ware Tools# lsmanifest.txt VMwareTools-8.1.3-203739.tar.gzrootlocalhost VMware Tools# cp VMwareTools-8.1.3-203739.tar.gz /tmprootlocalhost VMware Tools# cd /tmprootlocalhost tmp# lsgconfd-root scim-helper-manager-socket-rootkeyring-lbbFvv scim-panel-socket:0-rootmapping-root scim-socket-frontend-roo
3、torbit-root ssh-FmnVlj2751scim-bridge-0.3.0.lockfile-0localhost:0.0 virtual-root.ZxmHUVscim-bridge-0.3.0.socket-0localhost:0.0 VMwareTools-8.1.3-203739.tar.gzrootlocalhost tmp# tar -zxf VMwareTools-8.1.3-203739.tar.gz rootlocalhost tmp# lsgconfd-root scim-panel-socket:0-rootkeyring-lbbFvv scim-socke
4、t-frontend-rootmapping-root ssh-FmnVlj2751orbit-root virtual-root.ZxmHUVscim-bridge-0.3.0.lockfile-0localhost:0.0 VMwareTools-8.1.3-203739.tar.gzscim-bridge-0.3.0.socket-0localhost:0.0 vmware-tools-distribscim-helper-manager-socket-rootrootlocalhost tmp# cd vmware-tools-distrib/rootlocalhost vmware-
5、tools-distrib# lsbin doc etc FILES INSTALL installer lib vmware-install.plrootlocalhost vmware-tools-distrib# ./vmware-install.pl Creating a new VMware Tools installer database using the tar4 format.Installing VMware Tools.In which directory do you want to install the binary files? /usr/bin yes The
6、path “yes“ is a relative path. Please enter an absolute path.In which directory do you want to install the binary files? /usr/bin What is the directory that contains the init directories (rc0.d/ to rc6.d/)? /etc/rc.d What is the directory that contains the init scripts? /etc/rc.d/init.d In which dir
7、ectory do you want to install the daemon files? /usr/sbin In which directory do you want to install the library files? /usr/lib/vmware-tools The path “/usr/lib/vmware-tools“ does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?yes y
8、es In which directory do you want to install the documentation files? /usr/share/doc/vmware-tools The path “yes“ is a relative path. Please enter an absolute path.In which directory do you want to install the documentation files? /usr/share/doc/vmware-tools The path “/usr/share/doc/vmware-tools“ doe
9、s not exist currently. This program is going to create it, including needed parent directories. Is this what you want? yes The installation of VMware Tools 8.1.3 build-203739 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the followi
10、ng command: “/usr/bin/vmware-uninstall-tools.pl“.Before running VMware Tools for the first time, you need to configure it by invoking the following command: “/usr/bin/vmware-config-tools.pl“. Do you want this program to invoke the command for you now? yes Stopping VMware Tools services in the virtua
11、l machine:Guest operating system daemon: 确定Virtual Printing daemon: 确定Unmounting HGFS shares: 确定Guest filesystem driver: 确定Found a compatible pre-built module for vmmemctl. Installing it.Found a compatible pre-built module for vmhgfs. Installing it.Found a compatible pre-built module for vmxnet. Ins
12、talling it.Found a compatible pre-built module for vmblock. Installing it.EXPERIMENTAL The VMware FileSystem Sync Driver (vmsync) is a new feature thatcreates backups of virtual machines. Please refer to the VMware Knowledge Base for more details on this capability. Do you wish to enable this featur
13、e? no Found a compatible pre-built module for vmci. Installing it.Found a compatible pre-built module for vsock. Installing it.Found a compatible pre-built module for vmxnet3. Installing it.Found a compatible pre-built module for pvscsi. Installing it.Detected X.org version 7.1.Host resolution detec
14、ted as “1440 x 900“.Please choose one of the following display sizes that X will start with:1 “320x200“2 “320x240“3 “400x300“4 “512x384“5 “640x400“6 “640x480“7 “720x480“8 “800x480“9 “854x480“10 “720x576“11 “800x600“12 “1024x768“13 “1280x720“14 “1280x768“15 “1152x864“16 “1280x800“17 Warning: Multiple
15、 symbols for level 1/group 1 on key Using XF86Sleep, ignoring XF86Standby Warning: Symbol map for key redefined Using last definition for conflicting fieldsErrors from xkbcomp are not fatal to the X serverX is running fine with the new config file.FreeFontPath: FPE “unix/:7100“ refcount is 2, should
16、 be 1; fixing.Creating a new initrd boot image for the kernel.Starting VMware Tools services in the virtual machine:Switching to guest configuration: 确定Paravirtual SCSI module: 确定Guest filesystem driver: 确定Mounting HGFS shares: 失败Guest memory manager: 确定Guest vmxnet fast network device: 确定VM communi
17、cation interface: 确定VM communication interface socket family: 确定Blocking file system: 确定File system sync driver: 确定Guest operating system daemon: 确定Virtual Printing daemon: 确定The configuration of VMware Tools 8.1.3 build-203739 for Linux for this runningkernel completed successfully.You must restart
18、 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 enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need
19、 to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop session; and,3. Restart your X session.To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stoprmmod pcnet32rmmod vmxnetmodprobe vmxnet/etc/init.d/network startEnjoy,-the VMware teamFound VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device /dev/hdc .rootlocalhost vmware-tools-distrib#