Installing VMWare Server 2 in Ubuntu

Ok, so here is a quick reference to installing VMWare Server 2 in Ubuntu. I used 8.04 at the time, but upgraded to 8.10 and the same methods still apply. If you already have VMWare Server installed, follow the instructions at the end first, then proceed with the install.
  1. Download the VMWare Server TAR file to the desktop. Make sure you copy the serial from the website as well.
  2. Once the download has finished, open up konsole, and enter the following commands.
  • uname -r (Copy the output of this command and paste it where it says *paste* in the next line)
  • sudo apt-get install linux-headers-*paste* build-essential xinetd
  • cd Desktop
  • tar xvzf VMware-server-*.tar.gz
  • cd vmware-server-distrib
  • sudo vmware-install.pl
Keep all the defaults, pressing enter at the prompts. It will continue to install then ask you if you would like to run vmware-config.pl. Press Enter, then once again, leave all the defaults.

*NOTE: It did ask me if I wanted to use a C Compiler, I selected yes (default) and then it found that GCC was a newer version than that which my kernel was compiled with. Here it asks if I want to continue and it is defaulted to 'no'. Just type in 'yes' and be on your way. It might ask this a few times.

Keep chugging along, but pay attention to what you are pressing enter to at this point. You may want to change some directories or options. Once it comes to the part where you enter your serial, make sure you enter the letters in CAPS.

That's pretty much it. Navigate to https://localhost:8333 and log in with the specified user. You may need to add a security exception in Firefox.

*UPDATE* When I upgraded from 8.04 to 8.10, I could not access the web gui. I restarted the vmware service via "/etc/init.d/vmware restart" and it told me I needed to run vmware-config.pl again. I ran vmware-config.pl and went through all prompts and it's back up and running just fine.

TO UNINSTALL and REINSTALL, this is what I did:
Either run sudo vmware-uninstall.pl
or
Log in as root...
  • su
  • rm -R /etc/vmware
  • rm -R /usr/lib/vmware
  • exit
Then continue with the install.

Hope this helps. Let me know if you find something different. A more detailed guide can be found here.

0 comments: