Vmware Server 2.0.1

Aus Mikiwiki
Zur Navigation springen Zur Suche springen

Vmware Server 2.0.1 ist eine Version der Virtualisierungssoftware Vmware Server.

Update von Vmware Server 1.0.6 auf 2.0.1

Ubuntu 8.04 Hardy Heron

Anleitungen

Herunterladen von Vmware Server 2.0.1 unter http://www.vmware.com/download/server/

Die Lizenznummer erhält man nach einem ausführlichen Registrationsprozedere.

Die MD5-Summe des heruntergeladenen Pakets "VMware-server-2.0.1-156745.i386.tar.gz" lautet:

be96bc1696f4cef67755bfd2553ce233

Nun müssen zuerst die für die Installation von Vmware Server benötigten Pakete "linux-headers-$(uname -r)", "build-essential" und "xinetd" unter Ubuntu heruntergeladen und installiert werden.

$ sudo apt-get install linux-headers-$(uname -r) build-essential xinetd

Danach folgt die eigentliche Installation von Vmware Server.

$ tar xzf VMware-server-2.0.1-156745.i386.tar.gz
$ cd vmware-server-distrib
$ sudo ./vmware-install.pl
The following VMware kernel modules have been found on your system that were 
not installed by the VMware Installer.  Please remove them then run this 
installer again.

vmnet
vmmon

I.e. - 'rm /lib/modules/2.6.24-23-generic/misc/<ModuleName>.{o,ko}'

Execution aborted.
$ sudo rm /lib/modules/2.6.24-23-generic/misc/{vmnet,vmmon}.{o,ko}
$ sudo ./vmware-install.pl
A previous installation of VMware Server has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

You have a previous version of VMware Server installed.  Continuing this 
install will upgrade to the latest version by first uninstalling the previous 
version.  Do you wish to continue? (yes/no) [yes]

Uninstalling the tar installation of VMware Server.

 * Stopping internet superserver xinetd                                  [ OK ] 
 * Starting internet superserver xinetd                                  [ OK ] 
inetd: Kein Prozess beendet
Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

File /etc/vmware/config is backed up to /etc/vmware/config.old.0.

This program previously created the file /dev/vmnet5, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet2, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file 
/lib/modules/2.6.24-23-generic/misc/vmnet.o, and was about to remove it.  
Somebody else apparently did it already.

This program previously created the file /dev/parport3, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet4, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmmon, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file 
/lib/modules/2.6.24-23-generic/misc/vmnet.ko, and was about to remove it.  
Somebody else apparently did it already.

This program previously created the file /dev/parport2, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet7, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file 
/lib/modules/2.6.24-23-generic/misc/vmmon.o, and was about to remove it.  
Somebody else apparently did it already.

This program previously created the file /dev/parport1, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file 
/lib/modules/2.6.24-23-generic/misc/vmmon.ko, and was about to remove it.  
Somebody else apparently did it already.

This program previously created the file /dev/vmnet9, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet6, and was about to remove 
it.  Somebody else apparently did it already.

File /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 is backed up to 
/usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1.old.0.

This program previously created the file /dev/vmnet3, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the directory 
/usr/lib/vmware/lib/libgcc_s.so.1, and was about to remove it. Since there are 
files in that directory that this program did not create, it will not be 
removed.

This program previously created the directory /usr/lib/vmware/lib, and was 
about to remove it. Since there are files in that directory that this program 
did not create, it will not be removed.

This program previously created the directory /usr/lib/vmware, and was about to
remove it. Since there are files in that directory that this program did not 
create, it will not be removed.

This program previously created the directory /var/log/vmware, and was about to
remove it. Since there are files in that directory that this program did not 
create, it will not be removed.

This program previously created the directory /var/run/vmware, and was about to
remove it. Since there are files in that directory that this program did not 
create, it will not be removed.

This program previously created the directory /etc/vmware, and was about to 
remove it. Since there are files in that directory that this program did not 
create, it will not be removed.

The removal of VMware Server 1.0.6 build-91891 for Linux completed 
successfully. Thank you for having tried this software.

Converting the tar3 installer database format to the tar4 installer database 
format.

Installing VMware Server.

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

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

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

In which directory do you want to install the daemon files? 
[/usr/sbin] 

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

In which directory do you want to install the manual files? 
[/usr/share/man] 

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

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]

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   Host network detection                                              done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

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

Do you accept? (yes/no) yes

Thank you.

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] 

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.24-23-generic/build/include] 

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
cp -f vmmon.ko ./../vmmon.o
make: Verlasse Verzeichnis '/tmp/vmware-config0/vmmon-only'
The vmmon module loads perfectly into the running kernel.

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] 

Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmci-only'
make -C /lib/modules/2.6.24-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
  CC [M]  /tmp/vmware-config0/vmci-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmci-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config0/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciContext.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciDs.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciGroup.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciProcess.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/vmware-config0/vmci-only/common/vmciResource.o
  LD [M]  /tmp/vmware-config0/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-config0/vmci-only/vmci.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
cp -f vmci.ko ./../vmci.o
make: Verlasse Verzeichnis '/tmp/vmware-config0/vmci-only'
The vmci module loads perfectly into the running kernel.

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]

Extracting the sources of the vsock module.

Building the vsock module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vsock-only'
make -C /lib/modules/2.6.24-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
  CC [M]  /tmp/vmware-config0/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/vmware-config0/vsock-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config0/vsock-only/linux/util.o
  CC [M]  /tmp/vmware-config0/vsock-only/linux/vsockAddr.o
  LD [M]  /tmp/vmware-config0/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
  CC      /tmp/vmware-config0/vsock-only/vsock.mod.o
  LD [M]  /tmp/vmware-config0/vsock-only/vsock.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
cp -f vsock.ko ./../vsock.o
make: Verlasse Verzeichnis '/tmp/vmware-config0/vsock-only'
The vsock module loads perfectly into the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

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] 

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.24-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/filter.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac.o
  CC [M]  /tmp/vmware-config0/vmnet-only/vnetEvent.o
  CC [M]  /tmp/vmware-config0/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-23-generic'
cp -f vmnet.ko ./../vmnet.o
make: Verlasse Verzeichnis '/tmp/vmware-config0/vmnet-only'
The vmnet module loads perfectly into the running kernel.

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

Do you want this program to set up permissions for your registered virtual 
machines?  This will be done by setting new permissions on all files found in 
the "/etc/vmware/vm-list" file. [no] 

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

Please specify the user whom you wish to be the VMware Server administrator
 mik

Using mik as the VMware Server administrator.

In which directory do you want to keep your virtual machine files? 
[/VMWARE] 

Do you want to enter a serial number now? (yes/no/help) [no] 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.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
   VM communication interface socket family:                           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.

Zum Abschluss müssen noch folgende Softlinks gesetzt werden, da Vmware Server sonst unter Ubuntu 8.04 nicht startet. Beim Update von Vmware Server 1.0.6 auf 2.0.1 war dies vermutlich nur deshalb nicht nötig, weil sie bereits gesetzt waren.

$ sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
$ sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0

Nach erfolgreicher Installation kann das Installationsverzeichnis gelöscht werden.

$ cd /home/sisis/backup/software/linux/Ubuntu8.04
$ rm -rf vmware-server-distrib

Vmware Server 2 hat keine grafische Benutzeroberfläche, um virtuelle Maschinen zu verwalten - das wird nun über den Webbrowser gemacht. Der Aufruf erfolgt über einen der folgenden URLs:

https://localhost:8333
oder
http://localhost:8222

Auf die Verwaltungsoberfläche kann lokal oder auch über das Rechnernetz zugegriffen werden.