How To Install VMware Server On Debian 4.0 (Etch) - Page 2

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

Again, you are asked a few questions. Most of the time you can accept the default values:

Creating a new installer database using the tar3 format.

You must read and accept the End User License Agreement to continue.
Press enter to display it.
<-- [ENTER]

... license text ...

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

The installation of VMware Management Interface 1.0.1 build-29996 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.

The VMware Management interface is now installed on your system.

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 Server client package 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 Server client package for Linux or Windows to create a new virtual machine on our VMware server. You can download the appropriate package for your workstation operating system (Windows/Linux) on http://www.vmware.com/download/server. I'm using Windows on my workstation. To install the Windows package, just download the VMWare Server client for Windows package (it it a zip file), unzip it, and run the VMware-console .exe file. Afterwards, just start the VMware Server console. It detects all available VMware Servers in your network; select the one to which you want to connect (in our case it's our Debian Etch system with the IP address 192.168.0.100):

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

Share this page:

18 Comment(s)

Add comment

Comments

From: iolaus at: 2009-05-15 11:15:34

Did this with the modified 2.6.28-1-amd64 from Kenshi Muto because of SATA cd-rom on Dell PowerEdge T100. Great resource: http://kmuto.jp/debian/d-i/. The list of packages i used:

linux-headers-`uname -r` libc6-dev gcc make psmisc x11-common libxau6 libxdmcp6 libx11-data libx11-6 libxrender1 libice6 libxext6 libxtst6 libsm6 libxt6 libxi6 ia32-libs g++ xinetd

Added g++ and xinetd to the list because of some problems with configuring.

From: at: 2007-04-27 16:20:49

You really should not mix applications managed by apt with applications that are not managed by apt. User installed apps should go into /usr/local, *not* /usr. Putting them into /usr is just asking for trouble down the line. Separate system apps from user installed apps.

From: at: 2008-01-30 16:21:22

    I would like to just comment and say, if you setup a server using "The Perfect Setup - Debian Etch 4.0" tutorial your system will work very well.  I have a number of virtual servers running now where we had many individual servers before and I follow both these tutorials as a guide now when I set one up.  Always problem free.  (I use the current etch 4.0R2 net install and VMware 1.0.4)

Just sayin.... : )

Nim 

From: at: 2007-05-29 20:07:41

Hi!

 Author's proposal is to install following packages:

apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential

 Well - in fact one doesn't need full x-window-system at all (!!!!). Only needed packages are:

  • linux-kernel-headers-`uname -r`
  • libc6-dev
  • gcc
  • make
  • psmisc
  • x11-common
  • libxau6
  • libxdmcp6
  • libx11-data
  • libx11-6
  • libxrender1
  • libice6
  • libxext6
  • libxtst6
  • libsm6
  • libxt6
  • libxi6

These are small X-related libs - no full X environment is needed. Last lib - libxi6 is only needed to install MUI - pure VMware Server works without it. Of course I only listed packages not present in "default" task-sel. One also need perl, binutils...

List of libriares may be obtained by typing `sudo ./vmware-install.pl` in vmware-server-distrib directory. Installer looks for specific libs and shows info which are not found. Just apt-get install them. The only one not listed is libxi6 - needed only in order to get MUI working. 

From: at: 2007-05-30 10:37:30

The package list in the howto is absolutely correct. It might be, that not the complete X enviroment is needed, but the package list in the howto includes all needed libraries and works.

From: at: 2007-05-31 13:09:33

Hi!

 In fact I have not tested but I believe that installing that:

libx11-dev x-window-system-core x-window-system xspecs libxtst6

will get me to environment prepared to install VMware Server.

 But once again: if I told to install all packages avaible in the world it probably also would get me to prepared environment. Your proposal is to download 50MB which will take 160MB of disk space - most of them are not needed packages. What do you need TTF Fonts for? Or  X.org drivers for video cards? Of course it will work - but please take a look on site title - it's HowTo's place - not place for "I'm not sure if it is best choice - I know it works".

 I suggest to install these:

x11-common libxau6 libxdmcp6 libx11-data libx11-6 libxrender1 libice6 libxext6 libxtst6 libsm6 libxt6 libxi6

it takes 1.3MB (not 50MB of download) and takes 5MB (not 160MB) of disk space. If you still insist Your method is good... well I _STRONGLY_ disagree.

 Tell me, what is the reason of installing really not needed stuff?

From: kevinthecomputerguy at: 2010-02-10 07:04:54

AdamLis

Thanks for the tip on the smaller install. I run my server without a GUI and it was a big help.

I gave you some props in the Linux how-to I made

thanks again

http://t3.woodel.com/my-linux-how-to/debian_howto_start_to_finish_using_webmin.pdf

 

From: at: 2007-07-25 09:34:36

Debian 4 (Etch) ver netinstaller and VMWare Server 1.3

# [PL] Instalacja nowej wersji kernela wraz z nag?owkami:
# Install new kernel and headers

apt-get install linux-headers-2.6-686 linux-image-2.6-686

# [PL] Doinstalowanie pakietów (bibliotek) potrzebych do instalacji oprogramowania
# [PL] VMware Server:
# Install libs for VMware Server 1.3

apt-get install libc6 libxtst6 libxext6 libxt6 libice6 libxrender1 make gcc psmisc libxi6 libexpat1 libfontconfig1 libfreetype6 libxft2 libatk1.0-0 libpango1.0-0 libgtk2.0-0 libgtk2.0-0 libgtk2.0-0 libglibmm-2.4-1c2a libgtkmm-2.4-1c2a libart-2.0-2 libxml2 libgnomecanvas2-0 libgnomecanvasmm-2.6-1c2a librsvg2-2 libview2 libsexy2 libsexymm2

# [PL] Linkujemy dwie biblioteki
ln -s /usr/lib/libsexy.so.2 /usr/lib/libsexy.so.1
ln -s /usr/lib/libsexymm.so.2 /usr/lib/libsexymm.so.1

# END 

From: at: 2007-09-24 09:44:57

just extend the list of packages with ia32-libs:

apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential ia32-libs

From: at: 2007-10-15 07:54:29

I was getting rather confused about the missing libraries error until I realized that I needed the ia32-libs.

From: daviddelikat at: 2009-04-03 16:32:37

I just completed a vmware install using alien to convert my rpm to deb.  it worked very nicely, I did not test dependancies because I installed them in advence.  I did have to unzip the EULA file

 sudo gunzip /usr/share/doc/vmware/EULA.gz

before running the config

 sudo /usr/bin/vmware-config.pl

but everything went very smoothly.  I'll be using my new deb to  upgrade my other system after everything is up and running.  thanks for the HOWTO,  it was quite helpful.

From: Raoul at: 2008-10-22 19:15:58

Thanks for this howto. I haven't tried it yet, but I will soon .

The link The Perfect Setup - Debian Etch (4.0) points to http://www.howtoforge.com/perfect_setup_debian_sarge

However, it should point to http://www.howtoforge.com/perfect_setup_debian_etch

Greetings,
Raoul


From: kevinthecomputerguy at: 2010-02-10 06:58:19

Till-

Thanks for your help getting this working, its awesome!

I gave you some props in my Linux how-to

thanks again

http://t3.woodel.com/my-linux-how-to/debian_howto_start_to_finish_using_webmin.pdf

 

From: at: 2007-05-01 15:11:40

I've got some stability problems with VMware's Console App. Old version gtklib included in VMware-Server fixed. 

Try this environment variable:

export VMWARE_USE_SHIPPED_GTK=force

From: at: 2008-04-03 22:17:28

if we have problems to connect remotely to vmware-server we need to install xinetd.

 apt-get install xinetd

 

From: at: 2007-08-15 03:12:44

These steps worked for me with vmware server v1.0.3 and Debian Etch:

1.    untar vmware server distribution.
2.    run vmware-install.pl, put stuff where you like (i.e. /usr/local) if you don't like the defaults.
3.    the first run should fail due to several libraries being unavailable so
    use aptitude to install just the necessary libraries.  other comments in this thread list the various libraries but the installer will tell you what is missing.
4.    use aptitude to install the linux-source-2.6.18 kernel source
5.    execute the following commands:

cd /usr/src
tar xvjf linux-source-2.6.18.tar.bz2
ln -s linux-source-2.6.18 linux
cd linux
make oldconfig
make prepare
make
echo "#define UTS_RELEASE \"`uname -r`\"" > include/linux/utsrelease.h

6.    re-run the vmware-server installer, everything should work now.

From: borderamigos at: 2008-09-24 19:54:02

In the procedure it says you don't want to use the Etch system desktop.  Will the above work if you do want to use it?

 

From: Hospitality IT guy at: 2009-02-04 04:03:45

STill pretty new to Linux.  Especially Debian.  I had a heck of a time getting vmware to install.  Problem with headers.  I found this site and gave it a shot.  OMG!!  Perfect.  I feel like a Linux Pro already.  Thanks HtF!