How To Install VMware Server 2 On A Fedora 14 Desktop (Kernel 2.6.35)

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 12/16/2010

This tutorial provides step-by-step instructions on how to install VMware Server 2 on a Fedora 14 desktop system (with kernel 2.6.35). 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

I'm using the user name falko with the home directory /home/falko here - please adjust this appropriately.

 

2 Disabling SELinux

Before we install VMware Server, we have to disable SELinux because otherwise you won't be able to connect to VMware Server later on.

Open a terminal (Applications > System Tools > Terminal)...

... and become root:

su

Open /etc/sysconfig/selinux and set SELINUX to disabled:

vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

Then reboot the system:

reboot

 

3 Installing VMware Server

After the system has rebooted, open a terminal and become root again:

su

Then install the prerequisites for VMware Server as follows:

yum install kernel-devel-`uname -r` xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed wget vim-enhanced

To download VMware Server, go to http://www.vmware.com/products/server/ and click on Download:

On the next page, log in with your existing VMware account or create a new one:

Follow the on-screen instructions. At the end, you should receive an email with a link to your download page. On the download page, you should see two license numbers, one for Windows and one for Linux. Write down or save the one for Linux and scroll down.

Then download the VMware Server for Linux .gz image (not the .rpm image!) for your architecture (32- or 64-bit) to your hard drive (e.g. to /home/falko/Downloads) - I used the Manually Download link instead of the Start Download Manager button:

Share this page:

13 Comment(s)

Add comment

Comments

From: at: 2010-12-24 09:37:54

An excellent post, as always. Thanks for keeping up to date.

From: Innocent ByStander at: 2010-12-23 21:15:16

Your linux skills is better than mine. I wonder why you got yourself burdened with the low tech VMWare Server. Have a look at Virtualbox it's much better and also easier to install.

From: bjr at: 2010-12-28 22:36:52

I gave up on VMware Server a long time ago, it's not worth the pain.  KVM is built into Fedora so it works out of the box. KVM is also faster than VMware server. For Windows VMs on KVM you should access them through rdesktop rather than the KVM console because rdesktop is much faster than the KVM console, but this isn't any sort of a limitation because rdesktop is included in Fedora also.


If you really need to run a VMware VM then you should use VMware Player rather than Server. Player is still being maintained by VMware, Server has been left to rot.

From: watshamm at: 2011-01-21 17:17:16

Just want to say that i'd almost given up hope in getting VMWare Server 2 on Fedora 14.


Thank you for an excellent post and stopping lobbing my screen out of the window.


Cheers!

From: Gustavo Ribeiro at: 2011-02-01 22:26:05

Hi falko,


Great tutorial, it helped me a lot.


 I would like to ask you if you have been experiencing glitches and bugs on VMware 2 webhost application (the web page)?


 In case yes, did you solve it?


 I`m currently using VMware 2 on Fedora 14, kernel 2.6.35.10-74.fc14.i686.


 Thanks!!

From: Anonymous at: 2011-02-20 01:37:25

Thanks a lot!!! It was very useful to get VMware Server 2 installed.

From: SuD at: 2011-03-30 10:06:49

 After installing everything and created a VM and rebooted, i could not manage vmware anymore.

I found this working workaround (you basically have to rename the libxml provided by vmware):

http://communities.vmware.com/message/1670144#1670144

From: Ramiro at: 2011-04-05 22:21:16

Excelent tutorial. Thanks a lot. Now my VMware 2 server for test is ready

From: davrom at: 2011-05-11 01:22:06

Found the error. If you run the script a second (subsequent time) without doing the complete tar extract again, it fails. Still fails to compile on vmnet though so have other issues. Looks like VirtualBox is the way to go with VMware Server end of life. Thanks for the posts guys.

From: davrom at: 2011-05-10 06:11:25

Will keep digging but comes up with extract errors:

 vsock-temp.tar tarball failed to extract in the directory vsock-temp-only. :(

From: Anonymous at: 2011-04-25 00:57:57

Thank you very much for this tutorial!!! This was the first of many tutorials that i've tried that didn't leave me hanging on one of the steps during the install. My Virtual server is up and working perfectly :-)

From: Zaher at: 2011-05-26 08:17:42

Hi..

Thanks for the toturial. I've followed all the steps and am still new in Fedora.. I am using F14 Kernel 2.6.35.13 64Bit and I got an error after this command sudo './vmware-server-2.0.x-kernel-2.6.3x-install.sh'

The error says "There is a problem compiling the vmnet module after it was patched. :("

 

Any Help please??!!

From: hitec at: 2011-06-12 17:14:12

Hi

The install script failed when testing compile:

============================

Testing patch...
Applying patch...
Preparing new tar file for vsock module
Preparing new tar file for vmmon module
Preparing new tar file for vmnet module
Preparing new tar file for vmci module
Checking that the compiling will succeed...
Trying to compile vmmon module to see if it works
Performing make in /home/admin/VMWare/VMServer/latest/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmmon-only
Using standalone build system.
./autoconf/geninclude.c:19:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
.././autoconf/geninclude.c:19:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
Dependencies for driver.c
.././include/driver-config.h:42:5: error: #error "No Module support in this kernel.  Please configure with CONFIG_MODULES"
make[1]: *** [driver.d] Error 1
make: *** [deps] Error 2
There is a problem compiling the vmmon module after it was patched. :(
 =====================================

uname -r produces:

2.6.35.13-92.fc14.i686.PAE

Also

the /usr/src/linux directory does not exist on my system.

Any idea on how to fix?

thanks