VMware Server 2.0.2 Installation on Centos 5.5 (RHEL 5.x)
VMware continue to offer FREE version of VMware Server, which installs on any server hardware as described in ourVMware Server 1 Intallation article we offered more than two years ago.
This article describes VMware Server 2.0.2 on the Centos 5.5, and installs 32-bit version of the software as the 64-bit version of the VMware Server will not be utilized.
VMware Server 2.x.x version has a known issue running on the Centos 5.4 or above (5.3 works perfectly fine). The web links attached to this article describes the known issue, and also provides resolution which this article will elaborate a little more specific to 32-bit version.
According to Centos, the 2.x.x versions of VMware Server are having Web Access GUI connection failures, specifically vmware-hostd crashing repeately not allowing Remote Console access which prevents Virtual Machines to be created. To begin VMware Server 2.0.2 Server installation, download the 32-bit version of the software from vmware website. You'll need to register, ang get a serial number in order to complete the installation.
Assuming that you have Centos 5.5 on your linux machine, you may install the VMware 2.0.2 per installation documentation provided by VMware. After installing the VMware Server, you'll have to run /usr/bin/vmware-config.pl.
After running the vmware-config.pl, you'll have to download the glibc-2.5-34.i686.rpm from the vault.centos.com. The glibc-2.5-34.i386.rpm will NOT work unless you're running an oldhardware.
# mkdir /pub
# cd /pub
# wget http://vault.centos.org/5.3/os/i386/CentOS/glibc-2.5-34.i686.rpm
# mkdir tmp
# cd tmp
# rpm -Uvh --root=/pub/tmp --nodeps ../glibc-2.5-34.i686.rpm
# mkdir /usr/lib/vmware/lib/libc.so.6
# ## Rename the libc-2.5.so to libc.so.6 as below.
# cp /pub/tmp/lib/libc-2.5.so /usr/lib/vmware/lib/libc.so.6/libc.so.6
# ## Edit /usr/sbin/vmware-hostd and add the line just above last eval command.
eval exec "$DEBUG_CMD" "$binary" "$@"
If you're running SELinux, you'll have to run the following command to allow access to those two files:
# chcon -t texrel_shlib_t /usr/lib/vmware/vmacore/libvmacore.so.1.0
# chcon -t texrel_shlib_t /usr/lib/vmware/vmacore/libvmomi.so.1.0
To disable SELinux, edit the /etc/selinux/config file and change enforcing to disabled.
Restart the vmware server by running the following command.
# service vmware restart
# ## Make sure vmware-hostd is running.
# ps -ef |grep hostd
root 4423 1 0 14:49 ? 00:00:04 /usr/lib/vmware/bin/vmware-hostd -a -d -u /etc/vmware/hostd/config.xml
Access your web GUI, by directing your browser to http://localhost:8222.
For more information about getting VMware Server 2.0.2 installation on Centos 5.4 or above, please consult the following references:
(Centos) VMware server 2.0.2 and centos 5.5 - resolutions
(Webalution) Vmware Server 2 Web Access Connection Loss (vmware-hostd crash) Workarounds