源地址:http://www.ehowstuff.com/how-to-install-vmware-tools-on-centos-6-3/

VMware Tools is a group of utilities that enhances the overall performance of the virtual machine’s guest operating system (OS) and improves management of the virtual machine (VM). This is one of important components in order to provide perfect VM OS. Without the VMware Tools, guest OS performance will lacks some of the important functionality. Please follow below steps to install the VMware Tools on CentOS 6.3:

1. Install prerequisites :

  1. [root@centos63 ~]# yum install perl gcc make kernel-headers kernel-devel -y

2. Right click on the VM, goto Guest, Install/Upgrade VMware tools.

3. Mount VMware-tool installer :

  1. [root@centos63 ~]# mount /dev/cdrom /mnt
  2. mount: block device /dev/sr0 is write-protected, mounting read-only

4. Extract and install :

  1. [root@centos63 ~]# cd /mnt
  2. [root@centos63 mnt]# cp VMwareTools-2.0.0-122956.tar.gz /tmp
  3. [root@centos63 mnt]# cd /tmp
  4. [root@centos63 tmp]# umount /mnt
  5. [root@centos63 tmp]# tar xzvf VMwareTools-2.0.0-122956.tar.gz
  6. [root@centos63 tmp]# cd vmware-tools-distrib
  7. [root@centos63 vmware-tools-distrib]# ./vmware-install.pl

During the installation wizard, just press enter for default selection. For certain cases, you will get stuck on the following :

  1. ..
  2. ..
  3. ..
  4. ..
  5. Stopping VMware Tools services in the virtual machine:
  6. Guest operating system daemon: [ OK ]
  7. None of the pre-built vmmemctl modules for VMware Tools is suitable for your
  8. running kernel. Do you want this program to try to build the vmmemctl module
  9. for your system (you need to have a C compiler installed on your system)?
  10. [yes]
  11.  
  12. Using compiler "/usr/bin/gcc". Use environment variable CC to override.
  13.  
  14. What is the location of the directory of C header files that match your running
  15. kernel? [/usr/src/linux/include]

Solution :

What you can do is perform kernel updates, then reboot and finally re-run the VMware-tools installation script.

Steps
1. Perform update to kernel :

  1. [root@centos63 vmware-tools-distrib]# yum update kernel -y
  2. Loaded plugins: fastestmirror, presto
  3. Loading mirror speeds from cached hostfile
  4. * base: mirrors.hostemo.com
  5. * extras: mirrors.hostemo.com
  6. * updates: mirrors.hostemo.com
  7. file:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml
  8. Trying other mirror.
  9. Setting up Update Process
  10. Resolving Dependencies
  11. --> Running transaction check
  12. ---> Package kernel.i686 0:2.6.32-279.1.1.el6 will be installed
  13. --> Processing Dependency: kernel-firmware >= 2.6.32-279.1.1.el6 for package: kernel-2.6.32-279.1.1.el6.i686
  14. --> Running transaction check
  15. ---> Package kernel-firmware.noarch 0:2.6.32-279.el6 will be updated
  16. ---> Package kernel-firmware.noarch 0:2.6.32-279.1.1.el6 will be an update
  17. --> Finished Dependency Resolution
  18.  
  19. Dependencies Resolved
  20.  
  21. ====================================================================================================
  22. Package Arch Version Repository Size
  23. ====================================================================================================
  24. Installing:
  25. kernel i686 2.6.32-279.1.1.el6 updates 23 M
  26. Updating for dependencies:
  27. kernel-firmware noarch 2.6.32-279.1.1.el6 updates 8.7 M
  28.  
  29. Transaction Summary
  30. ====================================================================================================
  31. Install 1 Package(s)
  32. Upgrade 1 Package(s)
  33.  
  34. Total download size: 32 M
  35. Downloading Packages:
  36. Setting up and reading Presto delta metadata
  37. updates/prestodelta | 41 kB 00:00
  38. Processing delta metadata
  39. Download delta size: 6.8 M
  40. (1/2): kernel-2.6.32-279.el6_2.6.32-279.1.1.el6.i686.drpm | 5.6 MB 00:49
  41. (2/2): kernel-firmware-2.6.32-279.el6_2.6.32-279.1.1.el6.noarch.drpm | 1.2 MB 00:11
  42. Finishing rebuild of rpms, from deltarpms
  43. | 32 MB 00:20
  44. Presto reduced the update size by 79% (from 32 M to 6.8 M).
  45. Running rpm_check_debug
  46. Running Transaction Test
  47. Transaction Test Succeeded
  48. Running Transaction
  49. Updating : kernel-firmware-2.6.32-279.1.1.el6.noarch 1/3
  50. Installing : kernel-2.6.32-279.1.1.el6.i686 2/3
  51. Cleanup : kernel-firmware-2.6.32-279.el6.noarch 3/3
  52. Verifying : kernel-firmware-2.6.32-279.1.1.el6.noarch 1/3
  53. Verifying : kernel-2.6.32-279.1.1.el6.i686 2/3
  54. Verifying : kernel-firmware-2.6.32-279.el6.noarch 3/3
  55.  
  56. Installed:
  57. kernel.i686 0:2.6.32-279.1.1.el6
  58.  
  59. Dependency Updated:
  60. kernel-firmware.noarch 0:2.6.32-279.1.1.el6
  61.  
  62. Complete!

2. Reboot the CentOS 6.3

3. Re-run VMware-Tools installation :

  1. [root@centos63 vmware-tools-distrib]# ./vmware-install.pl
  2. A previous installation of VMware Tools has been detected.
  3.  
  4. The previous installation was made by the tar installer (version 4).
  5.  
  6. Keeping the tar4 installer database format.
  7.  
  8. You have a version of VMware Tools installed. Continuing this install will
  9. first uninstall the currently installed version. Do you wish to continue?
  10. (yes/no) [yes]
  11.  
  12. Uninstalling the tar installation of VMware Tools.
  13.  
  14. Stopping services for VMware Tools
  15.  
  16. Stopping VMware Tools services in the virtual machine:
  17. Guest operating system daemon: [ OK ]
  18.  
  19. File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to
  20. /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc.old.2.
  21.  
  22. This program previously created the file
  23. /usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to
  24. remove it. Somebody else apparently did it already.
  25.  
  26. File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up
  27. to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.2.
  28.  
  29. File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
  30. backed up to
  31. /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.2.
  32.  
  33. This program previously created the file
  34. /usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.
  35. Somebody else apparently did it already.
  36.  
  37. This program previously created the file
  38. /usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove
  39. it. Somebody else apparently did it already.
  40.  
  41. This program previously created the file
  42. /usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules, and was about to
  43. remove it. Somebody else apparently did it already.
  44.  
  45. This program previously created the file
  46. /usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to
  47. remove it. Somebody else apparently did it already.
  48.  
  49. File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up
  50. to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.2.
  51.  
  52. The removal of VMware Tools 2.0.0 build-122956 for Linux completed
  53. successfully.
  54.  
  55. Installing VMware Tools.
  56.  
  57. In which directory do you want to install the binary files?
  58. [/usr/bin]
  59.  
  60. What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
  61. [/etc/rc.d]
  62.  
  63. What is the directory that contains the init scripts?
  64. [/etc/rc.d/init.d]
  65.  
  66. In which directory do you want to install the daemon files?
  67. [/usr/sbin]
  68.  
  69. In which directory do you want to install the library files?
  70. [/usr/lib/vmware-tools]
  71.  
  72. In which directory do you want to install the documentation files?
  73. [/usr/share/doc/vmware-tools]
  74. The path "/usr/share/doc/vmware-tools" does not exist currently. This program
  75. is going to create it, including needed parent directories. Is this what you
  76. want? [yes]
  77.  
  78. The installation of VMware Tools 2.0.0 build-122956 for Linux completed
  79. successfully. You can decide to remove this software from your system at any
  80. time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
  81.  
  82. Before running VMware Tools for the first time, you need to configure it by
  83. invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
  84. this program to invoke the command for you now? [yes]
  85.  
  86. It looks like you are trying to run this program in a remote session. This
  87. program will temporarily shut down your network connection, so you should only
  88. run it from a local console session. Are you SURE you want to continue?
  89. [no] yes
  90.  
  91. Stopping VMware Tools services in the virtual machine:
  92. Guest operating system daemon: [ OK ]
  93. None of the pre-built vmmemctl modules for VMware Tools is suitable for your
  94. running kernel. Do you want this program to try to build the vmmemctl module
  95. for your system (you need to have a C compiler installed on your system)?
  96. [yes]
  97.  
  98. Using compiler "/usr/bin/gcc". Use environment variable CC to override.
  99.  
  100. What is the location of the directory of C header files that match your running
  101. kernel?
  102. [/lib/modules/2.6.32-279.1.1.el6.i686/build/include]
  103.  
  104. Extracting the sources of the vmmemctl module.
  105.  
  106. Building the vmmemctl module.
  107.  
  108. Using 2.6.x kernel build system.
  109. make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
  110. make -C /lib/modules/2.6.32-279.1.1.el6.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
  111. make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  112. CC [M] /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.o
  113. In file included from /tmp/vmware-config0/vmmemctl-only/backdoor.h:29,
  114. from /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.c:45:
  115. /tmp/vmware-config0/vmmemctl-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
  116. CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
  117. In file included from /tmp/vmware-config0/vmmemctl-only/os.c:51:
  118. /tmp/vmware-config0/vmmemctl-only/compat_wait.h:78: error: conflicting types for âpoll_initwaitâ
  119. include/linux/poll.h:70: note: previous declaration of âpoll_initwaitâ was here
  120. make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] Error 1
  121. make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] Error 2
  122. make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  123. make: *** [vmmemctl.ko] Error 2
  124. make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
  125. Unable to build the vmmemctl module.
  126.  
  127. The memory manager driver (vmmemctl module) is used by VMware host software to
  128. efficiently reclaim memory from a virtual machine.
  129. If the driver is not available, VMware host software may instead need to swap
  130. guest memory to disk, which may reduce performance.
  131. The rest of the software provided by VMware Tools is designed to work
  132. independently of this feature.
  133. If you want the memory management feature, you can install the driver by
  134. running vmware-config-tools.pl again after making sure that gcc, binutils, make
  135. and the kernel sources for your running kernel are installed on your machine.
  136. These packages are available on your distribution's installation CD.
  137. [ Press Enter key to continue ]
  138.  
  139. None of the pre-built vmxnet modules for VMware Tools is suitable for your
  140. running kernel. Do you want this program to try to build the vmxnet module for
  141. your system (you need to have a C compiler installed on your system)? [yes]
  142.  
  143. Extracting the sources of the vmxnet module.
  144.  
  145. Building the vmxnet module.
  146.  
  147. Using 2.6.x kernel build system.
  148. make: Entering directory `/tmp/vmware-config1/vmxnet-only'
  149. make -C /lib/modules/2.6.32-279.1.1.el6.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
  150. make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  151. CC [M] /tmp/vmware-config1/vmxnet-only/vmxnet.o
  152. In file included from /tmp/vmware-config1/vmxnet-only/vmxnet.c:48:
  153. /tmp/vmware-config1/vmxnet-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
  154. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_change_mtuâ:
  155. /tmp/vmware-config1/vmxnet-only/vmxnet.c:193: error: âstruct net_deviceâ has no member named âprivâ
  156. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_get_drvinfoâ:
  157. /tmp/vmware-config1/vmxnet-only/vmxnet.c:267: error: âstruct net_deviceâ has no member named âprivâ
  158. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_set_tsoâ:
  159. /tmp/vmware-config1/vmxnet-only/vmxnet.c:305: error: âstruct net_deviceâ has no member named âprivâ
  160. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_link_checkâ:
  161. /tmp/vmware-config1/vmxnet-only/vmxnet.c:659: error: âstruct net_deviceâ has no member named âprivâ
  162. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_probe_deviceâ:
  163. /tmp/vmware-config1/vmxnet-only/vmxnet.c:841: error: âstruct net_deviceâ has no member named âprivâ
  164. /tmp/vmware-config1/vmxnet-only/vmxnet.c:993: warning: cast to pointer from integer of different size
  165. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1058: error: âstruct net_deviceâ has no member named âopenâ
  166. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1059: error: âstruct net_deviceâ has no member named âhard_start_xmitâ
  167. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1060: error: âstruct net_deviceâ has no member named âstopâ
  168. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1061: error: âstruct net_deviceâ has no member named âget_statsâ
  169. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1062: error: âstruct net_deviceâ has no member named âset_multicast_listâ
  170. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1064: error: âstruct net_deviceâ has no member named âchange_mtuâ
  171. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1067: error: âstruct net_deviceâ has no member named âtx_timeoutâ
  172. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1071: error: âstruct net_deviceâ has no member named âpoll_controllerâ
  173. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1075: error: âstruct net_deviceâ has no member named âset_mac_addressâ
  174. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_remove_deviceâ:
  175. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1142: error: âstruct net_deviceâ has no member named âprivâ
  176. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_init_ringâ:
  177. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1213: error: âstruct net_deviceâ has no member named âprivâ
  178. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_openâ:
  179. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1338: error: âstruct net_deviceâ has no member named âprivâ
  180. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âcheck_tx_queueâ:
  181. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1594: error: âstruct net_deviceâ has no member named âprivâ
  182. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_txâ:
  183. /tmp/vmware-config1/vmxnet-only/vmxnet.c:1658: error: âstruct net_deviceâ has no member named âprivâ
  184. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_rxâ:
  185. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2057: error: âstruct net_deviceâ has no member named âprivâ
  186. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_interruptâ:
  187. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2232: error: âstruct net_deviceâ has no member named âprivâ
  188. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_closeâ:
  189. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2314: error: âstruct net_deviceâ has no member named âprivâ
  190. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_load_multicastâ:
  191. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2404: error: âstruct net_deviceâ has no member named âprivâ
  192. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_set_multicast_listâ:
  193. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2465: error: âstruct net_deviceâ has no member named âprivâ
  194. /tmp/vmware-config1/vmxnet-only/vmxnet.c: In function âvmxnet_get_statsâ:
  195. /tmp/vmware-config1/vmxnet-only/vmxnet.c:2545: error: âstruct net_deviceâ has no member named âprivâ
  196. make[2]: *** [/tmp/vmware-config1/vmxnet-only/vmxnet.o] Error 1
  197. make[1]: *** [_module_/tmp/vmware-config1/vmxnet-only] Error 2
  198. make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  199. make: *** [vmxnet.ko] Error 2
  200. make: Leaving directory `/tmp/vmware-config1/vmxnet-only'
  201. Unable to build the vmxnet module.
  202.  
  203. The fast network device driver (vmxnet module) is used only for our fast
  204. networking interface. The rest of the software provided by VMware Tools is
  205. designed to work independently of this feature.
  206. If you wish to have the fast network driver enabled, you can install the driver
  207. by running vmware-config-tools.pl again after making sure that gcc, binutils,
  208. make and the kernel sources for your running kernel are installed on your
  209. machine. These packages are available on your distribution's installation CD.
  210. [ Press Enter key to continue ]
  211.  
  212. None of the pre-built vmblock modules for VMware Tools is suitable for your
  213. running kernel. Do you want this program to try to build the vmblock module
  214. for your system (you need to have a C compiler installed on your system)?
  215. [yes]
  216.  
  217. Extracting the sources of the vmblock module.
  218.  
  219. Building the vmblock module.
  220.  
  221. Using 2.6.x kernel build system.
  222. make: Entering directory `/tmp/vmware-config2/vmblock-only'
  223. make -C /lib/modules/2.6.32-279.1.1.el6.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
  224. make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  225. CC [M] /tmp/vmware-config2/vmblock-only/linux/block.o
  226. In file included from /tmp/vmware-config2/vmblock-only/linux/os.h:35,
  227. from /tmp/vmware-config2/vmblock-only/linux/block.c:26:
  228. /tmp/vmware-config2/vmblock-only/./include/compat_wait.h:78: error: conflicting types for âpoll_initwaitâ
  229. include/linux/poll.h:70: note: previous declaration of âpoll_initwaitâ was here
  230. In file included from /tmp/vmware-config2/vmblock-only/linux/vmblockInt.h:40,
  231. from /tmp/vmware-config2/vmblock-only/linux/block.c:29:
  232. /tmp/vmware-config2/vmblock-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
  233. make[2]: *** [/tmp/vmware-config2/vmblock-only/linux/block.o] Error 1
  234. make[1]: *** [_module_/tmp/vmware-config2/vmblock-only] Error 2
  235. make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  236. make: *** [vmblock.ko] Error 2
  237. make: Leaving directory `/tmp/vmware-config2/vmblock-only'
  238. Unable to build the vmblock module.
  239.  
  240. The vmblock module enables dragging or copying files from within a host and
  241. dropping or pasting them onto your guest (host to guest drag and drop and file
  242. copy/paste). The rest of the software provided by VMware Tools is designed to
  243. work independently of this feature (including guest to host drag and drop and
  244. file copy/paste).
  245.  
  246. If you would like the host to guest drag and drop and file copy/paste features,
  247. you can install the driver by running vmware-config-tools.pl again after making
  248. sure that gcc, binutils, make and the kernel sources for your running kernel
  249. are installed on your machine. These packages are available on your
  250. distribution's installation CD.
  251. [ Press Enter key to continue ]
  252.  
  253. [EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
  254. creates backups of virtual machines. Please refer to the VMware Knowledge Base
  255. for more details on this capability. Do you wish to enable this feature?
  256. [no]
  257.  
  258. None of the pre-built vmci modules for VMware Tools is suitable for your
  259. running kernel. Do you want this program to try to build the vmci module for
  260. your system (you need to have a C compiler installed on your system)? [yes]
  261.  
  262. Extracting the sources of the vmci module.
  263.  
  264. Building the vmci module.
  265.  
  266. Using 2.6.x kernel build system.
  267. make: Entering directory `/tmp/vmware-config3/vmci-only'
  268. make -C /lib/modules/2.6.32-279.1.1.el6.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
  269. make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  270. CC [M] /tmp/vmware-config3/vmci-only/kernelStubsLinux.o
  271. In file included from /tmp/vmware-config3/vmci-only/kernelStubs.h:35,
  272. from /tmp/vmware-config3/vmci-only/kernelStubsLinux.c:28:
  273. /tmp/vmware-config3/vmci-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
  274. CC [M] /tmp/vmware-config3/vmci-only/vmciDatagram.o
  275. In file included from /tmp/vmware-config3/vmci-only/vmciDatagram.c:42:
  276. /tmp/vmware-config3/vmci-only/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
  277. In file included from /tmp/vmware-config3/vmci-only/vmci_kernel_if.h:41,
  278. from /tmp/vmware-config3/vmci-only/vmciDatagram.c:45:
  279. /tmp/vmware-config3/vmci-only/compat_wait.h:78: error: conflicting types for âpoll_initwaitâ
  280. include/linux/poll.h:70: note: previous declaration of âpoll_initwaitâ was here
  281. In file included from /tmp/vmware-config3/vmci-only/vmci_queue_pair.h:36,
  282. from /tmp/vmware-config3/vmci-only/vmciGuestKernelAPI.h:43,
  283. from /tmp/vmware-config3/vmci-only/vmciUtil.h:33,
  284. from /tmp/vmware-config3/vmci-only/vmciDatagram.c:48:
  285. /tmp/vmware-config3/vmci-only/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
  286. /tmp/vmware-config3/vmci-only/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
  287. /tmp/vmware-config3/vmci-only/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
  288. /tmp/vmware-config3/vmci-only/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
  289. /tmp/vmware-config3/vmci-only/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
  290. /tmp/vmware-config3/vmci-only/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
  291. /tmp/vmware-config3/vmci-only/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
  292. /tmp/vmware-config3/vmci-only/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
  293. /tmp/vmware-config3/vmci-only/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
  294. /tmp/vmware-config3/vmci-only/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
  295. /tmp/vmware-config3/vmci-only/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
  296. /tmp/vmware-config3/vmci-only/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
  297. /tmp/vmware-config3/vmci-only/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
  298. /tmp/vmware-config3/vmci-only/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
  299. /tmp/vmware-config3/vmci-only/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
  300. /tmp/vmware-config3/vmci-only/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
  301. /tmp/vmware-config3/vmci-only/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
  302. /tmp/vmware-config3/vmci-only/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
  303. /tmp/vmware-config3/vmci-only/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
  304. make[2]: *** [/tmp/vmware-config3/vmci-only/vmciDatagram.o] Error 1
  305. make[1]: *** [_module_/tmp/vmware-config3/vmci-only] Error 2
  306. make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.i686'
  307. make: *** [vmci.ko] Error 2
  308. make: Leaving directory `/tmp/vmware-config3/vmci-only'
  309. Unable to build the vmci module.
  310.  
  311. The communication service is used in addition to the standard communication
  312. between the guest and the host. The rest of the software provided by VMware
  313. Tools is designed to work independently of this feature.
  314. If you wish to have the VMCI feature, you can install the driver by running
  315. vmware-config-tools.pl again after making sure that gcc, binutils, make and the
  316. kernel sources for your running kernel are installed on your machine. These
  317. packages are available on your distribution's installation CD.
  318. [ Press Enter key to continue ]
  319.  
  320. No X install found.
  321.  
  322. Checking acpi hot plug [ OK ]
  323. Starting VMware Tools services in the virtual machine:
  324. Switching to guest configuration: [ OK ]
  325. Guest operating system daemon: [ OK ]
  326.  
  327. The configuration of VMware Tools 2.0.0 build-122956 for Linux for this running
  328. kernel completed successfully.
  329.  
  330. You must restart your X session before any mouse or graphics changes take
  331. effect.
  332.  
  333. You can now run VMware Tools by invoking the following command:
  334. "/usr/bin/vmware-toolbox" during an X server session.
  335.  
  336. You will need to either manually start /usr/bin/vmware-user or log out and log
  337. back in to this desktop session to obtain the following features: guest
  338. resolution fit, drag and drop, and file and text copy/paste. vmware-user is
  339. configured to automatically start at a graphical login, but that won't take
  340. effect until the next login.
  341.  
  342. Enjoy,
  343.  
  344. --the VMware team

As always if you need any help you can reach us on twitter @ehowstuff or drop us a comment below. Jumping through archives page to read more articles..

转载--How to Install VMware Tools on CentOS 6.3的更多相关文章

  1. Install VMware Tools in CentOS 7 command line mode

    1.首先启动CentOS 7,在VMware中点击上方"VM",点击"Install VMware Tools..."(如已安装则显示"Reinsta ...

  2. How to Install VMware Tools on RHEL 7/CentOS 7

    The original address Mware Tools is one of important components for virtual machine (VM) in order ge ...

  3. How-to Install VMware Tools on Debian Stretch 9 32/64bit Linux+GNU

    在虚拟机VMWARE上安装debian9 安装vmwaretools时候遇到问题 询问我IFCONFIG安装在哪里? 新版的debian不知道是用户权限问题还是使用了其他网络配置工具 vmwareto ...

  4. [转载]How to Install Firefox 33 on CentOS, Redhat and Other Linux Distributions

    FROM: http://tecadmin.net/install-firefox-on-linux/ Firefox 33 has been released for Systems and And ...

  5. 【Linux】Mac Centos install VMware Tools

    can't use yum: vi /etc/sysconfig/network-scripts/ifcfg-enp4s0 yum -y install lshw pciutils gdisk sys ...

  6. 记录VMware安装VMware Tools过程及遇到的一些问题

    镜像下载.域名解析.时间同步请点击 阿里云开源镜像站 本文以CentOS安装为例 为什么要安装VMware Tools ? 便于在Windows 下更好管理虚拟机 便于设置Windows和CentOS ...

  7. Linux(CentOS 7)命令行模式安装VMware Tools 详解

    本篇文章主要介绍了如何在Linux(CentOS 7)命令行模式安装VMware Tools,具有一定的参考价值,感兴趣的小伙伴们可以参考一下. 本例中为在Linux(以CentOS 7为例)安装VM ...

  8. linux系统如何安装vmware Tools(下面以CentOS为例)

    VMwareTools是VMware虚拟机中很重要的一个工具包,有些时候在虚拟机中安装完操作系统会缺少网卡驱动,不能上网,这时只要安装VMwareTools就可以解决问题,下面以CentOS为例,来说 ...

  9. 虚拟机 linux系统如何安装vmware Tools

    1.打开VMware Workstation虚拟机,开启CentOS系统 虚拟机-安装VMware Tools 登录CentOS终端命令行 2.mkdir /media/mnt    #新建挂载目录 ...

随机推荐

  1. C++多态(二)——函数重载(overloading)和操作符重载

       任何函数都能重载. 一.普通函数的重载 C语言中一个函数只能处理一个类型的数据,不可能兼顾两种或多种数据类型:C++使用使用同一名称的函数来处理多个类型的数据. #include <ios ...

  2. .net(C#)访问Oracle数据库的几种免安装组件的对比

    Oracle 数据存取组件(ODAC) 库为Borland Delphi,C++ Builder 以及 Kylix提供了一些非可视化的组件.它们用来存取Oracle关系数据库系统.与BDE类似, OD ...

  3. unity 状态机 + svn + 码云 上篇

    最近刚找到在实习,忙于公司一个c++ 项目 ,一直想写博客来着,没时间写今天熬夜打算先献上自己前几天自己封装的一个fsm状态机 话不多说,直接上正题,这篇博客主要是在学校的时候状态机一直使用的是pla ...

  4. 关于提高webview里下载apk安装包成功率的研究

    移动互联网发展到当下,各种领域出现了一些大的app平台,这些app共同的特点就是拥有大量忠实活跃用户, 要知道,有用户就有money啊~ 于是乎其他不太知名的平台,开始在他们上面疯狂投放广告,做活动推 ...

  5. 【吉光片羽】ie6兼容性的几个点

    1.浮动换行.自己写个导航,li向左浮动,到ie6下全部错开了. --> 还是在现有bootstrap框架的基础上修改样式保险一些. <div id="mymenu" ...

  6. 一次外企QQ面试

    无忧上挂了简历,让个外企的hr约好面试,今天刚面完,整理出来给大家看看.难度不是很大,基本就是Asp.net Mvc 用到的东西,没有问数据库方面的. Part I – Frontend  1. Tr ...

  7. 防止开发人员获取到敏感数据(SQL Server的数据加密简介)

    背景 有时候,我们还真的会碰到这样的需求:防止开发人员获取到敏感数据.也许你觉得很简单,把开发和运营分开不就可以了吗?是的,如果公司有专门的运营团队的话,但对于很多小公司来说,几个人的开发团队就兼顾了 ...

  8. ubuntu git 使用

    apt-get install git//ubuntu安装git mkdir -p /var/www/gitProj //创建文件夹 cd /var/www/gitProj //进入文件夹 git i ...

  9. BIT祝威博客汇总(Blog Index)

    +BIT祝威+悄悄在此留下版了个权的信息说: 关于硬件(Hardware) <穿越计算机的迷雾>笔记 继电器是如何成为CPU的(1) 继电器是如何成为CPU的(2) 关于操作系统(Oper ...

  10. IOS 多线程01-线程基础知识

    大部分现代操作系统,包括IOS,都支持执行线程的概念.每个进程可以包含多个线程,他们可以同时运行.如果只有一个处理器核心,操作系统将在所有执行线程之间切换,非常类似于在所有执行线程之间切换.如果拥有多 ...