From:
http://ubuntuforums.org/showthread.php?t=770873
Installing VMWare Server in Hardy
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.5-80187.tar.gz
then do the install
Code:
cd vmware-server-distrib
sudo ./vmware-install.pl
Answer the questions, the defaults are fine. Eventually it will start compiling and fail.
grab the any to any patch 116 from
http://uruz.org/files/vmware-any-any-update-116.tgz
Code:
wget http://uruz.org/files/vmware-any-any-update-116.tgz
tar -xvzf vmware-any-any-update-116.tgz
cd vmware-any-any-update116
sudo ./runme.pl
Finally you can configure vmware server (note this usually will be run automatically at the end of the any-any patch, no need to run it twice)
Code:
sudo vmware-config.pl
answer all the questions and it should compile fine.
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.)
For 64 bit users there is one additional step in order to allow vmware console to launch:
Code:
sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9
the solution came from https://bugs.launchpad.net/ubuntu/+s...bs/+bug/177869 however I had to change libgdk_pixbuf-2.0.so.0.1200.3 to libgdk_pixbuf-2.0.so.0.1200.9.
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
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.
Let us know how you are doing.
Bookmarks