Upgrade VMware Tools to the latest version to enhance the performance of the virtual machine's guest operating system and improve virtual machine management.

Back up your virtual machines to prevent data loss. See Basic System Administration.

A supported guest operating system must be installed on the virtual machine.

You must have an ESX/ESXi license or be using evaluation mode to power on the virtual machine.

Note

The RPM installer is not available for ESXi hosts. Only the tar installer is available for ESXi hosts. For ESXi hosts, see Perform an Interactive Upgrade of VMware Tools on a Linux Guest with the Tar Installer.

1

From the vSphere Client, right-click the virtual machine, select Power, and select Power On.

2

Select the virtual machine and click the Summary tab.

The VMware Tools label indicates whether VMware Tools is installed and current, installed and not current, or not installed.

3

Click the Console tab to make sure that the guest operating system starts successfully, and log in if necessary.

4

Right-click the virtual machine, select Guest, and select Install/Upgrade VMware Tools.

5

Select Interactive Tools Upgrade and click OK.

The upgrade process starts by mounting the VMware Tools bundle on the guest operating system.

6

In the virtual machine console, log in as root (su -) and, if necessary, create the /mnt/cdrom directory:

mkdir /mnt/cdrom
7

Mount the VMware Tools virtual CD-ROM image.

Some Linux distributions automatically mount CD-ROMs. Verify the state by running the mount command. If the CD-ROM device is mounted, each of the device's partitions with a recognized file system appears in the output of the mount command as something like this:

/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

If the CD-ROM device is listed, it is mounted. If the CD-ROM device is already mounted, do not use the mount and umount commands.

Some Linux distributions use different device names or organize the /dev directory differently. Modify the following commands to reflect the conventions used by your distribution:

mount /dev/cdrom /mnt/cdrom
8

Change to a working directory (for example, /tmp):

cd /tmp
9

(Optional) If you have a previous installation, delete the previous vmware-tools-distrib directory:

rm -rf /tmp/vmware-tools-distrib

The default location of this directory is: /tmp/vmware-tools-distrib.

10

List the contents of the /mnt/cdrom/ directory and note the filename of the VMware Tools RPM installer:

ls /mnt/cdrom
11

Install the VMware Tools RPM package.

rpm -Uhv /mnt/cdrom/VMwareTools-4.0.0-<xxxxxx>.i386.rpm

Here <xxxxxx> is the build or revision number of the ESX/ESXi version.

If you attempt to install an RPM installation over a tar installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.

12

Double-click the RPM installer file and complete the installation.

13

Unmount the CD-ROM image:

umount /dev/cdrom
14

Run the /usr/bin/vmware-config-tools.pl script to configure tools.

15

Answer the prompts and press Enter to accept the default values if appropriate for your configuration and follow the instructions at the end of the script.

16

For Linux guest operating systems, execute the following commands to restore the network:

/etc/init.d/network stop
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start
17

Log off the root account:

exit

The VMware Tools label on the Summary tab changes to OK.

(Recommended) Upgrade the virtual machine hardware to version 7.