VMWare Tools v4 on Ubuntu 12.04 LTS Server.

Install VMWare Tools can be tricky, all informations found OnLine (including VMWare’s website) can be considerated not fully complete or specific for Ubuntu Distribution.

This simple procedure describes how to install VMWare Tools v4 on Ubuntu 12.04 LTS Server.

First of all, it is necessary to use the ‘Install VMWare Tools’ option in VMWare Client (connecting to Host Controller) to attach media and let it to be visible form the Ubuntu Guest VM:
VMWare Install Tools

Get root privileges with sudo (if you are not already logged-in as root:

sudo -i

Check if the CDROM has been detected:

dmesg | grep cdrom
[    1.067411] cdrom: Uniform CD-ROM driver Revision: 3.20

Mount the CDROM:

mount /dev/cdrom /media/cdrom

Copy the tools into a convenient path, extract its content and unount the CDROM:

cp /media/cdrom/VM*.tar.gz /root
tar xvzf /root/VM*.tar.gz
umount /media/cdrom

Install necessary tools for compilation (if not already present in the VM Ubuntu BOX:

apt-get install linux-headers-server build-essential

Launch VMWare Tools installation script (the -d option specifies ‘default’ falues automatic confirmation):

/root/vmware-tools-distrib/vmware-install.pl -d

After finishing, reboot the Ubuntu Virtual Machine, and (once rebooted) check if modules has been loaded successfully:

lsmod | grep vm
modinfo vmci

A list of vm modules will be printed and some information regarding the “VMware Virtual Machine Communication Interface (VMCI)” will be displayed.


Comments are closed.