Installing open-vm-tools on Ubuntu Server

Most every Virtual Machine needs to have some sort of VMware Tools running. In the “Old Days,” the norm was to mount an ISO provided by VMware and install their version of the VMware Tools. More recently, VMware has been encouraging Operating System vendors and communities to develop their own version of the VMware tools, which are known as the “open-vm-tools.” The VMware Tools (VMware ISO) installations for most Operating Systems are now described as “deprecated”.

In the following steps, we will install open-vm-tools for Ubuntu from the command line. In order to do this, our VM needs to have access to the internet to be able to download the packages from the configured repositories.

Run: ifconfig to make sure this VM has network connectivity

Run: sudo apt-get install open-vm-tools and then provide the administrator password

Answer: Y

Wait for the download (a few seconds)

Open VM tools have been installed.

Update your Ubuntu Server

Run: sudo apt-get update

NOTE: if you do this within 5 minutes of running your last sudo command, you will not have to enter the password again!

Now run: sudo apt-get upgrade

Answer: Y

And the updated Ubuntu server!

 

John Borhek

John Borhek (VCP 3-6) is the IT Director and Lead Solutions Architect at VMsources Group Inc. and an active consultant specializing in VMware vSphere, Linux, Networking and Infrastructure Design.

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *