Installing VMware Tools on ESXi Server 5.0 guest OS

It took half a day to find and install VMware Tools on my guest os running Cent OS 6.3.  I though a summary of this would help someone in achieving this faster.  So here it goes.

My Setup:

Host: VMware ESXi Server 5.0
Guest: Cent OS 6.3 (64 bit)
Arch: x86_64

 Install VMware Tools:

1. Download and install the keys:

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

rpm –import VMWARE-PACKAGING-GPG-DSA-KEY.pub
rpm –import VMWARE-PACKAGING-GPG-RSA-KEY.pub

2. Create a file vmware-tools.repo under path /etc/yum.repos.d/with the below content –

 [vmware-tools]
name=VMware Tools
baseurl=http://packages.vmware.com/tools/esx/5.0/rhel6/x86_64
enabled=1
gpgcheck=1

3. Install the VMware Tools with below command

yum install vmware-tools-esx-kmods vmware-tools-esx
Note: verify that your kernel name ends with x86_64.  If its different than you need to edit the line above to install the suitable package.

4. Reboot and verify your installation.

Source: OSP ESXi Install Guide

Leave a Reply

Your email address will not be published.