VMWare tools on Ubuntiu

The VMware Tools are software installed on a guest VM for improving performance when running on a VMware/EsxVMware/Player,VMware/Server or VMware/Workstation host. The tools provide:

  • VMware Network acceleration
  • VMware Video acceleration
  • Host to Guest time synchronization
  • Seamless mouse movement between host and guest
  • Cut & Paste – Guest to Host and Guest to Guest (with VMware Toolbox) (possibly only on gnome)
  • Disk Shrink (with VMware Toolbox running at root)
  • Startup/Shutdown Scripts (with VMware Toolbox running at root)
  • HeartBeat (VMware/Esx only ?)

The VMware tools are part of open-vm-tools. Make sure that the ”multiverse” repository is enabled and do:

#install kernel headers so modules will work
#needed this on a 10.04 guest running in a Fusion 3 host
apt-get install linux-headers-virtual

# install kernel modules
apt-get install --no-install-recommends open-vm-dkms

# EITHER: install tools for an xorg install
apt-get install open-vm-tools
# OR: a headless install
apt-get install --no-install-recommends open-vm-tools

VMware provide packages for Ubuntu. The install procedure is documented in VMware Tools Installation Guide: Operating System Specific Packages.

To add the repository and install tools do:

apt-add-repository 'deb http://packages.vmware.com/tools/esx/4.1latest/ubuntu lucid main restricted'
wget http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub -q -O- | \
    apt-key add -
# (The above links to the ESX "4.1latest" builds of VMware-tools; however,
# these packages should be compatible with all VMware servers, not just ESX 4.1)
apt-get update
apt-get install vmware-open-vm-tools-kmod-source
module-assistant prepare
module-assistant build vmware-open-vm-tools-kmod-source
# depending on your kernel version, you may need to specify the path to headers like this
# module-assistant build vmware-open-vm-tools-kmod-source -v -t -k /usr/src/linux-headers-2.6.35-25-server/
module-assistant install vmware-open-vm-tools-kmod

# EITHER: install tools for headless system
apt-get install vmware-open-vm-tools-nox
# OR: install for Xorg system
apt-get install vmware-open-vm-tools
Or if you want official instructions:
http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html#1008207

~ di diegotech su febbraio 7, 2012.

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

 
%d blogger cliccano Mi Piace per questo: