depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

Installing VMware Tools in an Ubuntu virtual machine

February 4, 2012 by The Man

Copied from here so I can find it more easily….

Ubuntu Server with only a Command Line Interface

Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).

Note: If you are running the light vesion of Fusion, or a version of Workstation without VMware Tools, or VMware Player, you are prompted to download the Tools before they can be installed. Click Download Now to begin the download.

In the Ubuntu guest, run these commands:

sudo mkdir /mnt/cdrom

When prompted for a password, enter your Ubuntu admin user password.

Note: For security reasons, the typed password is not displayed. You do not need to enter your password again for the next five minutes.

sudo mount /dev/cdrom /mnt/cdrom

The file name of the VMware Tools bundle varies depending on your version of the VMware product. Run this command to find the exact name:

ls /mnt/cdrom

tar xzvf /mnt/cdrom/VMwareTools-.tar.gz -C /tmp/

Note: is the version discovered in the previous step.

cd /tmp/vmware-tools-distrib/

sudo ./vmware-install.pl -d

Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept each default or supply your own answers.

Run this command to reboot the virtual machine after the installation completes:

sudo reboot