Install software needed by VMware Tools
Note: you need to boot the 1-1 kernel from grub for this to work.
-
Install packages to build the kernel modulesyum install gcc kernel-devel
-
Check the running kernel matches the kernel headersuname -r # running kernelrpm -q kernel-devel # installed kernel headers
-
If the two versions do not match, runyum -y upgrade kernel kernel-develreboot
-
Find out where the kernel headers are (you may need this later)ls -d /usr/src/kernels/$(uname -r)*/include
2. Prepare and install VMware Tools
While running Centos, click on Install VMware Tools, then restart VM client machine
-
From VMware Workstation: go to VM> Install VMware Tools
-
From the VM: mount the virtual cd drivemount /dev/cdrom /mnt/
-
Extract VMware Tools to /tmp/tar -C /tmp -zxvf /mnt/VMwareTools-6.0.4-93057.tar.gz
-
Unmount the virtual cd driveumount /mnt
-
Now run the installer – from consolecd /tmp/vmware-tools-distrib./vmware-install.pl
-
Answer all the questions with yes (click pressing enter 5 times). Enter option 3 when prompted to start X at predefined resolutions
-
Call vmware tool with this command: /usr/bin/vmware-toolbox
Categories: