wheat 发表于 2018-6-6 22:01:00

Linux安装VMware ToolBox

  首先,解压安装介质:


[*]# cd /software/
[*]# ls
[*]VMwareTools-9.2.0-799703.tar.gz
[*]#   
[*]# tar -xf VMwareTools-9.2.0-799703.tar.gz   
[*]# ls   
[*]VMwareTools-9.2.0-799703.tar.gzvmware-tools-distrib
[*]# cd vmware-tools-distrib/
[*]# ls
[*]bindocetcFILESINSTALLinstallerlibvmware-install.pl
[*]#   
[*]#

  运行其中的Perl脚本:vmware-install.pl,就开始了安装:


[*]#   
[*]# ./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?   
[*]   
[*]
[*]What is the directory that contains the init directories (rc0.d/ to rc6.d/)?   
[*]   
[*]
[*]What is the directory that contains the init scripts?   
[*]   
[*]
[*]In which directory do you want to install the daemon files?   
[*]   
[*]
[*]In which directory do you want to install the library files?   
[*]   
[*]
[*]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?
[*]   
[*]
[*]In which directory do you want to install the documentation files?   
[*]   
[*]
[*]The path "/usr/share/doc/vmware-tools" does not exist currently. This program   
[*]is going to create it, including needed parent directories. Is this what you   
[*]want?    
[*]
[*]The installation of VMware Tools 9.2.0 build-799703 for Linux completed   
[*]successfully. You can decide to remove this software from your system at any   
[*]time by invoking the 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?    
[*]
[*]Initializing...
[*]
[*]
[*]Making sure services for VMware Tools are stopped.
[*]
[*]Stopping Thinprint services in the virtual machine:
[*]   Stopping Virtual Printing daemon:                                 done
[*]Stopping VMware Tools services in the virtual machine:
[*]   Guest operating system daemon:                        
[*]   Unmounting HGFS shares:                                 
[*]   Guest filesystem driver:                              
[*]
[*]
[*]The VMware FileSystem Sync Driver (vmsync) allows external third-party backup   
[*]software that is integrated with vSphere to create backups of the virtual   
[*]machine. Do you wish to enable this feature?    
[*]
[*]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...
[*]
[*]
[*]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?    
[*]
[*]Found a compatible pre-built module for vmhgfs.Installing it...
[*]
[*]
[*]Found a compatible pre-built module for vmxnet.Installing it...
[*]
[*]
[*]The vmblock enables dragging or copying files between host and guest in a   
[*]Fusion or Workstation virtual environment.Do you wish to enable this feature?
[*]   
[*]
[*]Found a compatible pre-built module for vmblock.Installing it...
[*]
[*]
[*]!!! !!!
[*]VMware automatic kernel modules enables automatic building and installation of
[*]VMware kernel modules at boot that are not already present.By selecting yes,
[*]you will be enabling this experimental feature.You can always disable this
[*]feature by re-running vmware-config-tools.pl.
[*]
[*]Would you like to enable VMware automatic kernel modules?
[*]   
[*]
[*]Thinprint provides driver-free printing. Do you wish to enable this feature?   
[*]   
[*]
[*]
[*]
[*]Detected X version 7.1
[*]
[*]
[*]Host resolution detected as "0 x 0".
[*]
[*]
[*]Please choose one of the following display sizes that X will start with:
[*]
[*]"320x200"
[*]"320x240"
[*]"400x300"
[*]"512x384"
[*]"640x400"
[*]"640x480"
[*]"720x480"
[*]"800x480"
[*]"854x480"
[*]"720x576"
[*]"800x600"
[*]"1024x768"
[*]"1280x720"
[*]"1280x768"
[*]"1152x864"
[*]"1280x800"
[*]"1366x768"
[*]"1280x960"
[*]"1440x900"
[*]"1280x1024"
[*]"1400x1050"
[*]"1680x1050"
[*]"1600x1200"
[*]"1920x1080"
[*]"1920x1200"
[*]"1920x1440"
[*]"2048x1536"
[*]"2560x1600"
[*]"2560x1920"
[*]Please enter a number between 1 and 29:
[*]
[*] 12   
[*]
[*]
[*]X is running fine with the new config file.
[*]
[*]Creating a new initrd boot image for the kernel.
[*]   Starting Virtual Printing daemon:                                 done
[*]   Checking acpi hot plug                                 
[*]Starting VMware Tools services in the virtual machine:
[*]   Switching to guest configuration:                     
[*]   Paravirtual SCSI module:                              
[*]   Guest memory manager:                                 
[*]   VM communication interface:                           
[*]   VM communication interface socket family:               
[*]   Guest filesystem driver:                              
[*]   Mounting HGFS shares:                                 
[*]   Blocking file system:                                 
[*]   Guest operating system daemon:                        
[*]The configuration of VMware Tools 9.2.0 build-799703 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 "/usr/bin/vmware-toolbox-cmd" from the
[*]command line.
[*]
[*]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-user
[*]2. Log out and log back into your desktop session; and,
[*]3. Restart your X session.
[*]
[*]Enjoy,
[*]
[*]--the VMware team
[*]
[*]#

  这样就装完了。
  系统中会多出一些以“vmware-”为前缀的命令:


[*]# vmware-
[*]vmware-checkvm             vmware-uninstall-tools.pl
[*]vmware-config-tools.pl   vmware-user
[*]vmware-gksu                vmware-vmblock-fuse
[*]vmware-hgfsclient          vmware-xdg-detect-de
[*]vmware-rpctool             vmware-xferlogs
[*]vmware-toolbox-cmd         
[*]#

  ——
  To be continue.
页: [1]
查看完整版本: Linux安装VMware ToolBox