Good to Know Database

VMware Server 2.0.x: Installation unter CentOS 5


Bevor Sie mit der Installation starten können, müssen Sie sich den VMware Server 2.0.0 herunterladen. Dazu gehen Sie auf die Seite http://www.vmware.com/products/server/, laden sich das für Ihr System passende RPM-Paket herunter und registrieren sich eine kostenlose Seriennummer.
In dieser Beschreibung wird die Version 2.0.0-122956 verwendet.

Da Sie für die Installation des VMware Servers 2.0.0 Root-Rechte benötigen, loggen Sie sich mit dem folgenden Befehl als root an.

[georg@centos5 ~]$ su root

Anschließend installieren Sie das RPM-Paket mit dem folgenden Befehl.

[root@centos5 ~]# rpm -i VMware-server-2.0.0-122956.x86_64.rpm

The installation of VMware Server 2.0.0 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMware-server".

Before running VMware Server for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config.pl".

Enjoy,

    --the VMware team

Hinweis: Sollten Sie ein 32bit System verwenden, müssen Sie das i386 RPM-Paket installieren.

[root@centos5 ~]# rpm -i VMware-server-2.0.0-122956.i386.rpm

Nachdem Sie das RPM-Paket installiert haben, müssen Sie den VMware Server mit dem Perl-Skript vmware-config.pl für Ihr System konfigurieren. Dazu rufen Sie den folgenden Befehl auf und folgen der Installationsroutine.

[root@centos5 ~]# /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                        [FEHLGESCHLAGEN]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                [FEHLGESCHLAGEN]
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   Virtual machine monitor                                 [  OK  ]

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

Do you accept? (yes/no) y

Thank you.

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmmon module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmci module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vsock module loads perfectly into the
running kernel.

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

Configuring a bridged network for vmnet0.

Please specify a name for this network.
[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]

Configuring a NAT network for vmnet8.

Please specify a name for this network. [NAT]

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.189.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.189.0.

Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines?
[yes]

Configuring a host-only network for vmnet1.

Please specify a name for this network.
[HostOnly]

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 172.16.232.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.232.0.

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

The bld-2.6.18-8.el5-x86_64smp-RHEL5 - vmnet module loads perfectly into the
running kernel.

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

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

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

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

Using root as the VMware Server administrator.

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

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

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  XXXXX-XXXXX-XXXXX-XXXXX

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]

In which directory do you want to install the VMware VIX API library files?
[/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]

In which directory do you want to install the VMware VIX API document pages?
[/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]

The installation of VMware VIX API 1.6.0 build-122956 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                                 [  OK  ]
   Virtual machine communication interface                 [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   VMware Server Authentication Daemon (background)        [  OK  ]
   Shared Memory Available                                 [  OK  ]
Starting VMware management services:
   VMware Server Host Agent (background)                   [  OK  ]
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                        [  OK  ]

The configuration of VMware Server 2.0.0 build-122956 for Linux for this
running kernel completed successfully.

Bevor Sie den VMware Server aus Ihrem Netzwerk konfigurieren können, müssen Sie die zuvor ausgewählten Ports in der Firewall öffnen. Wenn Sie keine Änderungen an den Portnummern vorgenommen haben, sind dies die folgenden Ports.

VMware Server Console:                     902:tcp
VMware Infrastructure Web Access (HTTP):  8222:tcp
VMware Infrastructure Web Access (HTTPS): 8333:tcp

Um diese Ports in der Firewall zu öffnen führen Sie die folgenden Befehle aus.

[root@centos5 ~]# iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 902 -j ACCEPT
[root@centos5 ~]# iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 8222 -j ACCEPT
[root@centos5 ~]# iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 8333 -j ACCEPT
[root@centos5 ~]# service iptables save

Weiterführende Tutorials

VMware Server 2.0.x: Probleme nach einem Kernel-Update unter CentOS 5 beheben
VMware Server 2.0.x: ISC DHCP-Server für VMware anpassen
VMware Server 2.0.x: VMware Management Services neu starten
VMware Server 2.0.x: Virtuelle Maschinen in VI Web Access eintragen und entfernen
VMware Server 2.0.x: Virtuelle Maschinen mit vmrun steuern
VMware Server 2.0.x: Zusätzliche Netzwerkkarten für ein Gastsystem
VMware Server 2.0.2: Partitionen eines VMware Gastsystems mounten
VMware Server 2.0.x: Virtuelle Festplatten vergrößern
Shell Skript: Backup Virtual Machine
Shell Skript: Recover Virtual Machine
Shell Skript: Remove Virtual Machine


Dieser Eintrag wurde am 21.12.2008 erstellt und zuletzt am 24.01.2016 bearbeitet.

Direkter Link zu dieser Seite: http://www.gtkdb.de/index_7_405.html

[ Zur Startseite ]   [ Zur Kategorie ]


Valid XHTML 1.0 Transitional Valid CSS Valid Atom 1.0

© 2004-2018 by Georg Kainzbauer