首先,解压安装介质:

  1. [root@RHEL ~]# cd /software/  
  2. [root@RHEL software]# ls  
  3. VMwareTools-9.2.0-799703.tar.gz  
  4. [root@RHEL software]#   
  5. [root@RHEL software]# tar -xf VMwareTools-9.2.0-799703.tar.gz   
  6. [root@RHEL software]# ls   
  7. VMwareTools-9.2.0-799703.tar.gz  vmware-tools-distrib  
  8. [root@RHEL software]# cd vmware-tools-distrib/  
  9. [root@RHEL vmware-tools-distrib]# ls  
  10. bin  doc  etc  FILES  INSTALL  installer  lib    
  11. [root@RHEL vmware-tools-distrib]#   
  12. [root@RHEL vmware-tools-distrib]# 

运行其中的Perl脚本:,就开始了安装:

  1. [root@RHEL vmware-tools-distrib]#   
  2. [root@RHEL vmware-tools-distrib]# ./   
  3. Creating a new VMware Tools installer database using the tar4 format.  
  4.  
  5. Installing VMware Tools.  
  6.  
  7. In which directory do you want to install the binary files?   
  8. [/usr/bin]   
  9.  
  10. What is the directory that contains the init directories (rc0.d/ to rc6.d/)?   
  11. [/etc/rc.d]   
  12.  
  13. What is the directory that contains the init scripts?   
  14. [/etc/rc.d/init.d]   
  15.  
  16. In which directory do you want to install the daemon files?   
  17. [/usr/sbin]   
  18.  
  19. In which directory do you want to install the library files?   
  20. [/usr/lib/vmware-tools]   
  21.  
  22. The path "/usr/lib/vmware-tools" does not exist currently. This program is   
  23. going to create it, including needed parent directories. Is this what you want?  
  24. [yes]   
  25.  
  26. In which directory do you want to install the documentation files?   
  27. [/usr/share/doc/vmware-tools]   
  28.  
  29. The path "/usr/share/doc/vmware-tools" does not exist currently. This program   
  30. is going to create it, including needed parent directories. Is this what you   
  31. want? [yes]   
  32.  
  33. The installation of VMware Tools 9.2.0 build-799703 for Linux completed   
  34. successfully. You can decide to remove this software from your system at any   
  35. time by invoking the following command: "/usr/bin/".  
  36.  
  37. Before running VMware Tools for the first time, you need to configure it by   
  38. invoking the following command: "/usr/bin/". Do you want   
  39. this program to invoke the command for you now? [yes]   
  40.  
  41. Initializing...  
  42.  
  43.  
  44. Making sure services for VMware Tools are stopped.  
  45.  
  46. Stopping Thinprint services in the virtual machine:  
  47.    Stopping Virtual Printing daemon:                                   done  
  48. Stopping VMware Tools services in the virtual machine:  
  49.    Guest operating system daemon:                          [  OK  ]  
  50.    Unmounting HGFS shares:                                 [  OK  ]  
  51.    Guest filesystem driver:                                [  OK  ]  
  52.  
  53.  
  54. The VMware FileSystem Sync Driver (vmsync) allows external third-party backup   
  55. software that is integrated with vSphere to create backups of the virtual   
  56. machine. Do you wish to enable this feature? [no]   
  57.  
  58. Found a compatible pre-built module for vmci.  Installing it...  
  59.  
  60.  
  61. Found a compatible pre-built module for vsock.  Installing it...  
  62.  
  63.  
  64. Found a compatible pre-built module for vmxnet3.  Installing it...  
  65.  
  66.  
  67. Found a compatible pre-built module for pvscsi.  Installing it...  
  68.  
  69.  
  70. Found a compatible pre-built module for vmmemctl.  Installing it...  
  71.  
  72.  
  73. The VMware Host-Guest Filesystem allows for shared folders between the host OS   
  74. and the guest OS in a Fusion or Workstation virtual environment.  Do you wish   
  75. to enable this feature? [yes]   
  76.  
  77. Found a compatible pre-built module for vmhgfs.  Installing it...  
  78.  
  79.  
  80. Found a compatible pre-built module for vmxnet.  Installing it...  
  81.  
  82.  
  83. The vmblock enables dragging or copying files between host and guest in a   
  84. Fusion or Workstation virtual environment.  Do you wish to enable this feature?  
  85. [yes]   
  86.  
  87. Found a compatible pre-built module for vmblock.  Installing it...  
  88.  
  89.  
  90. !!! [EXPERIMENTAL] !!!  
  91. VMware automatic kernel modules enables automatic building and installation of 
  92. VMware kernel modules at boot that are not already present.  By selecting yes,  
  93. you will be enabling this experimental feature.  You can always disable this  
  94. feature by re-running .  
  95.  
  96. Would you like to enable VMware automatic kernel modules?  
  97. [no]   
  98.  
  99. Thinprint provides driver-free printing. Do you wish to enable this feature?   
  100. [yes]   
  101.  
  102.  
  103.  
  104. Detected X version 7.1  
  105.  
  106.  
  107. Host resolution detected as "0 x 0".  
  108.  
  109.  
  110. Please choose one of the following display sizes that X will start with:  
  111.  
  112. [1]  "320x200" 
  113. [2]  "320x240" 
  114. [3]  "400x300" 
  115. [4]  "512x384" 
  116. [5]  "640x400" 
  117. [6]  "640x480" 
  118. [7]  "720x480" 
  119. [8]  "800x480" 
  120. [9]  "854x480" 
  121. [10]  "720x576" 
  122. [11]  "800x600" 
  123. [12]  "1024x768" 
  124. [13]  "1280x720" 
  125. [14]  "1280x768" 
  126. [15]  "1152x864" 
  127. [16]  "1280x800" 
  128. [17]  "1366x768" 
  129. [18]  "1280x960" 
  130. [19]  "1440x900" 
  131. [20]  "1280x1024" 
  132. [21]  "1400x1050" 
  133. [22]  "1680x1050" 
  134. [23]  "1600x1200" 
  135. [24]  "1920x1080" 
  136. [25]  "1920x1200" 
  137. [26]  "1920x1440" 
  138. [27]  "2048x1536" 
  139. [28]  "2560x1600" 
  140. [29]  "2560x1920" 
  141. Please enter a number between 1 and 29:  
  142.  
  143. [3] 12     
  144.  
  145.  
  146. is running fine with the new config file.  
  147.  
  148. Creating a new initrd boot p_w_picpath for the kernel.  
  149.    Starting Virtual Printing daemon:                                   done  
  150.    Checking acpi hot plug                                  [  OK  ]  
  151. Starting VMware Tools services in the virtual machine:  
  152.    Switching to guest configuration:                       [  OK  ]  
  153.    Paravirtual SCSI module:                                [  OK  ]  
  154.    Guest memory manager:                                   [  OK  ]  
  155.    VM communication interface:                             [  OK  ]  
  156.    VM communication interface socket family:               [  OK  ]  
  157.    Guest filesystem driver:                                [  OK  ]  
  158.    Mounting HGFS shares:                                   [FAILED]  
  159.    Blocking file system:                                   [  OK  ]  
  160.    Guest operating system daemon:                          [  OK  ]  
  161. The configuration of VMware Tools 9.2.0 build-799703 for Linux for this running  
  162. kernel completed successfully.  
  163.  
  164. You must restart your X session before any mouse or graphics changes take   
  165. effect.  
  166.  
  167. You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the  
  168. command line.  
  169.  
  170. To enable advanced X features (e.g., guest resolution fit, drag and dropand   
  171. file and text copy/paste), you will need to do one (or more) of the following:  
  172. 1. Manually start /usr/bin/vmware-user 
  173. 2. Log out and log back into your desktop session; and,  
  174. 3. Restart your X session.  
  175.  
  176. Enjoy,  
  177.  
  178. --the VMware team  
  179.  
  180. [root@RHEL vmware-tools-distrib]# 

这样就装完了。

系统中会多出一些以“vmware-”为前缀的命令:

  1. [root@RHEL vmware-tools-distrib]# vmware-  
  2. vmware-checkvm               
  3.      vmware-user 
  4. vmware-gksu                vmware-vmblock-fuse  
  5. vmware-hgfsclient          vmware-xdg-detect-de  
  6. vmware-rpctool             vmware-xferlogs  
  7. vmware-toolbox-cmd           
  8. [root@RHEL vmware-tools-distrib]# 

——

To be continue.