How To Install VMware Server 2 On Ubuntu 10.10 (Kernel 2.6.35)

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

This tutorial provides step-by-step instructions on how to install VMware Server 2 on an Ubuntu 10.10 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 Ubuntu 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 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 Ubuntu 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/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 2 for Linux .gz image (not the .rpm image!) to your computer (e.g. to /home/falko/Downloads) - I used the Manually Download link instead of the Start Download Manager button. Make sure you pick the right one for your architecture (32-bit or 64-bit):

Then open a terminal (Applications > Accessories > Terminal) and run the following command to install some necessary packages:

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

Share this page:

18 Comment(s)

Add comment

Comments

From: juanandrespbmd at: 2011-02-23 04:25:22

Excellent tutorial.


It was useful for me.


 


Thank you.

From: Andreas at: 2010-12-28 13:33:05

How do i uninstall vmware. After install vmware my system does not shut down. It hangs up while shut down process.

From: sl_ltd at: 2011-01-12 11:44:40

Hi ... I am a newbie and was trying to install vmware on my Ubuntu 10.10. I made a silly error when running sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh,by trying to copy the network details (addresses) it was churning out. 


Unfortunately, I hit ctrl+C to copy and exited out of the installer after configuring the 'host-only network for vmnet1'.


I tried re-running the install.sh, but received the following error:



You do have the linux-headers-2.6.35-24-generic-pae package...


You do have the build-essential package...


You do have the patch package...


find: `/home/sl_ltd/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/vmware-server-distrib/lib/modules/source': No such file or directory


.tar files from /home/shalin/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/vmware-server-distrib/lib/modules/source appear to be missing!


Cannot continue process. :(


I tried all the steps again (from updating the repository? i.e. 'sudo apt-get install linux-headers-`uname -r` build-essential xinetd') to unpacking and copying the files, but still am getting the same error.

 

The installer made directories in my /lib and /usr/bin folders, and my guess is the file its looking for must be in there somewhere. Can someone please tell me how to go around this? Or even how to make a clean install, as I'd be prepared to do so.

 

 Thanks and sorry for the inconvenience.

From: alagiboy at: 2011-01-15 03:21:11

this tutorial is awsome, i just follow the instructions and installed vmware successfully on my ubuntu machine withouth having any troubles

From: JM at: 2011-02-09 13:18:03

step 6 looks wrong


|"Unpack that file:


tar xvfz vmware-server-2.0.x-kernel-2.6.3x-install.sh"


| *.sh isnt a tarball u have to unpack "VMware-server-2.0.2-203138.x86_64.tar.gz"

From: Anonymous at: 2011-02-08 04:23:11

I don't often post for things of this nature, but your tutorial was so straight forward and completely easy to you that I wanted to recognize your efforts.  Thanks, this makes my transition from Windows so much easier!

From: mitpatterson at: 2011-03-05 17:28:52

The link to the script(the one from radu.cotescu.com) on page 2 does not seems to be valid any more, anyone have a copy of it to share? Even going to the website linked to, and then finding the link to the script doesn't work, the output of the terminal is "Error 502: Bad Gateway"

From: themoon49 at: 2011-03-26 16:48:07

this install will first uninstall this product.  Do you wish to continue?
(yes/no) [yes] yes

Error: Unable to execute "/usr/bin/vmware-uninstall.pl.

Uninstall failed.  Please correct the failure and re run the install.

Execution aborted.

From: Anonymous at: 2011-04-06 14:40:17

Genius! Thanks for the script!

From: Wasim at: 2011-04-05 22:12:11

Hi

Thanks for the valuable post...it didnt go to plan first time round...i ended up copying some of the files over manually using the "Explorer".

Then it all installed ok. Now to find out how to access my Win 7 partition so that i can run those programs in VMWare in Linux...any ideas??

Thanks in Advance

Wasim

From: themoon49 at: 2011-05-18 01:29:11

sudo ./vmware.server.x......  happened this erros

make[2]: *** [/home/aungkyawaye/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
make[1]: *** [_module_/home/aungkyawaye/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. :(

Help me please and reply to (themoon49@gmail.com) :) thankss

From: Anonymous at: 2011-05-19 21:07:30

Falko, Thank you so much. I will definitely become an active member.

From: Anonymous at: 2011-05-25 15:15:10

Hi,

I have the same error :

make[2]: *** [/usr/src/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Erreur 1
make[1]: *** [_module_/usr/src/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only] Erreur 2
make: *** [vmnet.ko] Erreur 2
There is a problem compiling the vmnet module after it was patched

Please how to fix it ?

Regards,

From: at: 2011-05-30 22:41:43

i get the same error:

 

You have VMware Server archive:
    VMware-server-2.0.2-203138.i386.tar.gz
Checking for needed packages on Ubuntu
You do have the linux-headers-2.6.35-28-generic package...
You do have the build-essential package...
You do have the patch package...
Found .tar file for vmci module
Found .tar file for vmmon-temp module
Found .tar file for vmnet-temp module
Found .tar file for vmmon module
Found .tar file for vsock module
Found .tar file for vmci-temp module
Found .tar file for vsock-temp module
Found .tar file for vmnet module
Extracting .tar files in order to apply the patch...
Untarring /home/arthor/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci.tar
Untarring /home/arthor/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmmon-temp.tar
vmmon-temp.tar tarball failed to extract in the directory vmmon-temp-only. :(

 

please advise how to fix it. my email is hotandspicy09@gmail.com

From: Anonymous at: 2011-06-02 00:34:29

I am Getting the same error -


/home/jayelliott/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: âfilterIoctlSemâ undeclared (first use in this function)
/home/jayelliott/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: (Each undeclared identifier is reported only once
/home/jayelliott/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: for each function it appears in.)
make[2]: *** [/home/jayelliott/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
make[1]: *** [_module_/home/jayelliott/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. :(

Has anyone got a solution?

From: Joe at: 2011-06-07 16:12:53

I get the same error.

I need to get this running for our programmers here. Anyone have an idea how to fix this?

make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. :(

?
Detect language » English

?
Detect language » English

From: Anonymous at: 2011-06-12 21:04:33

Yes - same issue.  :-(

 Any hints to get around this?

 only/filter.c:1089: error: for each function it appears in.)
make[2]: *** [/home/fpani0/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
make[1]: *** [_module_/home/fpani0/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. :(

 

I am on Ubuntu 10.10  - the Maverick Meerkat

 

From: Nandana at: 2011-07-18 14:31:59

I was having the same issue and was able to solve it using the patch provided by Radu Cotescu. I am on Ubuntu 10.10 with kernal version 2.6.35-22 and with the patch (version 1.5.0) from the following link, I was able to install VMware-server-2.0.2 without any issues.

http://radu.cotescu.com/how-to-install-vmware-server-ubuntu-fedora-opensuse/