After updating my trusty old server to Ubuntu Lucid Lynx 10.04 the installation of VMware Server 2.0.1 started giving problems. Resinstalling VMware didn’t help as I was repeatedly getting compilation problems in vmmon and vmnet modules. Luckily I stumbled across the following process from one of the VMware forum pages which pointed to a great work-around from the radu cotescu site.
So I take no credit for this but simply repeat it here so that the search gods may recognise it’s usefulness and +1 it’s importance.
Start by downloading VMware Server 2.0.2 from the official VMware site. If you haven’t already got a few licenses, get one now. (They’re free so you might as well get a few) I’m going to assume the downloaded file is in your home directory.
You also need to update the header files for your current kernel so that the configuration scripts from VMware can build the appropriate modules.
sudo apt-get install linux-headers-`uname -r` build-essential
Now just run the following commands.
cd /usr/local/src sudo wget [http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh] sudo tar xvzf raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz cd raducotescu-vmware-server-linux-2.6.3x-kernel-592e882/ sudo cp /home/<your_username>/
sudo tar xvzf VMware-server-2.0.2-203138.i386.tar.gz sudo chmod +x vmware-server-2.0.x-kernel-2.6.3x-install.sh ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
If you have a previous installation of VMware Server, you’ll be prompted that it’ll be removed as part of the install. Don’t worry, any guest VMs you had should still be there afterwards. The script will run through the usual prompts and you’ll see references to the patched files from Radu Cotescu. After a few minutes you should have a working install of VMware Server 2.0.2 on your Ubuntu 10.04 server.