VMWare Tools install on a Linux VM

There are a couple methods to install the VMWare Tools bundle on VMWare virtual machines (when you don’t install a GUI).

1. Use the tarball which builds modules against the installed kernel.
2. Use the VMWare repo to install via yum.

The disadvantage of using the tarball is the necessity of updating the install each time a new kernel is installed.

To simplify the installation, use the method below:

1. Create a new file called vmware-tools.repo

name=VMware Tools

Modify this file based on the release of ESX you are running and the version of RHEL (or it’s clones). Uncomment the appropriate baseurl line and comment out the others.

2. Import the GPG keys for the repo

# rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub
# rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

3. Specify the nox version of vmware tools

# yum install vmware-tools-nox

Or (for VMWare 5.x hosts)

# yum install vmware-tools-esx-nox

This will install the required rpm’s and anytime you invoke a yum update, these tools will also be updated.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s