Installing VMWare Tools using repository

CentOS 5/6

First, import the keys to RPM:

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

Add the repository to yum by creating file /etc/yum.repos.d/vmware-tools.repo:

cat <<EOT > /etc/yum.repos.d/vmware-tools.repo
[vmware-tools]
name=VMware Tools
baseurl=http://packages.vmware.com/tools/esx/5.0/rhel6/\$basearch
enabled=1
gpgcheck=1
EOT

Then, install using:

# for non-PAE kernel:
yum -y install vmware-tools-esx-kmods vmware-tools-esx

# for PAE kernel:
#yum -y install vmware-tools-esx-kmods-pae vmware-tools-esx

For no X windows:

yum -y install vmware-open-vm-tools-nox

Debian Squeeze

Create the apt source file:

cat > /etc/apt/sources.list.d/contrib.list  << EOT
deb http://ftp.tw.debian.org/debian/ squeeze contrib
deb-src http://ftp.tw.debian.org/debian/ squeeze contrib
EOT

Then install the open-vm-tools by:

apt-get update
apt-get install open-vm-tools open-vm-source open-vm-modules

# install these if gui needed:
apt-get install open-vm-toolbox

Reboot to take effect.

If you see:

Loading open-vm-tools modules: vmhgfsFATAL: Module vmhgfs not found.
 vmmemctlFATAL: Module vmmemctl not found.
 vmsyncFATAL: Module vmsync not found.

You can install the missing modules by:

module-assistant auto-install open-vm -i

Ubuntu 10.4

tips/installing_vmware_tools_using_repository.txt · Last modified: 2011-11-29 15:55 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0