1、在 Linux 中安装虚拟机的 WMware Tools执行安装 WMware Tools,如图: 在 Linux 中新建终端,输入如下命令: rootlocalhost 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 What is th
2、e 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 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
3、 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 In which directory do you want to install the documentation files? /usr/share/doc/vmware-tools The path “/usr/share/doc/vmware-tools“ does no
4、t 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.6.0 build-446312 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following c
5、ommand: “/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 Initializing.Making sure services for VMware Too
6、ls are stopped.Stopping VMware Tools services in the virtual machine:Guest operating system daemon: 确定Unmounting HGFS shares: 确定Guest filesystem driver: 确定EXPERIMENTAL The VMware FileSystem Sync Driver (vmsync) is a new feature thatcreates backups of virtual machines. Please refer to the VMware Know
7、ledge Base for more details on this capability. Do you wish to enable this feature? 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
8、module for pvscsi. Installing it.Found a compatible pre-built module for vmmemctl. Installing it.The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? no noFound a compatible
9、 pre-built module for vmxnet. Installing it.Found a compatible pre-built module for vmblock. Installing it.Detected X version 7.1Please 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、10 “720x576“11 “800x600“12 “1024x768“13 “1280x720“14 “1280x768“15 “1152x864“16 “1280x800“17 “1366x768“18 “1280x960“19 “1440x900“20 “1280x1024“21 “1400x1050“22 “1680x1050“23 “1600x1200“24 “1920x1080“25 “1920x1200“26 “1920x1440“27 “2048x1536“28 “2560x1600“29 “2560x1920“Please enter a number between 1
11、and 29:3 12X Window System Version 7.1.1Release Date: 12 May 2006X Protocol Version 11, Revision 0, Release 7.1.1Build Operating System: Linux 2.6.9-34.ELsmp x86_64 Red Hat, Inc.Current Operating System: Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64Build Date: 0
12、9 January 2007Build ID: xorg-x11-server 1.1.1-48.13.el5 Before reporting problems, check http:/wiki.x.orgto make sure that you have the latest version.Module Loader presentMarkers: (-) probed, (*) from config file, (=) default setting,(+) from command line, (!) notice, (II) informational,(WW) warnin
13、g, (EE) error, (NI) not implemented, (?) unknown.(+) Log file: “/tmp/vmware-config0/XF86ConfigLog.14063“, Time: Thu Aug 23 22:32:56 2012(+) Using config file: “/tmp/vmware-config0/XF86Config.14063“(EE) Failed to load module “vmwgfx“ (module does not exist, 0)(EE) vmware: Please ignore the above warn
14、ings about not being able to to load module/driver vmwgfx(EE) AIGLX: Screen 0 is not DRI capableX is running fine with the new config file.FreeFontPath: FPE “unix/:7100“ refcount is 2, should be 1; fixing.Creating a new initrd boot image for the kernel.Checking acpi hot plug 确定Starting VMware Tools
15、services in the virtual machine:Switching to guest configuration: 确定Paravirtual SCSI module: 确定Guest memory manager: 确定Guest vmxnet fast network device: 确定VM communication interface: 确定VM communication interface socket family: 确定File system sync driver: 确定Guest operating system daemon: 确定The configu
16、ration of VMware Tools 8.6.0 build-446312 for Linux for this runningkernel completed successfully.You must restart your X session before any mouse or graphics changes take effect.You can now run VMware Tools by invoking “/usr/bin/vmware-toolbox-cmd“ from thecommand line or by invoking “/usr/bin/vmwa
17、re-toolbox“ from the command line 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 to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop ses
18、sion; and,3. Restart your X session.To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stoprmmod vmxnetmodprobe vmxnet/etc/init.d/network startEnjoy,-the VMware team说明:1、在输入命令的时候,文件名可以用 TAB 键盘补全,比如:要输入VWwareTools,只要输入 VM 然后按 TAB 键即可。2、用键可以调用刚才在键盘上输入过的命令。3、Init 命令的常用参数:Init 0 关机Init 6 重启Init 5 xwindow