VMware Server on Centos

VMware server installation on CentOS:

1. Log in the server as ‘root’. It’s not best practice but for now it’s easier.

2. Run all the software updates and reboot, you’ll be prompted about them in the upper right corner. It’ll take a while. If you’re not on dhcp you’ll have to set up your networking to work under ‘System | Administration | Network’ before updates will work.

3. Using a Terminal window (‘Applications | Accessories | Terminal’) install the following with yum, saying ‘y’ to the prompt:

Code:
yum install xinetd
yum install gcc
yum install kernel-devel
Note: xinetd should be already preinstalled.
4. Then download and unpack VMware server installation package.

Code:
cd /tmp
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.5-80187.tar.gz
tar -vxzf VMware-server-1.0.5-80187.tar.gz
cd vmware-server-distrib
./vmware-install.pl
Agree with everything and go with all the defaults. That’s it!
It can be launched from ‘Applications | System Tools | Vmware Server’
Troubleshooting:
If you have problems with “C header directory” location you probably didn’t run all the updates or didn’t install kernel-devel. Double-check those things and reboot, and re-run the vmware-install.pl. You can also try looking for the needed path by typing:

Code:
rpm -ql kernel-devel | grep /include/ | more
Performance tweak:

When you’re not using the GUI you can turn it off so it doesn’t consume resources by executing the following command as ‘root’:

Code:
init 3

To turn the GUI back on when you want to use it, as ‘root’ type:

Code:
init 5
These commands only toggle the GUI off and on, it doesn’t affect any other functionality