VMWare Tools

How to install the VMWare tools

RHEL 5, 6 / CentOS 5, 6

We briefly describe how you can install the VMware Operating System Specific Packages (OSPs).

... VMWare repository for vSphere 5

install the package vmware-tools-repo-RHEL5 or vmware-tools-repo-RHEL6.

Then run

yum install vmware-tools-esx-nox

...

RHEL 6 / CentOS 6

It is also possible to install the Open VMware Tools packages provided by RedHat in the official repository 'rhel-6-server-cf-tools-1-rpms':

subscription-manager repos --enable=rhel-6-server-cf-tools-1-rpms

yum install open-vm-tools

The following packages will be installed:

open-vm-tools

open-vm-tools-libs

open-vm-toolsd

libdnet

Note: you should remove first the VMWare Tools you installed via the VMWare tarball, by entering the following commands:

rm -f /usr/bin/vmware-uninstall-tools.pl

# this command should be equivalent to:

#

# rm -f /etc/init.d/vmware-tools

# rm -fr /usr/lib/vmware-tools

# rm -f /etc/pam.d/vmtoolsd

# rm -f /usr/bin/vmware-config-tools.pl

# rm -f /usr/bin/vmware-gksu

# rm -f /usr/bin/vmware-hgfsclient

# rm -f /usr/bin/vmware-toolbox

# rm -f /usr/bin/vmware-uninstall-tools.pl

# rm -f /usr/bin/vmware-user

# rm -f /usr/bin/vmware-user-wrapper

RHEL 7 / CentOS 7

The installation is straightforward and should last just a few minutes.

Just enter the following commands to install the VMWare Open Tools:

yum install open-vm-tools

systemctl start vmtoolsd

Now you can check if the service vmtoolsd is running:

systemctl status vmtoolsd

# example of output:

vmtoolsd.service - Service for virtual machines hosted on VMware

Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled)

Active: active (running) since Fri 2015-01-23 10:01:41 CET; 2s ago

Docs: http://open-vm-tools.sourceforge.net/about.php

Main PID: 1084 (vmtoolsd)

CGroup: /system.slice/vmtoolsd.service

└─1084 /usr/bin/vmtoolsd

Jan 23 10:01:41 vm.test.org systemd[1]: Starting Service for virtual machines hosted on VMware...

Jan 23 10:01:41 vm.test.org systemd[1]: Started Service for virtual machines hosted on VMware.