Installazione VMWare Server su Debian
Debian Lenny e VMware 2.0.1
- Install the packages required (vedi diffs perchè tolto parti)
sudo apt-get install linux-headers-`uname -r` libx11-6 libx11-dev libxtst6 dbus psmisc build-essential
- Create the directory where we want to install our virtual machines:
sudo mkdir /files/space/vmware
- The VMware server can be downloaded for free from the VMware website:
http://www.vmware.com/download/server/
- Extract the file
tar xvfz VMware-server-*.tar.gz
- Install GCC version with which the kernel was compiled
sudo apt-get install gcc-4.1
- BECOME ROOT
sudo -i
- Force GCC version to use
export CC=/usr/bin/gcc-4.1
- È necessario patchare lo script per la compilazione dei moduli, come spiegato sul Ubuntuforums, altrimenti non funzionerà la funzione vmsock, e l'interfaccia web non funzionerà:
cd vmware-server-distrib
patch bin/vmware-config.pl - << 'EOFile'
--- /usr/bin/vmware-config.pl.orig 2008-11-28 12:06:35.641054086 +0100
+++ /usr/bin/vmware-config.pl 2008-11-28 12:30:38.593304082 +0100
@@ -4121,6 +4121,11 @@
return 'no';
}
+ if ($name eq 'vsock') {
+ print wrap("VMWare config patch VSOCK!\n");
+ system(shell_string($gHelper{'mv'}) . ' -vi ' . shell_string($build_dir . '/../Module.symvers') . ' ' . shell_string($build_dir . '/vsock-only/' ));
+ }
+
print wrap('Building the ' . $name . ' module.' . "\n\n", 0);
if (system(shell_string($gHelper{'make'}) . ' -C '
. shell_string($build_dir . '/' . $name . '-only')
@@ -4143,6 +4148,10 @@
if (try_module($name, $build_dir . '/' . $name . '.o', 0, 1)) {
print wrap('The ' . $name . ' module loads perfectly into the running kernel.'
. "\n\n", 0);
+ if ($name eq 'vmci') {
+ print wrap("VMWare config patch VMCI!\n");
+ system(shell_string($gHelper{'cp'}) . ' -vi ' . shell_string($build_dir.'/vmci-only/Module.symvers') . ' ' . shell_string($build_dir . '/../'));
+ }
remove_tmp_dir($build_dir);
return 'yes';
}
EOFile
- Run the installer script
./vmware-install.pl
- After the completion you can enter your vmware trough
https://servername:8333
SE NON CARICA LA PAGINA CORRETTAMENTE, E SI RIAVVIA VMWARE, FORZARE IL REFRESH CON SHIFT-F5
Riferimenti
- VMware - Debian Wiki:Installing VMware Server 2 on Lenny
- Howto install VMware 2.0 Server on Debian Lenny | Failserver.nl - Linux Blog
- VMware/Server - Community Ubuntu Documentation
Debian etch e VMWare 1.0.8
Installare i prerequisiti:
sudo apt-get install linux-headers-`uname -r` libx11-6 libx11-dev xspecs libxtst6 libxrender1 psmisc build-essential
Prelevare la tarball di VMware Server ed ottenere il numero di serie gratuito:
cd /tmp wget URL of the VMware Server for linux binary tar.gz package
Scompattare, e lanciare l'installazione, accettando tutti i default (per il networking, scegliere bridged e basta, se serve quello)
tar xvfz VMware-server-*.tar.gz cd vmware-server-distrib sudo ./vmware-install.pl
Finita l'installazione, da un client con la console di amministrazione di VMWare, è possibile creare, e gestire macchine.
Ubuntu 9.04 e VMware 2.0.1
Per installarla su Ubuntu Gutsy, abilitare il repository partner, e
sudo apt-get install vmware-server
Avviarla con ALT-F2 - vmware
Loggarsi con root/password