mini_banner

Monday, May 28, 2007

Installing VMware in Feisty

Step 1: Take of of some Dependencies:
In a terminal enter:
sudo apt-get install linux-headers-`uname -r` build-essential
sudo apt-get install xinetd

Step 2: Download VMware and Register for a Serial Number
Download VMware Here
Register for a Serial Number Here

Step 3: Installing VMware
If you did not save the VMware-server tarball to your desktop please move it there now.

Direct the terminal to your desktop:

cd /home/YOUR LOGIN NAME/Dekstop
*You must change the red colored text to your login name.

Untar Vmware:
tar -xzf VMware-server-1.0.3-44356.tar.gz

Direct your terminal to the folder you just untarred:
cd vmware-server-distrib

Install VMware:
sudo vmware-install.pl

Step 4: Setting up VMware
After invoking the install vmware is going to ask you some questions, what you should enter is in
red

After installing vmware so you will see this in your terminal:
Accept the end user licence:
Do you accept? (yes/no) yes

Thank you.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
/usr/bin

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
/etc

What is the directory that contains the init scripts?
[/etc/init.d]
/etc/init.d

In which directory do you want to install the VMware Management Interface files?
[/usr/lib/vmware-mui]
/usr/lib/vmware-mui

The path "/usr/lib/vmware-mui" does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes]
yes

In which directory would you like to install the documentation files?
[/usr/lib/vmware-mui/doc]
/usr/lib/vmware-mui/doc

The path "/usr/lib/vmware-mui/doc" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
yes

Before running VMware Management Interface for the first time, you need to
configure it by invoking the following command:
"/usr/bin/vmware-config-mui.pl". Do you want this program to invoke the command
for you now? [yes]
no

You need to answer no to this question because VMware Server will not compile correctly on Feisty without patching the vmmon file

Step 5: Patch the vmmon file
Download the Path Here

If you did not save the VMware-server tarball to your desktop please move it there now.

Direct the terminal to your desktop:

cd /home/YOUR LOGIN NAME/Dekstop
*You must change the red colored text to your login name.

Untar the Patch:
tar xvzf vmware-any-any-update109.tar.gz

Direct your terminal to the folder you just untarred:
cd vmware-any-any-update109

Install the Patch:
sudo ./runme.pl

Step 6: Continue the Installing & Configuration

You should automatically be prompted to run sudo vmware-config.pl

If not you can start the process in a terminal:
sudo vmware-config.pl

Once the configuration begins, you will see:
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it. press enter

Do you accept? (yes/no)
yes
Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]
/usr/share/icons

The path "/usr/share/icons" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]
yes

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
/usr/share/applications

The path "/usr/share/applications" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
yes

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/pixmaps

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-16-generic/build/include]
/lib/modules/2.6.20-16-generic/build/include
Extracting the sources of the vmmon module.

Building the vmmon module.

Do you want networking for your virtual machines? (yes/no/help) [yes] yes

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth1

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]
yes

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help) yes


Probing for an unused private subnet (this can take some time)...

The subnet 192.168.246.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.246.0.

Do you wish to configure another NAT network? (yes/no) [no] no

Do you want to be able to use host-only networking in your virtual machines?
[yes]
yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]
yes

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.37.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 172.16.37.0.

Do you wish to configure another host-only network? (yes/no) [no] no

Trying to find a suitable vmnet module for your running kernel.

The module bld-2.6.15-23-i386server-Ubuntu6.06 loads perfectly in the running
kernel.

Please specify a port for remote console connections to use [902] 902

Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
/var/vm

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: Type your VMware Server serial number

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Server 1.0.3 build-44356 for Linux for this running
kernel completed successfully.

Using this guide Vmware will use your systems connection to access the internet. so if you can connect to the internet so can your vitual machine. You have now installed and setup VMware, enjoy. Run it while using Beryl and make you friends jealous.
edited by pHreaksYcle

15 comments:

Anonymous said...

Thanks for this man, I was actually trying to install VMWare last night.

I think I recently updated to the latest kernel and it said it isnt compatible.

Any ideas?

redDEAD said...

I am also running the latest kernel and it is 100% compatible, once you have everything thing setup properly every time you update your kernel you will need to run:

sudo vmware-config.pl

If your setting up vmware for the 1st time you have to remember to patch the vmmon file. The directions are included in the guide.

Fady said...
This comment has been removed by a blog administrator.
Anonymous said...

Ok, it installed but for some reason i keep getting an error every time I try to start up my virtual machine, it says virtual machine power settings could not be changed. Any ideas?

Beanalby said...

Thank you so much for this entry and all the others - it's made putting Ubuntu on my 1501 SO much easier.

Might want to mention that the VMWare interface can then be launched by simply running "vmware". The installation doesn't create any shortcuts, and I kept trying to connect the browser to port 902. :)

redDEAD said...

zeb, i have no idea. try the vmware boards or the irc room.

ubuntu forums should work as well.

Anonymous said...

vmware-server is in the Ubuntu official repository, so the only thing that you have to do is to get a key from the wmware website and then just agree in the eula.

Christopher Dancy said...

There is a much easier way to install vmware server in feisty, and get wifi working. Just install vmware from the command line. Once that is done, and you've set a virtual machine with some os on it(i've got winxp) you'll notice wifi doesent work. Simply goto that vm's settings and change the ethernet card option of bridged to NAT. And this will solve your problem.

redDEAD said...

real men don't use VMware debs

Unknown said...

Hey Red
Off on another of your guides, this one works too. but now it isn't a dell computer this virtual machine is it?
so what do i do about installing sound and stuff also i can't make the window big enough, like full screen is a small rectangle with a huge black border and i have tried to fit it but i dont know. maybe its ok. this is an awesome idea though. now i can edit my movies from my everio and upload them from my VM.
unreal mate how do you learn to do this stuff. how in the world do people do this, so glad its happening for the laptop i bought .
Ross

redDEAD said...

ross,

Off on another of your guides, this one works too. but now it isn't a dell computer this virtual machine is it?

Dude I cannot figure out this sentence. Please email me at redDEADresolve at the google mail everyone uses (gmail.com).

To use a virtual machine running xp or vista you kinda of gotta be familiar with Microsoft os. Sound should work out of the box, the resolution can be changed via windows settings manager. VMware is basically a vanilla generic XP install.

Unknown said...

Great piece. But can you offer any insight into the following problem. I've installed vmware-tools successfully into both Win2000 and WinXP Pro. All features appear to work except cut and paste even though cut and paste option is checked in preferences.

Unknown said...

Great piece. But can you offer any insight into the following problem. I've installed vmware-tools successfully into both Win2000 and WinXP Pro. All features appear to work except cut and paste even though cut and paste option is checked in preferences.

redDEAD said...

thats a question for the vmware forums or irc channel

Mike Weichert said...

For those of you using gutsy, you need vmware-any-any-update113.tar.gz

Get it here:
http://knihovny.cvut.cz/ftp/pub/vmware/