Install VMware Tools in Ubuntu 12.04 Server Guest on vCenter Host

Having a base template of Ubuntu 12.04 Server can be great for those times you need a special purpose Linux server in a short turn around timeframe. Before I “freeze” the VM as a template, I like to have the VMware tools installed and ready to go. Then you can deploy the template as a machine and know that the benefits of VMware tools are included.

These commands are straightforward (even I can follow along) and modeled after a vSphere 5.0 environment. I use vCenter 5 daily.

After logging into the server, either by console or ssh, enter the following:

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install build-essential

In vCenter, select the VM > Guest > Install/Upgrade VMware tools (this mounts the tools iso on /media/cdrom)

  • cp /media/cdrom/VMware*.tar.gz /tmp
  • cd /tmp
  • tar xzvf VMware*.gz
  • cd vmware-tools-distrib/
  • sudo ./vmware-install.pl -d
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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