This tutorial provides step-by-step instructions on how to install VMware Server (version 1.0.6) on a Fedora 9 desktop system. 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 Fedora 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 want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
1 Preliminary Note
Prior to version 1.0.6, VMware Server needed to be patched in order to install/work properly on a Fedora 9 system because it did not support kernel 2.6.25 (see chapter 8.3.14 on http://www.Kreationnext.com/the-perfect-desktop-fedora9-gnome-p7). Starting with version 1.0.6 (released on May 29, 2008), this isn’t necessary anymore.
2 Installing Required Packages
Before we install VMware Server, we must install some prerequisites. To install them, open a terminal (Applications > System Tools > Terminal):
Now we have to find out our kernel version by running:
If you haven’t updated the system, your kernel most likely is 184.108.40.206-18.fc9. If this is the case, you can install the prerequisites like this:
yum install kernel-devel xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed
If you’ve updated the system, chances are that your kernel is 2.6.25-14.fc9.i686; at the time of this writing there was no kernel-devel package for this kernel in the Fedora repositories, therefore we must install it manually:
First we remove any existing kernel-devel package:
yum remove kernel-devel
Then we download and install the correct kernel-devel package for kernel 2.6.25-14.fc9.i686 like this (you can search on http://rpm.pbone.net/index.php3 to find the correct kernel-devel package for your kernel – interestingly I had to search for RedHat 9 packages instead of Fedora 9 to find the correct packages…):
rpm -ivh kernel-devel-2.6.25-14.fc9.i686.rpm
Finally we install the missing prerequisites:
yum install xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed
3 VMware Server
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 Fedora 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.
To download VMware Server, go to http://www.vmware.com/download/server/ and click on Download Now:
Accept the license agreement by clicking on Yes:
Then download the VMware Server for Linux .tar.gz file (not the .rpm file!), e.g. to /home/falko/Download:
To get the serial number 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:
To install VMware Server, open a terminal (Applications > System Tools > Terminal) and become root:
Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Download (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>.
When it 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/
You will now find VMware Server under Applications > System Tools > 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):
- Fedora: http://fedoraproject.org
- VMware Server: http://www.vmware.com/download/server