I used this to install VMware tools to CentOS 6.2 on ESXi 4.1
Add VMware GPG 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
Edit /etc/yum.repos.d/vmware-tools.repo:
[vmware-tools] name=VMware Tools baseurl=http://packages.vmware.com/tools/esx/4.1latest/rhel6/$basearch enabled=1 gpgcheck=1
Install VMware Tools:
yum install vmware-open-vm-tools-nox
vCenter should show “Unmanaged” – this means that CentOS package manager is responsible for updates.
[...] B) C’è anche un modo più semplice per installare i VMWare Tools, basato su pacchetti RPM: è descritto su parecchi siti web, gugolate un po’ e lo trovarete. Qui ce n’è una versione che per me ha funzionato: http://www.emanuelis.eu/2012/01/06/how-to-install-vmware-tools-to-centos-via-yum-repository/ . [...]
Thank you. Works great!
Nice HOWTO, I’ll be using this for a massive deployment of Centos tomorrow.
Best,
PKr45h
http://packages.vmware.com/tools/esx/4.1latest/rhel6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404″
Trying other mirror.
It’s probably better to use this URL to ensure you always get the latest version of vmware tools:
http://packages.vmware.com/tools/esx/latest/rhel6/$basearch
[...] http://www.emanuelis.eu/2012/01/06/how-to-install-vmware-tools-to-centos-via-yum-repository/ [...]
Thanks! Worked fine for me.
Thanks! Worked fine for me on CenOS 6.3.