L’utilisation des VMware Tools permet d’améliorer significativement les performances des machines virtuelles fonctionnant sous ESX. Si sur de nombreux systèmes cette installation se fait très simplement, sur la dernière mouture Linux Debian 5.0 (Lenny), elle se révèle légèrement plus complexe…
Pour pouvoir installer correctement les VMware Tools, certains packages sont nécessaires (notamment les entêtes du noyau Linux et un compilateur C version 4.1).
debian5:~# apt-get install autoconf automake binutils make psmisc debian5:~# apt-get install cpp gcc-4.1 debian5:~# uname -r 2.6.26-2-686 debian5:~# apt-get install linux-headers-2.6.26-2-686
Si vous venez d’installer fraîchement votre machine virtuelle, vous devez modifier le lien ou utilisez la variable d’environnement CC :
export CC=/usr/bin/gcc-4.1
Si vous utiliser un produit Vmware les vmware-tools sont intégré en général. Sinon récupérer le à cette adresse ici
Installation :
Commencez par monter le fichier ISO en tant que CD-ROM, soit à l’aide de la console VMware, soit en modifiant la configuration de votre VM depuis VMware Infrastructure Client.
Suivez ensuite le déroulement ci-dessous :
debian5:~# mount /dev/cdrom/ /media/cdrom debian5:~# cd /root debian5:~# cp /cdrom/VMwareTools-3.5.0-143129-debian-lenny.tar.gz . debian5:~# tar xvfz VMwareTools-3.5.0-143129-debian-lenny.tar.gz debian5:~# cd vmware-tools-distrib/ debian5:~/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 3.5.0 build-143129 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] no Enjoy, --the VMware team
Attention, le reste de la procédure doit être effectué directement depuis la console système (pas de SSH car la configuration des VMware Tools réinitialise les interfaces réseaux).
debian5:~/vmware-tools-distrib# vmware-config-tools.pl
Le script de configuration doit démarrer et vous prévenir qu’il ne trouve pas de module vmmemctl approprié pour votre système. Acceptez alors la compilation du module depuis les sources.
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 vmmemctl module for your system (you need to have a C compiler insatlled on your system) ?
Le script doit alors compiler et installer les différents drivers pour votre système. Après installation vous devez avoir deux nouveaux process d’actifs :
debian5:~ps -aux |more root 6980 2 0 12:03 ? 00:00:00 [vmmemctl] root 7023 1 0 12:03 ? 00:00:00 /usr/sbin/vmware-guestd
3acidity
gay dating army scam https://gaypridee.com/