VMware Tools Install on CentOS

Recently I deployed a new Linux-based VM for our Aruba Wireless Network (specifically for AirWave). It’s a CentOS-based installation, but a custom ISO that includes the AirWave installer – you can get it form Aruba’s website.

Anyways, it says that before you install AirWave, you should install VMware Tools. I did the typical “VM > Guest > Install/Upgrade VMware Tools” menu option from the Console window, but nothing happened. I guess I was hoping it would automatically install, since I haven’t done it in Linux (with or without a GUI) before. Because it didn’t auto-install, I took to the web and found this helpful article from a fellow WordPress blogger:

Initiate the VMware tools install on your CentOS 6.2 VM. Open a SSH session to your VM and copy/paste this:
[yum -y install perl] - *step skipped for my install
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
umount /mnt/cdrom
tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp
cd /
./tmp/vmware-tools-distrib/vmware-install.pl --default
rm -f /tmp/VMwareTools-*.tar.gz
rm -rf /tmp/vmware-tools-distrib
 Bam! VMware Tools installed!