Ubuntu Server with only a Command Line Interface
- In Fusion, Workstation, Player, or ESXI, go to Virtual Machine > Install VMware Tools.
- In the Ubuntu guest, run these commands:
- sudo mkdir /mnt/cdrom
When prompted for password, enter Ubuntu’s admin user password.
-
sudo mount /dev/cdrom /mnt/cdrom
-
Run this command to find the exact name of the VMware Tools bundle; the file name varies depending on your version:
ls /mnt/cdrom
-
tar xzvf /mnt/cdrom/VMwareTools-<x.x.x-xxxx>.tar.gz -C /tmp/
Note: <x.x.x-xxxx> 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 the defaults or supply your own answers.
- sudo mkdir /mnt/cdrom
-
Run this command to reboot the virtual machine after the installation completes:
sudo reboot