1、虚拟机中的Linux安装VMwareTools虚拟机中的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
2、/rootlocalhost VMware 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-so
3、cket-frontend-rootorbit-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-
4、lbbFvv scim-socket-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/root
5、localhost vmware-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?
6、/usr/bin yes The 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
7、.d In which directory 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 y
8、ou want?yes yes 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-
9、tools does 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 th
10、e following 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 v
11、irtual 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
12、. Installing 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 f
13、eature? 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 detected as 1440 x 900.Please choose one of the following display sizes that X will start with:1 320x2002 320x2403 400x3004 512x3845 640x4006 640x4807 720x4808 800x4809 854x48010 720x57611 800x60012 1024x76813 1280x72014 1280x76815 1152x86416