How To Install VMWare Tools v5 on Ubuntu 12.04 LTS Server and 12.10 Server

After searching a long time in the internet, for getting the right solution on installing the VmWare Tools on my Ubuntu Server VM, I tried a lot different ones and came up with this one. For me it works great and my server is up to date!

1.
Update your Ubuntu VM
sudo apt-get -y update
sudo apt-get -y upgrade

2.
Install build tools
sudo apt-get -y install linux-headers-server build-essential

3.
Mount vmwaretools within esx
In your esx select the ubuntu vm, right klick and select guest –> install vmwaretools. Now the vmwaretools cd is attached.

84f47eee2848de06f9920ca7b7aa9519895175b575831632b4b53343ca52bc78_vmtools_big
4.
Create the mount point
sudo mkdir -p /media/cdrom

5.
Mount the ISO
sudo mount /dev/cdrom /media/cdrom

6.
Now change the directory
cd /media/cdrom

7.
Copy the tar file
sudo cp VM*.tar.gz /tmp

8.
Unmount ISO
sudo umount /media/cdrom

9.
change directory
cd /tmp

10.
Expand the tar
sudo tar xzvf VM*.tar.gz

11.
Change Directory
cd vmware-tools-distrib

12.
To prevent a potential error ..
in the install script on Ubuntu 11.10+,

Unable to create symlink “/usr/lib64/libvmcf.so” pointing to file ”/usr/lib/vmware-tools/lib64/libvmcf.so/libvmcf.so”.

, create a special directory:

sudo mkdir -p /usr/lib64

13.
Run the Install script:
sudo ./vmware-install.pl -d

14.
Reboot
sudo reboot

Conclusion
For me this is the quickest way to get vmtools installed! Hope it’ll work for you!

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s