Install VMWare tools on Linux (Ubuntu)

You should ALWAYS install VMWare tools on VMware virtual machines, even Ubnut/ Linux servers without a GUI.

Start by selecting Install VMWare tools in the vSphere web client, select Mount to verify

vSphere_Web_Client_Install_tools

 

 

 

 

 

 

vSphere_Web_Client_Install_tools_mount

 

 

 

 

 

Open a console through the web client or an SSH session to the server:

ssh user@hostname

Create the /mnt/cdrom folder if it doesn’t exist:

sudo mkdir /mnt/cdrom

Mount the tools:

sudo mount /dev/cdrom /mnt/cdrom

Copy the VMware tools file to another folder (tmp):

 

cd /mnt/cdrom
cp VMwareTools-9.0.11-1743336.tar.gz /tmp/

Unmount the drive (doesn’t always work):

sudo umount /dev/cdrom

Untar the file in tmp:


cd /tmp/
tar zxf VMwareTools-9.0.11-1743336.tar.gz

Run the installer, defaults are usually fine except that I usually select to enable automatic kernel modules. This allows VMware Tools to install missing modules if there is a kernel upgrade or change


cd vmware-tools-distrib/
sudo ./vmware-install.pl