. Install software needed by VMware Tools
- Install packages to build the kernel modules
yum install gcc kernel-devel
- Check the running kernel matches the kernel headers
uname -r # running kernel rpm -q kernel-devel # installed kernel headers
- If the two versions do not match, run
yum -y upgrade kernel kernel-devel reboot
- Find out where the kernel headers are (you may need this later)
ls -d /usr/src/kernels/$(uname -r)*/include
2. Prepare VMware Tools
Choose one of a), b), c) or d).
a) If you are running the VM inside VMware Workstation 5.5
b) If you have VMware-workstation-5.5.1-19175.tar.gz on disk
c) If you have VMwareTools-5.5.1-19175.tar.gz on disk
d) If you cannot do any of these
3. Install VMware Tools
Note: Version 5.5.1 of VMware Tools requires a patch, shown below. If you are using a later version of VMware Tools, this is not be required. Try running /usr/bin/vmware-config-tools.pl first without the patch, and only if it fails follow this section.
- Backup your existing file
cp /usr/bin/vmware-config-tools.pl /usr/bin/vmware-config-tools.pl.orig
- Patch the file (see note above)
cd /tmp/ wget http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-tools-any-update2.tar.gz tar zxvf vmware-tools-any-update2.tar.gz cd vmware-tools-any-update2/ ./runme.pl
- When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.