« HOWTO: Find out the label/UUID/ID for your diskSimple anti-spam measure »

HOWTO: Install VMware tools without a GUI or X

29/09/08

Permalink 06:56:25 pm, by richard Email , 208 words   English (GB)
Categories: Ubuntu Linux, OS and Systems Administration, Virtual Machines

HOWTO: Install VMware tools without a GUI or X

I am assuming you already have an install of Ubuntu Server. I would make a copy of the whole VMware machine and play around with that, just in case :)


Update your server with the latest patches (optional)

sudo apt-get update 


sudo apt-get upgrade

Again this is optional but usually worth while, force any updates for the kernel.

sudo apt-get dist-upgrade


Reboot to take those changes in to effect.

Now to get the header files required for any modules that are compiled during the installation.



There are a couple of packages that are required for VMware Tools to install.

sudo apt-get install linux-headers-`uname -r` 


sudo apt-get install linux-headers-server build-essential

Now we can install the VMware tools, with the server fully booted up. Go back to the web interface (VMserver version 2) and click on the link to install vmtools. (it is on the right hand side).


You will need to mount the VMware Tools CD ISO image

sudo mount /dev/scd0 /cdrom

Change directory to some where convenient say your HOME directory and then untar the tools.

cd ~ 


tar zxvf /cdrom/VMwareTools-n.n.n-nnnn.tar.gz 
cd vmware-tools-distrib 
sudo ./vmware-install.pl

The installation script will ask you questions, I found that defaults worked fine right out of the box :).


All done so reboot.


No feedback yet

Here are a collection of Mini-HOWTOs some of which are too short even for that grand title. I keep them around as it is easier to remember where to look these up that to remember the content of the mini-HOWTO

Search

Contents

blogging tool