Installing VMware Tools in CentOS 5

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 gcc44.i386 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
  5. Prepare and install VMware Tools
  6. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz
  7. Now run the installer
    cd /tmp/vmware-tools-distrib ./
  8. When asked Do you want to run, answer “Yes”.

Skriv et svar