martedì 3 luglio 2007

Come installare VMWare server su Fedora Core 7

Una meravigliosa guida che spiega come installare vmware server su fedora 7.

http://www.howtoforge.com/vmware_server_fedora7

ecco il cuore della guida:

make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

This happens because VMware Server isn't ready for a 2.6.21 kernel yet (the default kernel in Fedora 7 is 2.6.21.3). Therefore, we must patch VMware Server a little bit. This can be done as follows:

wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz
tar xvfz vmware-any-any-update110.tar.gz
cd vmware-any-any-update110
./runme.pl

The ./runme.pl command will continue the VMware Server installation. This time it should succeed, and again you can accept all default values. When it asks you

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

you can either accept the default value or specify a location that has enough free space to store your virtual machines.

At the end of the installation, you will be asked to enter a serial number:

Please enter your 20-character serial number.

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

Fill in your serial number for VMware Server.

After the successful installation, you can delete the VMware Server download file and the installation directory:

cd /home/falko/Desktop
rm -fr vmware-server-distrib
rm -f VMware-server-*.tar.gz

You will now find VMware Server under Applications > Other
ATTENZIONE:
Può essere causa di errore l'assenza di xinetd, quindi prima di iniziare l'installazione assicurarsi di avere xinetd:
yum install xinetd

ATTENZIONE 2:
Una altra possibile causa di problemi è la presenza del file
/etc/vmware/not_configured
occorre eliminarlo:
rm /etc/vmware/not_configured

Nessun commento: