EDV:VMWare-Linux

From KIP Wiki
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽

VMWare Server auf Ubuntu hardy installieren

Software besorgen

Zum Beispiel direkt von vmware:

http://www.vmware.com/products/server/

Vorbereiten

Vieles davon ist vielleicht eh schon installiert...

apt-get install libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget psmisc
apt-get install linux-headers-`uname -r` build-essential
apt-get install gcc binutils-doc cpp-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.0-doc libc6-dev-amd64 lib64gcc1

Auspacken und installieren

cd /tmp
tar -xvzf VMware-server-1.0.7-108231.tar.gz
cd vmware-server-distrib
./vmware-install.pl 

Standard-Angaben (hier typischerweise einfach 'Enter' eingeben)

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] 

und dann noch

Your kernel was built with "gcc" version "4.2.3", while you are trying to use 
"/usr/bin/gcc" version "4.2.4". 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.2.4" anyway? [no] yes


Korrekturen

Wenn der Start von vmware so abbricht:

# vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

kann man es folgendermassen reparieren:

als root:

cd /usr/lib/vmware/lib
mv libgcc_s.so.1 moved_libgcc_s.so.1
ln -s /lib/libgcc_s.so.1 .

Danach lässt sich vmware starten.