Bonjour,
Suite au test de LinuxMCE sur ma machine de production (oui ! quel con :-p ) . Je me suis retrouvé à réinstaller tout mon système. J’ai bien entendu fait des sauvegardes avant de m’y lancer. J’ai ainsi pu tester les limites de Sbackup.
Bref, j’ai aussi décidé de définitivement passer sur feisty (oui, chui un chaud moi 🙂 ) . Et va pour une réinstallation de vmware server 1.0.2 !
wattazoum@Ouattazoum:~/vmware$ tar xzf VMware-server-1.0.2-39867.tar.gz
wattazoum@Ouattazoum:~/vmware$ cd vmware-server-distrsudo ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
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]
The path "/usr/lib/vmware" 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 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 1.0.2 build-39867 for Linux completed
successfully. You can decide to remove this software from your system at any
[...]
A ce niveau, l’installation s’est bien passée.
[...]
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 services:
Virtual machine monitor done
You must read and accept the End User License Agreement to continue.
Press enter to display it.
[...]
Trying to find a suitable vmmon module for your running kernel.
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.20-13-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: entrant dans le répertoire « /tmp/vmware-config2/vmmon-only »
make -C /lib/modules/2.6.20-13-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-13-generic »
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:80:
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: erreur: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: erreur: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: attention : type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Erreur 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Erreur 2
Les soucis commencent. Ne vous inquiétez pas un patch existe. Je l’ai joint à l’article ou encore ici [ .
Continuons :
tar xfz vmware-any-any-update108.tar.gz
wattazoum@Ouattazoum:~/vmware$ cd vmware-
vmware-any-any-update108/ vmware-server-distrib/
wattazoum@Ouattazoum:~/vmware$ cd vmware-any-any-update108/
wattazoum@Ouattazoum:~/vmware/vmware-any-any-update108$ ls
runme.pl services.sh update update.c vmmon.tar vmnet.tar
wattazoum@Ouattazoum:~/vmware/vmware-any-any-update108$ sudo ./runme.pl
Updating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
Et là, plus de problèmes. on peut configurer tranquillement vmware en répondant yes.
Résumé
- Installer VMware [jusqu’à La proposition de commande vmware-config.pl au moins]
- téléchager le fichier vmware-any-any-update108.tar.gz
- le décompresser et aller dans le dossier ainsi obtenu
- lancer en root (avec sudo) le fichier runme.pl
- puis continuer vos activités 🙂
P.S. :
Vous êtes arrivés sur cette page parce que vous cherchiez la solution à un problème avec une version supérieure de noyau et cette procédure ne marche pas ? Suivez le Guide 🙂