How to install VMware Tools in CentOS 5

by Eddy on

VMware tools are needed on VMware virtual machines so that guest operating systems can run without any performance issues.

I have installed CentOS 5 on VMware workstation 5.5 and here is how i installed VMware Tools in CentOS 5:

1. Install CentOS 5 kernel-devel packages required for VMware Tools installation

1. First make sure you have network access to download and install packages from CentOS packages site. During installation of VMware Tools CentOS kernel devel packages are needed, run yum (yellow dog update manager) to install gcc and kernel devel.

centosdev # yum install gcc kernel-devel

2. Verify installed and running version of kernel and kernel headers (kernel-devel) in CentOS 5.

centosdev # uname -r
centosdev # rpm -q kernel-devel					

On my CentOS server both version are different.

3. If you’re running version of kernel and kernel headers are different then upgrade on kernel and kernel headers

centosdev # yum -y upgrade kernel kernel-devel
centosdev # reboot

4. Locate the path of install kernel headers in your CentOS 5 Linux server, you will need this path while installing VMware Tools :

centosdev # ls -d /usr/src/kernels/$(uname -r)*/includ

2. Installing VMware Tools in CentOS 5

My development CentOS server runs under VMware Workstation 5.5

1.Select from VMware Workstation: go to VM> Install VMware Tools

2.From the VM: mount the virtual cd drive , this should be done with the guest OS (CentOS ) command line:

centosdev # mount /dev/cdrom /mn

3. From the CDROM extract VMware Tools into /tmp/ directory

centosdev # mount tar -C /tmp -zxvf /mnt/VMwareTools-5.5.3-34685.tar.gz

4. In CentOS 5 unmount the virtual cd drive after you are done.

centosdev # umount /mnt

5. Running VMware Tools installation/setup script

centosdev # cd /tmp/vmware-tools-distrib
centosdev # ./vmware-install.pl

6. This is VMware Tools installation/setup script, it will ask for confirmation to begin the installation

centosdev # ./vmware-install.pl
Do you want to run vmware-config-tools.pl?, answer "Yes".


Verizon Triple Play $84.99

News Tags:

Bookmark and Share

Related posts:

{ 6 comments… read them below or add one }

pinguinomarkitos May 6, 2009 at 2:28 AM

Uhm I have VMWare workstation 6.5, so, this commands would be the same? hope so…. I use Centos 5.x (concretely 5.3).

Thanks in advance!

saif May 12, 2009 at 8:44 PM

Yup installing VMware Tools commands still works in VMware Workstation 6.5.

Catherine September 16, 2010 at 8:43 PM

tried Cent OS first time, your post was very helpful.

ladd angelius October 9, 2010 at 12:46 PM

Thanks … very much appreciated.

steve May 2, 2011 at 9:45 AM

Section 1, substep 4 shows /includ … should it not be /include ?

dave May 22, 2011 at 2:16 PM

check out this link it helped me out
http://www.youtube.com/watch?v=cG29Ro_naN4

Leave a Comment

Comment moderation is enabled. Your comment may take some time to appear.

Previous post:

Next post: