I’ve seen various posts about people having issues installing/configuring the vmtools package under their CentOS guest.
So here’s my new “Quick Tip”
Inside your CentOS 5.x guest VM
Install/update the kernel source and gcc packages.
sudo yum -y install kernel-devel gcc
Then under the Vmware host application select “VM “Install Vmware Tools” and the “tools” package will be mounted to your host, simply untar the vmware-tools.tar.gz and run the install script inside.
The script will now use your kernel headers and the gcc packages to compile the needed modules.
You can either follow the on screen instructions to unload/load the required modules or simply reboot.