No idea how I never knew it existed and missed it all the years. Had to install vmware tools on RHEL6 (minimal install) without any dev tools installed.
Thought I share that as I can't imagine I am the only guy who doesn't know it lol (needles to say it is now part of our kickstart file).
1. Check your vSphere version of the host.
Example :
5.0.0, 821926
Check
here which build this is.
In this example
5.0.0 Patch Level 42. Check your RedHat version
[root@server ~]# uname -r
[B]2.6.32-279.19.1.el6.x86_64[/B]
[root@server ~]# cat /etc/redhat-release
[B]Red Hat Enterprise Linux Server release 6.3 (Santiago)[/B]
To re-cap … You got here
a. vSphere 5.0.0 Patch Level 4
b. RedHat 6 (Standard Kernel, no PAE), 64Bit
3. Determine Correct Path
a. Browse to VMware
Index of /45848/tools/esx
b. Go into the folder of the above versions as determined above
- 5.0p04
-- rhel6
--- x86_64
Note the URL for future use
Index of /45848/tools/esx/5.0p04/rhel6/x86_644. Download and install the keys
# 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
5. Create Yum Repository
[vmware-tools]
name=VMware Tools
baseurl=
http://packages.vmware.com/tools/esx/5.0p04/rhel6/x86_64
enabled=1
gpgcheck=1
6. Install VMware Tools via YUM
# yum install vmware-tools-esx-kmods vmware-tools-esx
If you got a PAE kernel
# yum install vmware-tools-esx-kmods-PAE vmware-tools-esx
Done.
The VM will now display
VMware Tools: (?) Running (3rd-party) Independent
Done.