Instalace VMware Tools pro Debian / Ubuntu Linux
Před instalaci je nutné převzít práva superuživatele (root):
Ubuntu: sudo -s
po výzvě zadáme heslo uživatele, které jsme uvedli při instalaci systému
Debian: su
po výzvě zadáme heslo uživatele root, které jsme uvedli při instalaci systému
Ke kompilaci tools je potřeba mít nainstalované balíčky: kernel headers, pmsmisc, gcc, make aptitude install linux-headers-`uname -r` psmisc gcc make
Postavíme se do dočasného adresáře a stáhneme a rozbalíme instalační soubory:cd /tmp
wget http://repo.tvujweb.cz/vmware-tools/esxi-tools.tar.gz
tar xfvz esxi-tools.tar.gz
Přejdeme do instalačního adresáře a spustíme instalaci:cd vmware-tools-distrib
./vmware-install.pl
Poté se instalační script zeptá na řadu otázek, stiskněte vždy "Enter" pro výchozí volbu 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]
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]
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]
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 installed on your system)?
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.26-2-amd64/build/include]
None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]
None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes]
None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]
None of the pre-built vmci modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmci module for
your system (you need to have a C compiler installed on your system)? [yes]
None of the pre-built vsock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? [yes]
None of the pre-built vmxnet3 modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet3 module
for your system (you need to have a C compiler installed on your system)?
[yes]
None of the pre-built pvscsi modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the pvscsi module for
your system (you need to have a C compiler installed on your system)? [yes]
Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.26-2-amd64
Po 18 zmáčknutích klávesy "Enter" máme VMwareTools úspěšně nainstalovány na našem virtuálním serveru. Teď už je třeba jej jen restartovat
# reboot








