thehenrys.net

January 15, 2008

CentOS 5 + VMware Tools installation problem

Filed under: Server Admin — dh @ 2:17 am

Copied here so i wont lose it… 😉

http://thewebmasterscafe.net/webhosting/vmware-tools-on-linux.html

Prior to installing the VMware Tools, there are a few things you want to do. The first step would be to install the kernel header files and a C compiler:

# yum install gcc gcc-c++ kernel-devel

The second thing would be to create a symbolic link pointing to your kernel header files:

# ln -s /usr/src/kernels/[your kernel version] /usr/src/linux

Now you’re ready to install the VMware Tools. From the VMware Server Console (with your virtual machine running), click on “VM => Install VMware Tools”……?. Nothing is supposed to be happening at this point, it’s just like you inserted a virtual CD. From the command line, mount the cdrom drive, copy the installation files to a directory on your virtual hard drive and untar them:

# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# cp VMwareTools-[version].tar.gz /tmp
# cd /tmp
# umount /mnt/cdrom
# tar zxf VMwareTools-[version].tar.gz

Execute the VMware Tools installation script:

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

Go through the installation and answer all the questions. I’ve left every settings to its default value.

When you’re done, simply reboot your virtual machine. I’ve had a little problem with X as it wouldn’t start upon reboot. I just used the X configuration wizard (which launched automatically) to make some adjustments, rebooted the VM again and everything worked fine.

2 Responses to “CentOS 5 + VMware Tools installation problem”

  1. Ananth Says:

    Many Thanks for the notes, it was really helpful. I installed VMware Tools as you mentioned but I have to use Ctrl + Alt to release my mouse from VM to Windows. Please let me know how to fix this so that my mouse will work semingles.

    Thanks

    Ananth

  2. dh Says:

    Hi!

    I’m afraid that’s just the way the vmware server works as far as i know. It is kind of aggrivating at first, but it should become easier as you work with the vmware server. You could try using the Windows Remote Desktop instead of vmware server too. That might be what you are looking for. Good luck,

    -dan

Leave a Reply