image image

The first step after a fresh install of a CentOS 5.3 server is too install the packages gcc and kernel-devel. When these packages are installed, update them and reboot of the VM:

yum install gcc kernel-devel –y
yum update –y

Now we have to create a new folder so we can mount the VMware Tools cd-rom.

mkdir /media/cdrom –p

Start the VMware Tools Installer via the GUI:


Mount the cd-rom:

mount /dev/cdrom /media/cdrom

create a folder and copy the tar.gz file from the cd-rom to the folder:

mkdir /root/tarz –p
cp /media/cdrom/VMwareTools-4.0.0-xxxxxx.tar.gz /root/tarz/

Open the folder and extract the tar.gz file:

cd /root/tarz
tar zxvf VMwareTools-4.0.0-xxxxxx.tar.gz

Open the vmware-tools-distrib folder and start the installer:

cd vmware-tools-distrib

You can change the vnic to vmxnet via the following commands:

/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

The final step is to reboot the VM.


3 thoughts on “How To: Install VMware Tools on CentOS 5.3

  1. You don’t have to reboot for kernel-devel, so if you first check whether or not you are running the latest kernel you might not need the reboot.

    Besides, the rpm packages works fine on CentOS. Just install with ‘rpm -Uvh VMwareTools-4.0.0-xxxxx-i386.rpm (even on 64bit Linux, as the modules get compiled for the specific kernel when you run vmware-config-tools. :)).

  2. Thanks for the excellent article. I think there is a need to reorder some things in though, how would you connect to the repository if you have not even configured the LAN card which is done only after the tools have been loaded and the vmxnet driver installed and started.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.