How To Install VMware Server (Version 1.0.6) On A Fedora 9 Desktop

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Mon, 2008-06-02 16:13. :: Fedora | VMware | Desktop | Virtualization

How To Install VMware Server (Version 1.0.6) On A Fedora 9 Desktop

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 06/02/2008

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.howtoforge.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.howtoforge.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):

Become root:

su

Now we have to find out our kernel version by running:

uname -r

2.6.25.3-18.fc9:

If you haven't updated the system, your kernel most likely is 2.6.25.3-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

2.6.25-14.fc9.i686:

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...):

wget ftp://ftp.uni-bayreuth.de/pub/redhat.com/fedora/linux/releases/9/Everything/i386/os/Packages/kernel-devel-2.6.25-14.fc9.i686.rpm
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.howtoforge.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:

su

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!):

cd /home/falko/Download

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

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

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?
[/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/Download
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):

 

4 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Keith Langett (not registered) on Sun, 2009-02-15 04:05.

Thanks for the free information. it was clear, and well laid out. The screen shots were also an added help. Free help and free software is what these communities are what it is all about.

Thanks,

Keith Langett

Submitted by Aaron (not registered) on Sat, 2008-09-27 22:15.

After getting a successful install I looked under Applications > System Tool for VMware Server Console, but it's not there.  Any clues to why and what I should do to fix it?

Submitted by Anonymous (not registered) on Fri, 2008-11-21 09:46.
I have the same problem...
Submitted by admin (registered user) on Fri, 2008-11-21 10:54.

I guess you've installed VMware Server 2 instead of VMware Server 1 (this tutorial is about VMware Server 1).

VMware Server 2 does not come as a desktop application, it's web-based instead. Please take a look at this tutorial: How To Install VMware Server 2 On A Fedora 9 Desktop

Submitted by Anonymous (not registered) on Thu, 2008-10-16 21:16.

Yap, mine too. :\

 Anyone knows where can we start it?

Submitted by bhorton (registered user) on Sat, 2008-07-12 00:43.
I used this post as a guide to install VMware Server 1.0.6 on Fedora 9 using the PAE kernel 2.6.25.9-76.fc9.i686.PAE.  No problems, imported utility Win2K virtual machine from a VMware Desktop system and was off and running.
Submitted by rhwood (registered user) on Wed, 2008-06-18 14:25.

I had no problem using the VMWare server RPM on Fedora 9 (kernel 2.6.25.6-55.fc9.i686). After installing the RPM, I ran /usr/bin/vmware-config.pl without issue.

Is there a specific reason you recommended not using the RPM?

Submitted by o.meyer (registered user) on Thu, 2008-06-19 12:52.

Of course you can use the RPM.

Best regards,

Olli