How to install VMware tools in a Centos 5.x guest

On your VM host you need to initiate installing the VMware tools into your guest. Once this has been done the remaining steps are carried out on the guest OS.

  1. As root you need to mount the VMware Tools virtual CD-Rom image
    #mount /dev/cdrom /mnt
  2. Now change to the a working dir ie /tmp
    #cd /tmp
  3. Untar the VMware Tools tar file
    #tar zxf /mnt/VMwareTools-4.0.0-xxxx.tar.gz
    xxxx is the build number
  4. Now unmount the VMware Toolsvirtual CD-Rom image
    #umount /dev/cdrom
    NOTE the command to un mount the CD is umount not unmount
  5. Now we need to get into the VMware Tools installer folder
    #cd vmware-tools-distrib
  6. Next run the installer
    #./vmware-install.pl
  7. Press Enter to accept the default values
  8. Now the install is complete log off from the root account
    #exit
  9. Check on the host and make sure the host can see that the guest has the VMware Tools installed

To uninstall VMware tools run the below

/usr/bin/vmware-uninstall-tools.pl