How To Install VMware Server On Ubuntu 6.06 LTS (Dapper Drake) - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by till (Contact Author) (Forums) on Sun, 2006-07-16 09:04. ::

5 Installing The VMware Management Interface

The VMware Management Interface is a Web-based management tool that allows you to

  • monitor the state of virtual machines and the VMware Server host on which they are running.
  • control (power on, suspend, resume, reset and power off) the virtual machines on that host.
  • view details about each virtual machine, including system summary, hardware information, any connected users and a log of recent events.

(Please note: it cannot be used to create virtual machines. To do this, you must install the VMWare console (available for Windows and Linux) on a client PC.)

cd /tmp
tar xvfz VMware-mui-*.tar.gz
cd vmware-mui-distrib
./vmware-install.pl

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]
<-- yes

The installation of VMware Management Interface 1.0.0 build-28343 for Linux
completed successfully. You can decide to remove this software from your system
at any time by invoking the following command:
"/usr/bin/vmware-uninstall-mui.pl".

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]
<-- yes

Configuring httpd.conf to run Apache as:
User: www-data and Group: nogroup

Set the number of minutes before a http session times out. (This is the length
of time before someone connecting to VMware Management Interface will be logged
out) [60]
<-- 60

Generating SSL Server Certificate

Starting httpd.vmware: done
The configuration of VMware Management Interface completed successfully.

Create a directory for the VMware httpd:

mkdir /var/run/vmware/httpd
chown www-data:www-data /var/run/vmware/httpd

You will now be able to login the the VMware management interface with the URL:

https://192.168.0.100:8333/

To login use the username root and the password of your root system user.

This interface shows status information of the installed VM instances and you are able to start and stop VM instances:

To create new VM instances, use the VMware console which is availabe as Linux and Windows GUI application.

There are many ready-to-run appliances for the VMware server available, for example the ISPConfig webhosting appliance based on the HowtoForge perfect setup for Debian 3.1:

http://www.vmware.com/vmtn/appliances/directory/342

Many other appliances can be found in the VMWare Appliances directory:

http://www.vmware.com/vmtn/appliances/

 

6 Creating A Virtual Machine

We use the VMWare Linux or Windows GUI application to create a new virtual machine on our VMware server.

Login to your server with the IP address or hostname, the user root and the root password.

Click on New Virtual Machine and follow the whizard. The wizard asks you to select:

  • Operating system (Linux, Windows, Novell Netware, Solaris or other operating system)
  • Operating system version
  • Location and virtual machine name. The folder /var/vm that we created in the setup is preselected.
  • Networking: If you want the virtual machine to be part of the same network than the server itself, select bridged networking.
    If you want to use a virtual NAT, select Network address translation.
  • Enter the size of your virtual harddisk. I recommend to disable the option that creates the virtual harddisk in full size instantly, the harddisk will then grow with the data that you store inside up to the max. size you selected.
  • After you finished the VM creation wizard, put the boot disk of the operating system you want to install in the CD / DVD drive of your server and start the VM.

All trademarks belong to their respective owners. We thank VMware Inc. for the permission to write this Howto.

 

7 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 Fri, 2009-11-27 07:19.

Great tutorial.

 Many thanks.

Submitted by ravisankarvn (registered user) on Thu, 2007-03-15 15:19.

    Excellent!

 No other guide will be as easier as this is!

 I couldn't have succeeded to install the vmware server & mui without this  stuff.

Submitted by dhylton (registered user) on Tue, 2006-12-12 22:40.

just ran into this; not sure why it is broken now, but the fix was VERY simple: in the very first line of /etc/init.d/httpd-vmware, change:

#!/bin/sh

to:

#!/bin/bash

Submitted by Anonymous (not registered) on Mon, 2006-08-28 16:08.

This tutorial works perfect.
I installed it in once without any knowlidge of linux.
It took me a while to figure out why I couldnt acces my cd-rom.
But I found that a cd must be mounted by linux before use :-)

Henry

Submitted by Anonymous (not registered) on Sat, 2006-07-29 17:17.

You need to use this URL:

https://127.0.0.1:8333 if your IP@ is not 192.168.0.100

login and password can be your current user account if you dont have a root account, but in this case you cannot change the options...

Submitted by Anonymous (not registered) on Mon, 2006-07-17 15:26.
I would like to add that after the kernel updates, VMWare will appear to be broken.  You must recompile once again by firing up a terminal and running vmware-config.pl as root.  Hope that helps someone!  If you are installing for the first time, make a mental note of this command because it is very important for later!
Submitted by Anonymous (not registered) on Mon, 2006-07-17 15:22.

If you have a dual boot Windows-Linux machine and you are planning to use existing Windows installation in VMWare in Linux (so called physical or raw patrtition in vmware-speak), first check your hard drive. If it happens to be on Serial ATA interface (which is pretty common nowadays) you will have to change your plans - it is not supported by VMWare. Only IDE and SCSI drives are supported. It MAY work but it is pretty much flip-of-a-coin kind of thing. I can say for sure that it dosn't work on my HP xw6200 workstation.

The only thing you can do is to create the virtual machine in you Linux partition is install new copy of Windows there.

Submitted by Anonymous (not registered) on Mon, 2006-07-17 01:09.

If you install module-assistant and go through the update and prepare options, it installs all of the extra packages you need.   This works for any kernel module pretty much, and makes it much easier because you only have to remember the one package.

Submitted by Anonymous (not registered) on Mon, 2006-07-17 00:39.
instead of "sudo su", use the command "sudo -s" to spawn a root shell... this way you won't need an actual root account! 
Submitted by gcorominas (registered user) on Fri, 2008-02-29 17:24.

Hi all, I am using Ubuntu 6.10 and had to use a patch to make the httpd.vmware server to start properly:
Here is the code I used after finnishing the whole tutorial:

Font:  http://users.piuha.net/martti/comp/ubuntu/en/server.html

Hope it helps 

# cd /tmp
# wget http://www.iki.fi/kuparine/comp/ubuntu/en/httpd.vmware.diff
# cd /
# patch -b -p0 < /tmp/httpd.vmware.diff