Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

How To Install VMware Server 1.0.x On A Debian Lenny Desktop


This tutorial provides step-by-step instructions on how to install VMware Server 1.0.x (1.0.8 at the time of this writing) on a Debian Lenny desktop system. This is for those who prefer VMware Server 1.0.x over VMware Server 2.

With VMware Server you can create and run guest operating systems (“virtual machines”) such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free).

Also, with VMware Server you can let your old Windows desktop (that you previously converted into a VMware virtual machine with VMware Converter, as described in this tutorial: http://www.Kreationnext.com/vmware_converter_windows_linux) run under your Debian desktop. This can be useful if you depend on some applications that exist for Windows only, or if you want to switch to Linux slowly.

I do not issue any guarantee that this will work for you!

 

Installing VMware Server 1.0.x

To download VMware Server, go to http://www.vmware.com/download/server/ and click on the Download link of the latest release of the VMware Server 1.0.x series (not VMware Server 2!):

1

Accept the license agreement by clicking on Yes:

2

Then download the VMware Server for Linux .tar.gz file (not the rpm file!) to your desktop (e.g. to /home/falko/Desktop):

3

4

5

To get the serial number that you need to run VMware Server, go to http://register.vmware.com/content/registration.html. Fill in your personal details. Afterwards you will get a page with a serial number for VMware Server. Write it down or print it out:

6

7

Then open a terminal (Applications > Accessories > Terminal):

8

Become root:

su

Run the following command to install some necessary packages:

apt-get install linux-headers-`uname -r` build-essential xinetd gcc-4.1

The Debian Lenny kernel was built using gcc 4.1, however we now have gcc 4.3 installed. The VMware installer will complain about this and fail, unless we make /usr/bin/gcc a symlink to /usr/bin/gcc-4.1:

ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc

Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Desktop (replace falko with your own username!):

cd /home/falko/Desktop

Unpack the VMware Server .tar.gz file and run the installer:

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib
./vmware-install.pl

The installer will ask you a lot of questions. You can always accept the default values simply by hitting <ENTER>. If the installation fails with an error like this…

make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686′
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
/tmp/vmware-config2/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config2/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config2/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686′
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only’
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
“http://www.vmware.com/support/reference/linux

/prebuilt_modules_linux.html”.

Execution aborted.

debian:/home/falko/Desktop/vmware-server-distrib#

… go to http://vmkernelnewbies.googlegroups.com/web/vmware-any-any-update117c.tar.gz in a browser, click on the download link and save the file vmware-any-any-update117c.tar.gz on your desktop:

9

Then do this:

cd /home/falko/Desktop
tar -zxf vmware-any-any-update117c.tar.gz
cd vmware-any-any-update117c
./runme.pl

This will patch the VMware installer and continue the installation. Again, you can accept the default values simply by hitting <ENTER>.

When the installer asks you

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

you can either accept the default value or specify a location that has enough free space to store your virtual machines.

At the end of the installation, you will be asked to enter a serial number:

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel:

Fill in your serial number for VMware Server.

After the successful installation, you can delete the VMware Server download file and the installation directory:

cd /home/falko/Desktop
rm -f VMware-server*
rm -fr vmware-server-distrib/
rm -fr vmware-any-any-update117c*

You will now find VMware Server under Applications > Other > VMware Server Console:

10

When you start it, select Local host:

11

Afterwards, you can create virtual machines (or import your virtual Windows machine that you created with VMware Converter):

12

 

  • Debian: http://www.debian.org/
  • VMware Server: http://www.vmware.com/download/server/

 

Comments

comments