Installation des VMWare-Server 2 auf einem Debian Linux Hostsystem.

1. Herunterladen des VMWare-Server Paketes:
VMWare-Server kann kostenlos über die Website: http://www.vmware.com/download/server/ herunter geladen werden.
Hierfür müsste ihr auf der VMWare Webseite eingelogt sein, auf der Download Seite findet Ihr auch eure Kostenlose Seriennummer.

2. Installation der benötigten Pakete:

apt-get update
apt-get install psmisc make gcc autoconf libc6 libx11-6 libxtst6 libxext6 libxt6 libice6 libsm6 libxrender1 zlib1g

Achtung unter Debian 5.x ist der gcc in version 4.1.3 Installiert VMWare Server benötigt zum Kompelieren aber die Version 4.1 hierzu müssen wir diese vor dem ausführen des Installation Scripts ein

export CC=/usr/bin/gcc-4.1

Ansonsten bekommt man wärend der Installation von VMware Server folgende Fehlermeldung:

Your kernel was built with "gcc" version "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.3.2". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3.2" anyway?

3. Entpacke die VMware-Server tar.gz Datei:
tar xvfz VMware-server-*.tar.gz

4. Starten der Installations Scripts:

cd vmware-server-distrib
./vmware-install.pl

5. Folgend die Fragen und Antworten die der Installer wärend der Installation stellt:
The installer asks you a few questions. Most of the time you can accept the default value:

Creating a new installer database using the tar3 format.

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 daemon files?[/usr/sbin] <– /usr/sbin

In which directory do you want to install the library files?[/usr/lib/vmware] <– /usr/lib/vmware

The path “/usr/lib/vmware” 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 manual files?[/usr/share/man] <– /usr/share/man

In which directory do you want to install the documentation files?[/usr/share/doc/vmware] <– /usr/share/doc/vmware

The path “/usr/share/doc/vmware” 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 Server 2.0.1 build-156745 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.pl”.

Before running VMware Server for the first time, you need to configure it by
invoking the following command: “/usr/bin/vmware-config.pl”. Do you want this
program to invoke the command for you now? [yes] <– yes

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. <– [ENTER] [LICENCE TEXT]

Do you accept? (yes/no) <– yes

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-4.1″. 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.26-2-amd64/build/include] <– /lib/modules/2.6.26-2-amd64/build/include

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

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

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

Please specify a name for this network.[Bridged] <– Bridged

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

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.

Please specify a name for this network. [NAT] <– NAT

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.49.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.49.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

Please specify a name for this network.[HostOnly] <– HostOnly

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

What will be the IP address of your host on the private
network? <– 192.168.1.1

What will be the netmask of your private network? <– 255.255.255.0

The following host-only networks have been defined:

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

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

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

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

Please specify a port for standard http connections to use [8222] <– 8222

Please specify a port for secure http (https) connections to use [8333] <– 8333

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

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

The path “/var/lib/vmware/Virtual Machines” does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes] <– yes

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

Creating a new VMware VIX API installer database using the tar4 format.

Installing VMware VIX API.

In which directory do you want to install the VMware VIX API binary files?[/usr/bin] <– /usr/bin

In which directory do you want to install the VMware VIX API library files?[/usr/lib/vmware-vix/lib] <– /usr/lib/vmware-vix/lib

The path “/usr/lib/vmware-vix/lib” 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 VMware VIX API document pages?[/usr/share/doc/vmware-vix] <– /usr/share/doc/vmware-vix

The path “/usr/share/doc/vmware-vix” 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 VIX API 1.6.2 build-156745 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-vix.pl”.

Enjoy,

–the VMware team

Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
VMware Server Authentication Daemon (background) done
Shared Memory Available done
Starting VMware management services:
VMware Server Host Agent (background) done
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines done

The configuration of VMware Server 2.0.1 build-156745 for Linux for this
running kernel completed successfully.

Nun ist der VMWare-Server auf eurem Debian System Installiert.

6. Auf das Management Interface kommt Ihr nun folgende URLs:

  • http://host:8222/ui
  • https://host:8333/ui