Actualités

Installation des VMware-tools sur Debian Lenny
clockEcrit par Poil | clock2009-06-23 10:16:20

Les VMware-tools permettent d'améliorer les performances des machines virtuelles - en fournissant des drivers optimisés - ainsi que d'améliorer l'ergonomie dans l'utilisation des VM - détection du passage de curseur sur une VM (sous X), résolution graphique dynamique ...

Etapes d'installation :

Installer les paquets pré-requis :

aptitude install linux-headers-$(uname -r)  autoconf automake binutils make psmisc cpp gcc-4.1 

Modifier le compilateur C par défaut :
Au besoin - si un compilateur C autre que GCC 4.1 est installé - modifier la variable d'environnement CC afin de la faire pointer sur GCC 4.1:

export CC=/usr/bin/gcc-4.1 

Si cette méthode ne fonctionne pas, écraser le lien symbolique gcc sous /usr/bin

cd /usr/bin
ls -al gcc*
lrwxrwxrwx 1 root root      7 2009-06-04 15:01 gcc -> gcc-4.3
-rwxr-xr-x 1 root root 196996 2009-01-18 16:39 gcc-4.1
-rwxr-xr-x 1 root root 207648 2008-12-31 13:52 gcc-4.3
# le lien gcc pointe vers gcc-4.3, modifons le :
rm gcc
ln -s gcc-4.1 gcc

Installer les "Tools"

cd /tmp
mount /cdrom
cp /cdrom/VMwareTools-7.8.5-156735-debian-lenny.tar.gz .
tar zxvf VMwareTools-7.8.5-156735-debian-lenny.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl
Creating a new installer database using the tar4 format.

Installing the content of the package. This may take from several minutes to over an hour depending on the size 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-tools]

The path "/usr/lib/vmware-tools" 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 documentation files? 
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" 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 Tools 7.8.5 build-156735 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: 
"/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes]

Configurer les "Tools"

None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the XXXXX module for your system (you need to have a C compiler installed on your system) ?  

Répondre "yes", chaque étape doit se terminer par "The xxxx module loads perfectly into the running kernel."

A vous !

Commentaires

Aucun commentaire
Développé par Poil - Graphismes de DarkDaV - Icônes sous licence Creative Commons (famfam, nuovo ...)
Durée de génération : 0.32628297805786 secondes