# yum install gcc gcc-c++ kernel-devel
# ln -s /usr/src/kernels/[your kernel version] /usr/src/linux
# mkdir /mnt/cdrom
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# cp VMwareTools-[version].tar.gz /tmp
# cd /tmp
# umount /mnt/cdrom
# tar zxf VMwareTools-[version].tar.gz
# cd /tmp/vmware-tools-distrib
# ./vmware-install.pl
From: http://www.thewebhostinghero.com/tutorials/install-centos-on-vmware-part3.html