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 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

  1. From VMware Workstation: go to VM> Install VMware Tools
  2. From the VM: mount the virtual cd drive
    mount /dev/cdrom /mnt/
  3. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf /mnt/VMwareTools-5.5.3-34685.tar.gz
  4. Unmount the virtual cd drive
    umount /mnt
  5. Now run the installer
    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl
  6. When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.

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

  1. Make sure VMware-workstation-5.5.3-34685.tar.gz is on disk inside the VM.
  2. Extract the VMware Tools iso
    tar --strip-components=3 -zxvf VMware-workstation-5.5.3-34685.tar.gz \
    vmware-distrib/lib/isoimages/linux.iso
  3. Create a temporary mount point
    mkdir /mnt/vmtools-temp
  4. Mount the iso image
    mount -o loop linux.iso /mnt/vmtools-temp
  5. Copy VMware Tools from the mount
    cp /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz /tmp/
  6. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz
  7. Tidy up
    umount /mnt/vmtools-temp
    rmdir /mnt/vmtools-temp
    rm linux.iso
  8. Now run the installer
    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl
  9. When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.

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

  1. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz
  2. Now run the installer
    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl
  3. When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.

d) If you cannot do any of these Show answer

  1. Download VMware Workstation Trial (free) from
    http://www.vmware.com/download/ws/
  2. Go to If you have VMwareTools-5.5.3-34685.tar.gz on disk, above.
Explore posts in the same categories: centos

One Comment pada “Installing VMware Tools in CentOS 5”


  1. In all honesty, We did not expect like apple ipad tablet coming from Apple. . -= Aminul Islamic Sajib’s continue website… Yahoo or google Pr Updated: AISajib. net is already PR3! =-.
    oakley pas cher http://www.lsjplus.com/images/lunettedesoleil-oakley/


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


%d blogger menyukai ini: