Installing VMware Tools on CentOS
There’s more than one way of course but I ended up using the following series of commands with good results.
Before you begin make sure that the proper Linux distro is selected in the virtual machine’s configuration (options tab, guest operating system) and that you initiate the VMware Tools install (which presents the appropriate CDROM to the VM). Then enter the following commands:
mkdir /media/cdrom mount /dev/cdrom /media/cdrom cd /tmp tar –xf /media/cdrom/VM* cd vm* ./vmware-install.pl
At this point you should be able to follow the prompts. On a few older distros I found that I had to add the “z” option to the tar command in order for it to work properly.
As Bob Plankers (@plankers) mentioned, you may also want to run the following command to clean up the TMP directory (unless you use other methods like tmpclean):
rm -r /tmp/vmware-tools-distrib