Couple of days back one of my colleagues approached me seeking my help in installing and configuring VMware Server. He had apparently done everything right, but he was not able to have VMware up and running. It was throwing up some weird error while compiling the kernel modules. He had googled around with the error message, did almost everything each of the links said, but all his efforts were in vain. I decided to give it a shot. I cleaned up his machine and proceeded to install Vmware server -1.0.4. I followed my usual default installation procedure and hoolah it started working !!! He had not installed vmware-any-any-update. I later realised that installing vmware-any-any-update patches is one of the steps most people miss out when the installation fails. After this incidence I decided to put down the steps on my blo. I am pretty much sure that the info I put in here might already be duplicated all over the internet, but all the time and energy spent on putting up this post, would be worth while if atleast 1 person would get benefited from this entry. So here goes....
Step-1 (PRE-REQUISISTES): You will need to have the following packages installed before you start installing VMware-server.
- gcc, gcc-c++ (A must for SLES9, SLES10 as execvp gets shipped with gcc-c++).
- lib-gcc.
- glib, glibc, glibc-devel.
- kernel-headers (The version should exactly match the kernel version on which you are installing. `uname -r` reveals the current kernel vresion that is loaded).
- xine-td
Note: You can install all the above mentioned packages by using automated update managers that gets shipped with your Linux distro (For FedoraCore you can use yum, yast/yast2 on openSuSE, apt-get on Ubuntu flavours etc).
Step-2 (DOWNLOAD): Download the latest version of VMware-server from
http://www.vmware.com/download/server/. This post, as of now, explains on how to install and configure the product from an rpm. So download the binary(*.rpm) file. You will have to accept the EndUserLicenceAgreement and then proceed for the download. Copy the product key (if any) displayed.
Step-3 (INSTALLATION): Install the rpm downloaded by running the command
$> rpm -ivh VMware-server-<version>-<build-id>-i386.rpm (as root user)
gt; rpm -ivh VMware-server-<version>-<build-id>-i386.rpm (as root user)
Step-4 (VMWARE-UPDATES): Download the latest vmware-any-any-update
.tar.gz from http://knihovny.cvut.cz/ftp/pub/vmware/. Wondering what vmware-any-any-update is? Read this http://communities.vmware.com/thread/26693.
Do the following -
$> tar -zxvf vmware-any-any-update<xxx>.tar.gz
$> cd vmware-any-any-update<xxx>
$> ./runme.pl (Accept the prompts and proceed further) (as root user)
Step-5 (CONFIGURATION): Once thats done, proceed to run vmware-config.pl and configure your vmware installation to suit your needs. Thats it folks!!! Your vmware is all setup for your usage.
$> vmware (Have fun)
~m.a.v.e.r.i.c.k