VMWare Tools into Linux via Cli

First got to the Console Virtual Machine > Install VMware Tools.
#Mount the CD drom
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom

#Run this command to find the exact name of the VMware Tools bundle; the file name varies depending on your version of Fusion:
ls /mnt/cdrom

#Extract contents of cdrom to tmp directory
tar -zxvf /mnt/cdrom/VMwareTools-.tar.gz -C /tmp/

Note: is the version discovered in the previous step which at the time of writing was VMwareTools-8.3.7-341836.tar.gz

#now move into the vmware tools directory in tmp directory.
cd /tmp/vmware-tools-distrib/

#Run the installer with the -d switch to accept defaults.
sudo ./vmware-install.pl -d

Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.

#If the installer can’t find GCC compiler , run
sudo apt-get install gcc

Auto start of vmware tools is essential to a stress free admin life. Run this command to reboot the virtual machine after the installation completes:

#Rebooting to test persistence of the vmware tools across reboots.
sudo reboot

Check if the VMware Tools status shows ‘OK’on the vm summary tab of vSphere server. This method ensure proper permissions for executable and puts the file in startup as well.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: