Installing VMware Tools in CentOS 5



ThoughtPolice VMware Images

Tested with VMware Tools v.5.5.3 (VMwareTools-5.5.3-34685.tar.gz).

1. Install software needed by VMware Tools

Note: you need to boot the 1-1 kernel from grub for this to work.

  1. Install packages to build the kernel modules
    yum install gcc kernel-devel
  2. Check the running kernel matches the kernel headers
    uname -r             # running kernel
    rpm -q kernel-devel  # installed kernel headers
    
  3. If the two versions do not match, run
    yum -y upgrade kernel kernel-devel
    reboot
  4. Find out where the kernel headers are (you may need this later)
    ls -d /usr/src/kernels/$(uname -r)*/include

2. Prepare and install VMware Tools

Choose one of a), b), c) or d).

a) If you are running the VM inside VMware Workstation 5.5 Show answer

b) If you have VMware-workstation-5.5.3-34685.tar.gz on disk Show answer

c) If you have VMwareTools-5.5.3-34685.tar.gz on disk Show answer

d) If you cannot do any of these Show answer

Comments? Feedback? e-mail me

http://www.thoughtpolice.co.uk/vmware/howto/centos-5-vmware-tools-install.html

Губарь Маргарита Александровна