Internet und Hostinglösungen
  • Werbung
  • Schlagwörter

VMware Tools unter Debian 6 Squeeze, 7 Whezzy und 8 Jessie installieren

Installation


Paketmanager


apt-get install open-vm-tools


Manuell


Legen Sie die vmWare Tools Installations CD in der virutuelle Laufwerk der VM ein.

Alle Befehle in einer Zeile für die Schnellinstallation:
apt update
apt -y upgrade
apt install -y gcc linux-headers-$(uname -r)
mount /dev/cdrom /mnt/
tar -C /usr/src -xzvf /mnt/VMwareTools-*.tar.gz
umount /mnt
/usr/src/vmware-tools-distrib/vmware-install.pl

System aktualisieren:
apt-get update && aptitude -y upgrade


Installieren Sie die Linux Header:
apt-get install -y gcc linux-headers-$(uname -r)


Mounten der Installations-CD
mount /dev/cdrom /mnt/

mount: block device /dev/sr0 is write-protected, mounting read-only


Nun können Sie die vmWare Tools nach /usr/src/ entpacken:
tar -C /usr/src -xzvf /mnt/VMwareTools-*.tar.gz


Die Installations CD wird nun nicht mehr benötigt:
umount /mnt


Die Installation der vmWare Tools starten:
/usr/src/vmware-tools-distrib/vmware-install.pl

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

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]


The VMware FileSystem Sync Driver (vmsync) allows external third-party backup
software that is integrated with vSphere to create backups of the virtual
machine. Do you wish to enable this feature? [no]


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.2.0-4-amd64/build/include".
The path "/lib/modules/3.2.0-4-amd64/build/include" appears to be a valid path
to the 3.2.0-4-amd64 kernel headers.
Would you like to change it? [no]


The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [no]

The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[no]

Would you like to enable VMware automatic kernel modules?
[no]


Nachdem folgende Meldung erscheint, wurden die vmWare Tools erfolgreich installiert:
Enjoy,

--the VMware team