The installer for vmware-tools does the following:
- mount a ISO as a CDROM device
- install the tools off of that
- run vmware-tools-config.pl
For CentOS without X running, you have to do this manually.
The ISO images are in /usr/lib/vmware/isoimages
You need to have the 'Development Tools' group and 'kernel-devel' packages installed for this to work. I've had problems when running in a partially upgraded mode -- ie installing just the bare minimum from the local DVD then doing a yum groupinstall
for the rest, mostly due to the config program complaining that the gcc you have isn't the gcc that was used to build the kernel.
It wants to interrupt networking, so you have to do this from the VM's console.
- Connect the .ISO to the VM's virtual CDROM device.
- Mount the device (usually hdc)
- Install the .rpm you find there
- Run vmware-tools-config.pl (I didn't want the "sharing" stuff, but I otherwise let it do what it wanted to.)
- Enable the vmware-tools init script:
# chkconfig --add vmware-tools
- Reboot to make sure it's working correctly.