Installing VMWare Server on Ubuntu 8.04

Today I needed to setup a couple of virtual machines for a client and realized that I had removed my installation of VMware Server.  Off I went to the VMware download page and what did I find?  A day-old release of VMware Server 1.0.6!  I figured you’d all appreciate an updated blog post on how to install VMware Server 1.0.6 on Ubuntu 8.04, so here we are.

Downloading the Requirements

The first step, of course, is to download VMware Server 1.0.6. You’ll want to download the .tar.gz version.  This command can be used for a direct download:

wget -c http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz

The second step is to install some development tools that we’ll need to get things running. Use the following command or click the package names to install the requirements:

sudo aptitude install build-essential linux-kernel-devel linux-headers-generic xinetd

You will also need to generate a serial number to run VMware Server. Visit this link to register and generate the number of codes you might want. Remember to print the codes or write them down because in my experience they are not emailed to you.

OK, at this point we should have all of the requirements, now we can get to work…

Installation and Configuration

Let’s unpack the VMware archive that we downloaded and run the VMware installer.

tar xf VMware-server-1.0.6-*.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

The Last Step

If you attempt to run vmware at this point you might notice that it spits out some nasty errors and complains at you. There is one more thing we need to setup.

Basically VMware is missing and complaining about some cairo libraries and gcc. So, the simple fix for this is to point to them by using a symbolic link:

sudo ln -sf /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /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

At this point you should be able to launch vmware and enjoy some virtualization.

Enjoy!

More

5 Responses to “Installing VMWare Server on Ubuntu 8.04”

  1. Bongiovanni Michael Says:

    Hi

    I made like your Manuel here.
    But i ever the same old Problem with….

    Can you help?

    Regards
    Michael
    ______________________________________________

    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 => (0xb7f13000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ee8000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ee4000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ecb000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7de4000)
    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 (0xb7dce000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c7f000)
    /lib/ld-linux.so.2 (0xb7f14000)
    libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7c7c000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7c64000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c61000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c5c000)

    This program cannot tell for sure, but you may need to upgrade libc5 to glibc
    before you can run VMware Server.

    ________________________________________________________
    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] root@xxx
    __________________________________________________________

    Strange?

  2. skinnyhate Says:

    i am getting the same error message regarding the missing lib files… have you found a fix?

  3. Puneet11 Says:

    Not Yet Buddy !!

  4. thefox Says:

    If you are using 64-bit architecture, installing package ia32-libs might help (it helped me in Debian Etch) with the missing libraries problem.

  5. Turing Says:

    Worked like a charm, thanks for the guide.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: