stand 26.12.2009
die installationssourcen von vmware.com runterladen und in /tmp ablegen. (heute aktuell “VMware-server-2.0.2-203138.x86_64.tar.gz”)
erstmal die noetigen voraussetzungen installieren:
apt-get install linux-headers-`uname -r` binutils gcc libc6 libc6-dev make psmisc patch
fuer den administrativen zugruff ueber die webgui benutzen wir einen anderen user als root
adduser vmware
die installationsroutine mag es nicht, wenn der benutzte compiler 4.3 ist (lenny standard), sondern moechte gerne den 4.1er benutzen. (das muss nachher rueckgaengig gemacht werden!!)
cd /usr/bin/ && rm gcc && ln -s gcc-4.1 gcc
dann gehts los mit dem installieren.
cd /tmp/
tar -xzvf VMware-server-2.0.2-203138.x86_64.tar.gz
cd vmware-server-distrib/
./vmware-install.pl
eine fehlermeldung spuckt die installationsroutine aus:
[...]
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vsock.o': -1 Unknown symbol in module There is probably a slight difference in the kernel configuration between the set of C header files you specified and your running kernel. You may want to rebuild a kernel based on that directory, or specify another directory.
The VM communication interface socket family is used in conjunction with the VM communication interface to provide a new communication path among guests and host. The rest of this software provided by VMware Server is designed to work independently of this feature. If you wish to have the VSOCK feature you can install the driver by running vmware-config.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD.
[ Press the Enter key to continue.]
wir druecken erstmal “Enter” und installieren das ding fertig.
bei allen fragen sind die standardeinstellungen zu nehmen. an einer stelle kann man abweichen, wenn man einen anderen user als root fuer die vmware administration benutzen moechte:
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
vmware
den kram mit dem fehler aufgrund des “vsock module” kriegt man dann so weg:
cd /usr/src/
tar xvf /usr/lib/vmware/modules/source/vsock.tar
cd vsock-only
sed -i 's/^\#include
make
cp vsock.o /lib/modules/$(uname -r)/misc
ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko
depmod -a
invoke-rc.d vmware restart
und fertig ist die installation! nun noch den dirty hack mit dem compiler wieder gerade biegen:
cd /usr/bin/ && rm gcc && ln -s gcc-4.3 gcc
und dann kann man sich in das schneckenlahme webinterface einloggen:
https://ip-adresse-oder-hostname:8333/