Install VMWare Tools on Ubuntu Server
28.04.2009
von Mario Rasser
von Mario Rasser
How to install VMWare Tools on Ubuntu (tested on Ubuntu 8.10 and 8.04 LTS) in a rush:
- Within your VMWare Infrastructure Client or WebGUI do a “Install VMWare Tools”
- VMWare will provide a ISO Image with the VMWare Tools to the Virtual Machine
- SSH to the Ubuntu Server you want the VMWare Tools be installed
- OPTIONAL but prefered:
sudo su - aptitude update aptitude full-upgrade
- do the following steps as root or prefix a
sudo:aptitude install build-essential linux-headers-`uname -r` mount /dev/cdrom cd /media/cdrom0/ cp VMwareTools-2.0.0-122956.tar.gz /usr/src/ cd /usr/src/ tar xfzv VMwareTools-2.0.0-122956.tar.gz cd vmware-tools-distrib/ ./vmware-install.pl # answer the question via defaults init 6

Or just use the open-vm-tools (debian, so should work for ubuntu too)
* apt-get install module-assistant open-vm-source open-vm-tools
* module-assistant prepare
* module-assistant build open-vm-source
* module-assistant install open-vm-source
OR:
apt-get install --no-install-recommends linux-headers-virtual open-vm-dkms open-vm-toolsesp. for Ubuntu 10.04 LTS as the orginal VMWare tools are not compiling anymore. The
--no-install-recommendsprevents installation of not needed stuff on Ubuntu Server installations.Thanks for your contribution!