This is a cleaned up copy of the instructions for installing the VMWare Server from tar.gz found at http://ubuntuforums.org/showthread.php?t=613976 with a correction thanks to forrestallen. Since the Hardy Beta forums are now locked I thought it might be best to make a copy here to allow further discussion if needed.
First install the packages needed by vmware.
Code:
sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install xinetd
for 64bit installs also install the ia32-libs
Code:
sudo apt-get install ia32-libs
Additionally I recommend installing the linux-header metapackage appropriate to your kernel. "sudo apt-get install linux-headers-generic" for desktops in the standard kernel and "sudo apt-get install linux-headers-server" for server installs. This makes it easier down the road, automatically pulling down the headers if the kernel gets updated.
next download vmware server and expand it out somewhere
Code:
tar -xvzf VMware-server-1.0.6-91891.tar.gz
then do the install
Code:
cd vmware-server-distrib
sudo ./vmware-install.pl
Answer the questions, the defaults are fine, though you may want to customize the network config.
once installed I received an error trying to launch vmware so I cheated and copied the libraries over, which seems to have resolved that issue.
Code:
sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0
(I found this tip online as well but now I can not find the link.)
if you get an error like this at the end of the compile step:
Code:
Unable to get the last modification timestamp of the destination file
/etc/vmware/ssl/rui.key.
then create the key and cert files for vmware. (I think, though I am not certain, this came up because I had not yet installed the ia32-libs on my 64-bit machine prior to doing the initial install.)
Code:
sudo touch /etc/vmware/ssl/rui.key
sudo touch /etc/vmware/ssl/rui.crt
If you want to install on a Hardy server without X you will still need to install a few X libraries in order for the install to work:
Code:
sudo apt-get install libx11-6 linxtst6 libxt6 libxrender1
Also note that I had a number of issues on one upgraded machine where I was using the partner repositories debs prior to the upgrade. I would recommend backing up your VMs and then removing the VMWare install completely prior to upgrading.
EDIT 28 Apr 2008: Removed the rewriting of the libgtk2.0-0.loaders file since the incorrect lines were corrected around Hardy final.
EDIT: 30 May 2008: Update instructions to VMWare Server 1.0.6. 10.06 does not require the any-any patch so I highly recommend it.