Xanda's Blog !~!

Installing VMWare Server 1.0.8 on Ubuntu 8.04.1 & 8.0.4.2 (Hardy)

Jan
21

[updated on 12/6/2009]

Need to rush, here is my short update

1) Install the dependencies and prepare environment

sudo apt-get install ia32-libs libc6-i386 build-essential xinetd linux-headers-`uname -r`
sudo mkdir /etc/vmware && sudo mkdir /etc/vmware/ssl && sudo touch /etc/vmware/ssl/rui.key && sudo touch /etc/vmware/ssl/rui.crt

2) Download VMware Server 1.0.8

cd ~/Desktop
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.8-126538.tar.gz

3) Extract the downloaded (tar.gz) file

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib

4) Get the serial number

http://register.vmware.com/content/registration.html

5) Run the installer script

sudo ./vmware-install.pl

6) What ever prompted by the installer, just simply press Enter. Owh ya, once the installer request for serial number, enter the serial number that you get from step 4.

7) Something wrong with the installed libgcc, so remove it and symlink the libgcc back

sudo mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1-vmware
sudo ln -s /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1

8 ) Now run your VMWare Server. Taddaaa!~

9) Lets clean things up

rm -f VMware-server*
rm -dfr vmware-server-distrib/

Thanks

**[updated on 3rd February 2009]**

If you found this error (OR something similar) :-

The correct version of one or more libraries needed to run VMware Server may be
missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f5a000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f57000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f45000)
        libX11.so.6 => not found
        libXtst.so.6 => not found
        libXext.so.6 => not found
        libXt.so.6 => not found
        libICE.so.6 => not found
        libSM.so.6 => not found
        libXrender.so.1 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f2f000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e00000)
        /lib/ld-linux.so.2 (0xb7f83000)
 
This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Server.

Simply install the following package

sudo apt-get install libx11-6 libxtst6 libxext6 libsm6 libxrender1 libxt6