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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2010-12-19 18:26. ::

Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Downloads (replace falko with your own username!):

cd /home/falko/Downloads

Take a look at the contents of the directory:

ls -l

falko@falko-virtual-machine:~/Downloads$ ls -l
total 463304
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
falko@falko-virtual-machine:~/Downloads$

Because the original VMware installer doesn't work for kernel 2.6.35, we have to download a script from http://radu.cotescu.com/how-to-install-vmware-server-ubuntu-fedora-opensuse/ that helps us to install VMware Server 2:

wget --no-check-certificate http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh

Take a look at the directory again:

ls -l

You should now see a vmware-server-2.0.x-kernel-2.6.3x-install.sh file (which in fact is no shell script, but a .tar.gz file - despite the .sh extension):

falko@falko-virtual-machine:~/Downloads$ ls -l
total 463316
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rw-r--r-- 1 falko falko      8696 2010-12-17 13:48 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads$

Unpack that file:

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

This should create a raducotescu-vmware-server-linux-* directory:

ls -l

falko@falko-virtual-machine:~/Downloads$ ls -l
total 463320
drwxr-xr-x 2 falko falko      4096 2010-11-14 22:24 raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rw-r--r-- 1 falko falko      8696 2010-12-17 13:48 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads$

Move the VMware-server-* file to that directory and change to that directory:

mv VMware-server-2.0.2-203138.x86_64.tar.gz raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/
cd raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66

Take a look at its contents:

ls -l

falko@falko-virtual-machine:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$ ls -l
total 463348
-rw-r--r-- 1 falko falko      1321 2010-11-14 22:24 LICENSE
-rw-r--r-- 1 falko falko      1980 2010-11-14 22:24 README
-rwxr-xr-x 1 falko falko       702 2010-11-14 22:24 start-VMware-console.sh
-rw-r--r-- 1 falko falko      1111 2010-11-14 22:24 vmware-config.patch
-rw-r--r-- 1 falko falko     13618 2010-11-14 22:24 vmware-server-2.0.2-203138-update.patch
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rwxr-xr-x 1 falko falko     11095 2010-11-14 22:24 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$

The vmware-server-2.0.x-kernel-2.6.3x-install.sh script is the script that we need to execute (with root permissions) to install VMware Server 2 - it scans the current directory for the VMware-server-*.tar.gz file:

sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh

The installer will ask you a lot of questions. You can always accept the default values simply by hitting <ENTER>, except for the following two questions:

The current administrative user for VMware Server is ''. Would you like to
specify a different administrator? [no]
<-- yes

Please specify the user whom you wish to be the VMware Server administrator
<-- falko (use the user name of the account that you used to log into the desktop)

When the installer 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/Downloads
rm -fr raducotescu-vmware-server-linux-2.6.3x-kernel-*
rm -f vmware-server-2.0.x-kernel-2.6.3x-install.sh

VMware Server 2 does not have a desktop application for managing virtual machines - this is now done through a browser (e.g. Firefox). You can access the management interface over HTTPS (https://<IP ADDRESS>:8333) or HTTP (http://<IP ADDRESS>:8222); the management interface can be accessed locally and also remotely. If you want to access it from the same machine, type https://127.0.0.1:8333 or http://127.0.0.1:8222 into the browser's address bar.

The https interface (https://127.0.0.1:8333) did not load for me, so I used http://127.0.0.1:8222 instead.

You will see the VMware Server login form. Type in the VMware Server administrator username (the one you specified during the VMware installation) and the password of that user (it is the same that you use to log into the desktop):

This is how the VMware Server web interface looks. The structure is similar to the old VMware Server 1 desktop application, so the usage of the web interface is pretty straightforward.

 

3 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 Anonymous (not registered) on Thu, 2011-05-19 22:07.
Falko, Thank you so much. I will definitely become an active member.
Submitted by Anonymous (not registered) on Wed, 2011-04-06 15:40.
Genius! Thanks for the script!
Submitted by Wasim (not registered) on Tue, 2011-04-05 23:12.

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

Submitted by themoon49 (not registered) on Sat, 2011-03-26 17:48.
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.

Submitted by mitpatterson (not registered) on Sat, 2011-03-05 18:28.
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"
Submitted by JM (not registered) on Wed, 2011-02-09 14:18.

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"

Submitted by Anonymous (not registered) on Tue, 2011-02-08 05:23.
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!
Submitted by alagiboy (not registered) on Sat, 2011-01-15 04:21.
this tutorial is awsome, i just follow the instructions and installed vmware successfully on my ubuntu machine withouth having any troubles
Submitted by sl_ltd (not registered) on Wed, 2011-01-12 12:44.

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.
Submitted by themoon49 (not registered) on Wed, 2011-05-18 02:29.

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

Submitted by trojanworrier (registered user) on Mon, 2011-05-30 23:41.

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

Submitted by Anonymous (not registered) on Wed, 2011-05-25 16:15.

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,

Submitted by Anonymous (not registered) on Thu, 2011-06-02 01:34.

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?

Submitted by Joe (not registered) on Tue, 2011-06-07 17:12.

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

Submitted by Anonymous (not registered) on Sun, 2011-06-12 22:04.

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

 

Submitted by Nandana (not registered) on Mon, 2011-07-18 15:31.

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/

Submitted by Andreas (not registered) on Tue, 2010-12-28 14:33.
How do i uninstall vmware. After install vmware my system does not shut down. It hangs up while shut down process.