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!):
Accept the license agreement by clicking on Yes:
Then download the VMware Server for Linux .tar.gz file (not the rpm file!) to your desktop (e.g. to /home/falko/Desktop):
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:
Then open a terminal (Applications > Accessories > Terminal):
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!):
Unpack the VMware Server .tar.gz file and run the installer:
tar xvfz VMware-server-*.tar.gz
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: 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: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make: 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
… 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:
Then do this:
tar -zxf vmware-any-any-update117c.tar.gz
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?
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:
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:
When you start it, select Local host:
Afterwards, you can create virtual machines (or import your virtual Windows machine that you created with VMware Converter):
- Debian: http://www.debian.org/
- VMware Server: http://www.vmware.com/download/server/