Sie sind auf Seite 1von 25

How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.

04

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.


Submitted by falko (Contact Author) (Forums) on Fri, 2009-05-22 16:00. :: Ubuntu | Virtualization

Free White Papers 20


Simplify Scheduling through Consolidation tweets How To Install VMware Server 2 On Ubuntu 9.04
and Automation retweet Version 1.0
With 50+ percent of all business processes
leveraging batch operations, it is... Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 04/29/2009
Nutra-Flo drives global business with robust
collaboration platform This tutorial provides step-by-step instructions on how to install VMware Server 2 on an Ubuntu 9.04 desktop
It's no secret that we are what we eat-but what
system. With VMware Server you can create and run guest operating systems ("virtual machines") such as
about our crops and livestock...
Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple
Master Data Management: Extracting Value
from Your Most Important Intangible ... operating systems on the same hardware which saves a lot of money, and you can move virtual machines
This SAP Insight explores the importance of from one VMware Server to the next one (or to a system that has the VMware Player which is also free).
master data and the barriers to a...
Also, with VMware Server you can let your old Windows desktop (that you previously converted into a
More White Papers 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:

6 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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

7 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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.

8 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

9 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Then download the VMware Server for Linux TAR image (not the RPM image!) to your desktop (e.g. to /home/falko/Desktop). Make sure you pick the right
one for your architecture (32-bit or 64-bit):

10 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

11 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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

sudo aptitude install linux-headers-`uname -r` build-essential xinetd

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

cd /home/falko/Desktop

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

tar xvfz VMware-server-*.tar.gz


cd vmware-server-distrib

12 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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 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/Desktop
rm -f VMware-server*
rm -fr vmware-server-distrib/

If you have accepted all default values during the installation, root is now the VMware Server login name. On Ubuntu, root has no password by default,
therefore we create a password now:

sudo passwd root

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.

If you're using Firefox 3 and use HTTPS, Firefox will complain about the self-signed certificate, therefore you must tell Firefox to accept the certificate - to do
this, click on the Or you can add an exception... link:

13 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Click on Add Exception...:

14 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

The Add Security Exception window opens. In that window, click on the Get Certificate button first and then on the Confirm Security Exception
button:

15 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Afterwards, you will see the VMware Server login form. Type in root and the password you've just created:

16 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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.

17 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

3 Links
Ubuntu: http://www.ubuntu.com/
VMware Server: http://www.vmware.com/products/server/

Copyright © 2009 Falko Timme


All Rights Reserved.

add comment | view as pdf | print |

18 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

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.

Delete install directory?


Submitted by martinfst (registered user) on Sun, 2009-10-18 09:52.

I would not delete the installation directory. If you get a kernel upgrade in the (near) future, you may have to recompile some of the modules. Having the install directory still
available will save a lot of time.

Martin

reply | view as pdf

Nice job
Submitted by Steen (not registered) on Fri, 2009-10-16 23:37.

Hi.

The guide work perfectly for me.


Thank You.

Steen

reply | view as pdf

awesome
Submitted by bobby (not registered) on Wed, 2009-10-07 03:28.

This tutorial was awesome. Thank you. I have never done a tutorial that had all of the steps even the annoying ones like firefox and certificate..

Thank you so much. It was perfect!

reply | view as pdf

19 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Problems with installing VMWare Sever on a vServer


Submitted by Anonymous (not registered) on Tue, 2009-09-08 11:13.

Hello!

When i try to install the VMWare Server, i always get the following error message:

~/vmware-server-distrib# ./vmware-install.pl
WARNING: Couldn't open directory /lib/modules/2.6.18-028stab064.4: No such file or directory
FATAL: Could not open /lib/modules/2.6.18-028stab064.4/modules.dep.temp for writing: No such file or directory
Unable to open kernel module dependency file
.Execution aborted.

Can anybody help me with this problem?

The System is a vserver with Virtuozzo.

Thx for your help!

reply | view as pdf

Installation - C headers - What is the location...


Submitted by djh-compnet (registered user) on Thu, 2009-08-13 18:05.

If you encounter problems on this line:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Enter /lib/modules/{your current kernel version 2.6xxxxxx}/build/include

If that does not work the kernel headers might need removing:

yourPC# sudo apt-get --purge remove linux-headers-`uname -r` build-essential

And then reinstalled again:

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

That may save a few people a lot of time.

20 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

reply | view as pdf

On boot wont start


Submitted by tommytomato (registered user) on Mon, 2009-08-03 10:56.

Nice tut, worked well

How ever it doesn't seem to want to start up when rebooting machine

webmin tells me that vmware is on boot up, but its not working ???

vmware Yes Manages the services needed to run VMware software

vmware-autostart Yes Manages the services needed to run VMware software

vmware-core Yes Manages the services needed to run VMware software

vmware-mgmt Yes Manages the services needed to run VMware software

any ideas please

TT

reply | view as pdf

Installation problem of Vmware in Ubuntu 9.0


Submitted by srikanth (not registered) on Fri, 2009-07-31 13:30.

While Installin VMware It was completed till asking lot many questions like were to store dis file n wer to store dat file. I`ve choosen default locations but in the end I found
an error like below.

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.


make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.28-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

...................................

..................................

make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-14-generic'


make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'

21 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Unable to build the vmmon module.

then it pointed to a location in web. It is asking like C compiler or so. I am New to Linux . Plz help me out. ThankQ

Srikanth

reply | view as pdf

installed vmware server


Submitted by Stuart (not registered) on Fri, 2009-07-24 00:27.

installed the server as per instructions thanks heaps.

When I installed a guest OS (w2003 svr) now the keyboard wont recognise ctr-alt-insert to log on. Any ideas?

reply | view as pdf

DataStore for .iso


Submitted by Dale E. Moore (not registered) on Sat, 2009-07-18 16:46.

My Ubuntu DataStore default location is /var/lib/vmware/Virtual Machines and that's where I put my .iso files so that I can specify what CDROM to boot.
reply | view as pdf

Thanks
Submitted by timytoad (not registered) on Fri, 2009-07-17 15:05.

Linux pages seem filled with geek talk, this was actually helpful.

Thanks

reply | view as pdf

cannot access vmware webpage


Submitted by TJ (not registered) on Thu, 2009-06-18 16:50.

ihave upgarded my ubuntu 8.10 to unbuntu 9.04 and i had installed vmware server 2.0 successfully on ubuntu 8.10 but after upgrading to ubuntu 9.04 i am not able to use the
vmware server i get an error while opening the vmware webaccess

22 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

"page Failed to Connect


Firefox can't establish a connection to the server at 127.0.0.1:8333.
Though the site seems valid, the browser was unable to establish a connection.

* Could the site be temporarily unavailable? Try again later.


* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing."

i tried everything even unstallation and reinstallation but no luck please help me i had 4 os installed in vmware that i use for my studies please help !!!!!!!!!!!!!!!!!!!

any help will be appreciated

thankyou regards

TJ

reply | view as pdf

Re: cannot access vmware webpage


Submitted by michael_n (not registered) on Fri, 2009-06-19 20:44.

Each time you update the kernel (or indeed upgrade the OS) then you'll need to reconfigure vmware. The vmware service is probably not starting correctly, which may
explain why you can't go to the URL.

$ sudo /usr/bin/vmware-config.pl

Another thing, be sure to use http"s" for the URL, https://127.0.0.1:8333

Depending on your setup, you may also use the non-SSL URL, http://127.0.0.1:8222 and avoid cert issues (probably not recommended, though, for hopefully obvious
reasons [security]).

And like another commentter mentioned, you don't have to login to the web interface via root. Just use a normal user (which may have to be in the sudo'ers list). Don't
use 'root' on ubuntu (...or, any system); use sudo.

reply | view as pdf

23 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Re: Re: cannot access vmware webpage


Submitted by Anonymous (not registered) on Wed, 2009-08-26 18:08.

The "$ sudo /usr/bin/vmware-config.pl" command was the trick for me to get mine running again. Thanks!
reply | view as pdf

Re: Re: cannot access vmware webpage


Submitted by Mark (not registered) on Fri, 2009-07-17 15:25.

I can access it at localhost but NOT at 127.0.0.1 - which is the address that VMware uses for its default... any thoughts on why are appreciated? No - /etc/hosts is
vanilla - just has the expected line : 127.0.0.1 localhost

thanks friends and thanks to Falco et. al. for the great work!

reply | view as pdf

Re: Re: cannot access vmware webpage


Submitted by TJ (not registered) on Wed, 2009-06-24 14:02.

hi

thankyou for the response but after trying so many things still was not able to fix the problem so i just went ahead and reinstalled my ubuntu and reinstalled vmware
server however thank's for all the help provided unfortunately i lost all my virtual machines created and all the data

regards

TJ

reply | view as pdf

Re: Re: Re: cannot access vmware webpage


Submitted by Mark (not registered) on Fri, 2009-07-17 15:20.

Reloading ALL of VMware should NOT have caused ANY loss of your virtual machines!! Unless you chose to delete the folder they were in... I'm sorry you lost
them!!
reply | view as pdf

Re: Re: cannot access vmware webpage


Submitted by TJ (not registered) on Sat, 2009-06-20 15:38.

24 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

i get an error "sudo: /usr/bin/vmware-config.pl: command not found"

when i try to use the command in terminal and i get an error while installing it aswell

error: "The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.

vmci
vmmon
vmnet

I.e. - 'rm /lib/modules/2.6.28-11-generic/misc/<ModuleName>.{o,ko}'

Execution aborted"

any other suggestions


thankyou for reply

reagards
TJ.

reply | view as pdf

Re: Re: Re: cannot access vmware webpage


Submitted by Anonymous (not registered) on Mon, 2009-06-22 19:06.

Hi,

Any response to this? I have to delete the files in /lib/modules/..../misc and do a vmware-config.pl every time I restart my machine (which is every morning)... I
never had to do this with 8.04 or 8.10...
reply | view as pdf

Re: Re: Re: Re: cannot access vmware webpage


Submitted by Maia (not registered) on Thu, 2009-07-02 16:55.

I got the same problem..

25 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

]Everytime I restart my PC this problem is back...

Why?

reply | view as pdf

Re: Re: Re: Re: Re: cannot access vmware webpage


Submitted by Anonymous (not registered) on Thu, 2009-07-09 08:01.

I've quite the same problem!

After a restart of the PC I can access the vmware website but the network on my virtual host is not working. I've to start the "vmware-config.pl -D" after
that the Network on the virtual Host is working again :( .

reply | view as pdf

it is not necessary to use


Submitted by jose (not registered) on Thu, 2009-06-18 07:07.

it is not necessary to use root as the vmware administrator you can indicate another user as administrator on the installation

thank u

reply | view as pdf

Re: it is not necessary to use


Submitted by Josh (not registered) on Sun, 2009-08-16 02:46.

I would add, it is not advisable to blindly instruct the user to enable the root account by giving it a password. Especially when the correct way of doing this is to tell the
installer to use a different account for the administrator:

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

Answer 'yes' to this question and please use the username you setup when you installed Ubuntu (or whatever administration user you are using).

26 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

If you missed this step in the installer, simply open /etc/vmware/hostd/authorization.xml and find the following line:

<ACEDataUser>root</ACEDataUser>

and change 'root' to the user you want to use. After you change the file you may need to restart vmware:

/etc/init.d/vmware restart

reply | view as pdf

Did you manage to run bridged networking?


Submitted by aristar (not registered) on Mon, 2009-06-08 21:18.

I can't even enable bridged neworking adapator for guest VM. It's always disconnected.

reply | view as pdf

default options
Submitted by verlaine (not registered) on Sat, 2009-06-06 07:57.

Nice tutorial, one thing though you can run the installer to choose all the default options with

sudo ./vmware-install.pl -d

reply | view as pdf

Re: default options


Submitted by Anonymous (not registered) on Sat, 2009-08-15 10:01.

Very nice tutorial indeed.

I do not think your suggestion to use

sudo ./vmware-install.pl -d

27 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

will work as you are required to read the end user license and accept but using the -d option will not enable you to read that very long user license.

reply | view as pdf

Thank You !
Submitted by Erwin (not registered) on Fri, 2009-05-29 10:49.

A perfect manual for installing VMWare server on Ubuntu 9.04. Thank you !
reply | view as pdf

No Patching Needed
Submitted by Ed van Hout (not registered) on Fri, 2009-05-29 10:27.

When installing VMware server 2 under Ubuntu 8.10 I needed to patch the config.pl file because it did not compile correctly. I found the patchfile and the bug description on
the Ubuntu forums. So, if I understand correctly VMware Server 2.0 can now be installed under Ubuntu 9.04 without any patching.
reply | view as pdf

Re: No Patching Needed


Submitted by evden eve nakliyat (not registered) on Mon, 2009-08-17 21:28.

very nice articles thank you...

reply | view as pdf

THANK YOU
Submitted by kbudha (registered user) on Thu, 2009-05-28 02:53.

Not sure if my original comment was posted, sry.

Once again, you're awesome.

So how much memory and processor does vmware server use up. Wondering if I can get away with an Ubuntu main(with XP vm) on 3 ghz (single core, 32 bit) and 3 gigs ram.

28 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

reply | view as pdf

Re: THANK YOU


Submitted by Anonymous (not registered) on Sat, 2009-10-03 14:02.

I'm using vmware server on my asus eeepc 900 netbook with 2GB of RAM. I have a windows 2000 server VM which I run to do my sql server work. it works fine with this
setup so you should not have any problems with 3GB RAM and 3ghz CPU.

vmware itself uses very little ram, the virtual machines uses ram, if you setup a virtual machine with 1GB of RAM, the vmware will use a little bit more than 1GB of ram to
run that virtual machine.

reply | view as pdf

what was to create a


Submitted by Anonymous (not registered) on Mon, 2009-05-25 00:18.

what was to create a password for the root, can be through the installer to select a user from the system as an administrator vmware
reply | view as pdf

xinetd?
Submitted by Doka (not registered) on Sun, 2009-05-24 19:29.

I guess you do not need to install xinetd, as necessary package.

reply | view as pdf

Free White Papers


Why Security SaaS Makes Sense Today
Corporate IT teams are waging a significant
security battle on two fronts the...
Differentiation Through Service Excellence:
Driving Customer Loyalty and Serv...
Consider five key service process platforms that
are shaping the future &ndas...
Automating Job Scheduling for Windows

29 of 30 21/10/2009 19:20
How To Install VMware Server 2 On Ubuntu 9.04 | HowtoForge - Linux Howtos and Tutorials http://www.howtoforge.com/how-to-install-vmware-server-2-on-ubuntu-9.04

Datacenters experience constant change under


pressure from technology and bus...

More White Papers

Howtos | Mini-Howtos | Forums | News | Search | Contribute | Subscription


Site Map/RSS Feeds | Advertise | Contact | Disclaimer | Imprint

Copyright © 2009 HowtoForge - Linux Howtos and Tutorials


All Rights Reserved.

30 of 30 21/10/2009 19:20

Das könnte Ihnen auch gefallen