Share this post
FaceBook  Twitter  

This article guides you step-by-step though installation process of VMware-server-2.0.2 on Debian Squeeze Linux. Here we assume that reader has already obtained VMware-server-2.0.2-<minor version>.i386.tar.gz installation pack along with a serial number provided upon the user registration on VMware website. If you still have some questions after reading this article please try our new LinuxCareer Forum.

System specs:

  • Linux debian 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux
  • installation package ~/VMware-server-2.0.2-203138.i386.tar.gz

1. Prerequisites installation

apt-get install linux-headers-`uname -r` \
 build-essential bzip2 gcc-4.3

2. VMware-server-2.0.2 install

In this step we will install vmware-server-2.0.2. This installation process does not include the actual compilation of vmware-modules.

Extract VMware-server-2.0.2 installation package:

# cd
# tar xvzf VMware-server-2.0.2-203138.i386.tar.gz

Enter the root directory of VMware-server-2.0.2 installation package and start installation. During the interaction with vmware installer change a default setting where appropriate.

NOTE: DO NOT start ! If the question asks:

Before running VMware Server for the first time, you need to configure it by 
invoking the following command: "/usr/bin/". Do you want this:
# cd vmware-server-distrib/
# ./

3. Patching vmware-server-2.0.2

At this point we need to patch file as well as vmware modules. First download and decompress patch provided by: Radu Cotescu:

# cd
# wget
# tar xjf 2.6.3x-vmware-patch.tar.bz2

Apply patch:

First apply patch to vmware-config:

# cd /usr/bin/
# patch -p3 < ~/2.6.3x-vmware-patch/config.patch

Apply patch to all modules:

# cd /usr/lib/vmware/modules/source
# for f in *.tar ; do tar pxf $f ; done
# patch -p4 < ~/2.6.3x-vmware-patch/203138-update.patch
patching file vmci-only/include/pgtbl.h
patching file vmnet-only/vnetUserListener.c
patching file vmci-only/Makefile
patching file vmmon-only/common/vmx86.c
patching file vmmon-only/include/compat_cred.h
patching file vmmon-only/include/x86svm.h
patching file vmmon-only/linux/driver.c
patching file vmmon-only/linux/hostif.c
patching file vmmon-only/Makefile
patching file vmnet-only/Makefile
patching file vmnet-only/netif.c
patching file vsock-only/Makefile
# for f in vmci vmmon vmnet vsock ; do tar pcf $f.tar $f-only ; done
# rm -fr *-only

4. Set correct gcc version

The kernel on Debian squeeze was compiled with gcc 4.3 and this is the version of gcc we want to use. By default gcc is set to gcc version 4.4:

# ls -l `which gcc`
lrwxrwxrwx 1 root root 7 Mar 20 11:15 /usr/bin/gcc -> gcc-4.4 

Therefore, we need to change gcc compiler to match our kernel compiler version. The easiest way is to set CC environmental variable to point to gcc v4.3.

The second option is to create a new symlink ( when you finish do not forget to put everything where it belongs ) :

# ln -fs /usr/bin/gcc-4.3 /usr/bin/gcc
# ls -l `which gcc`
lrwxrwxrwx 1 root root 16 Mar 20 12:09 /usr/bin/gcc -> /usr/bin/gcc-4.3

5. Configure vmware-server-2.0.2

We are almost done. At this stage we need to configure vmware-server. Follow and change default values where appropriate. Start configuration with:


After successful build you should see:


--the VMware team

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family:                           done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                   done
   Host-only networking on /dev/vmnet1 (background)                    done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet8 (background)                    done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   VMware Server Authentication Daemon (background)                    done
   Shared Memory Available                                             done
Starting VMware management services:
   VMware Server Host Agent (background)                               done
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                                    done

The configuration of VMware Server 2.0.2 build-203138 for Linux for this 
running kernel completed successfully.

6. VMware Server interface

At this point you should have vmware-server-2.0.2 successfully installed on your system. Manage vmware-server-2.0.2 by openning your browser and navigating to:

7. Troubleshooting

Unable to locate killall command:

What is the location of the  "killall" program
on your machine? 


Who are we? is not affiliated with any local or international company, nor is it a recruitment or employment agency. We specialise in Linux based careers and closely related Information Technology fields by providing careers advice and latest employment opportunities.


You can also get involved in the LinuxCareer project by participating on our FORUM or SUBMITTING A LINUX ARTICLE. We offer a range of privileges to our authors and good company.