Open Virtual Machine Tools (open source VMware Tools) unter Debian 6 Squeeze

    • Offizieller Beitrag

    Unter Windows ist es ja keine besondere Herausforderung die VMware-Tools zu installieren. Unter Debian sieht das ganz anderes aus. Nachdem das tar-Archiv entpackt wurde findet man eine Install.pl. Jedoch brach die bereits nachdem starten mit einem Fehler ab. Da die Fehlermeldung überhaupt nicht aussagekräftig war, fing ich an zu googeln und habe schnell folgendes entdeckt, was einem das Leben sehr viel einfacher macht!


    open-vm-tools
    Die Open Virtual Machine Tools (open-vm-tools) sind die quelloffene Implementierung der VMware Tools. Sie sind eine Sammlung von Virtualisierungskomponenten für das Gastsystem, um die Geschwindigkeit und das Benutzererlebnis von virtuellen Maschine zu verbessern.


    Das hört sich sehr gut an und vorallem sind diese ruck-zuck per 'apt-get install ' installiert!


    Kurzfassung

    Code
    apt-get install open-vm-tools open-vm-source


    Wer eine grafische Oberfläche hat noch folgendes Paket:

    Code
    apt-get install open-vm-toolbox


    Code
    module-assistant auto-install open-vm -i

    Developer | deh-vel-up-ur

    noun


    1 a person or thing that develops stuff: in e.g. software developer, someone having knowledge of a particular topic beyond the level of knowlegde needed for ordinary usage of that topic

    • Offizieller Beitrag

    Tutorial von http://www.surlyjake.com/2011/…ools-on-debian-6-squeeze/



    Installing Open Virtual Machine Tools is a nice alternative to managing and installing the vmware tools package that comes with Vmware’s hypervisor products. It allows you to use APT to manage all the dependencies and updates. Module assistant will recompile the kernel modules for you automatically when you update kernels too.


    I have verified that this configuration works under ESXi 4.1.0, 260247 and a new Squeeze install. All of the essential functions like being able to see guest OS information on the Vsphere summary page and performing “Shut Down Guest” and “Restart Guest” all work as expected. If your experiences vary, please leave a comment


    This should all be performed by the root user (otherwise prepend ‘sudo’ to the commands if you must use sudo).
    The first thing you need to do is add the ‘contrib’ archive to your apt sources config:


    Code
    nano /etc/apt/sources.list


    Add the ‘contrib’ to the end of these source lines. I use the debian.uchicago.edu repository, so mine look like this on a new install:


    Code
    deb http://debian.uchicago.edu/debian/ squeeze main contrib
    deb-src http://debian.uchicago.edu/debian/ squeeze main contrib


    After you save changes to the file, simply update your package list and perform the install:


    Code
    apt-get update
    apt-get install open-vm-tools open-vm-source


    You might see an error that looks like this:


    Code
    Loading open-vm-tools modules: vmhgfsFATAL: Module vmhgfs not found.
     vmmemctlFATAL: Module vmmemctl not found.
     vmsyncFATAL: Module vmsync not found.


    Don’t worry, this is because we have not installed the kernel modules for some of the more advanced VMware functions like the vmhgfs file system, Memory Balloon (vmmemctl) Driver, and vmsync, which helps freeze the VM while taking snapshots.
    To install these kernel modules, we’re going to use module-assistant. It will compile the modules for your kernel:


    Code
    module-assistant auto-install open-vm -i


    The ‘-i’ puts module assistant into non-interactive mode. It wont ask you to confirm any additional package installs necesarry to set up the build environment.
    If you’re running a server without a Graphical environment, you’re finished. If you want features such as automatically adjusting the VM’s monitor resolution or allowing your mouse to seamlessly move between your host system and the VM, you need to install one more package:


    Code
    apt-get install open-vm-toolbox


    Now you won’t need to use CTRL+ALT to switch back and forth.

    Developer | deh-vel-up-ur

    noun


    1 a person or thing that develops stuff: in e.g. software developer, someone having knowledge of a particular topic beyond the level of knowlegde needed for ordinary usage of that topic

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!