Install Ubuntu 18.04 Virtual Machine

in a VMware ESXi 6.7 Environment

Posted by Scott Bollinger / @kfalconspb on July 24, 2018 #General

Base Camp

Needing a desktop to work from while building the new infrastructure, one of the first virtual machine's I'm building is a Ubuntu 18.04 with a desktop environment. I'll also be updating the OS, and installing the Open-VM-Tools.

The Ubuntu install is pretty straight forward, so this was a pretty quick lab.

At this point, vCenter is not installed, so I'm logged directly into the HTML5 Client on the Host. Select VM's and Templates, and Create and New Virtual Machine.

Create a new virtual machine

Configure the VM's Name, select the compatibility, guest OS family, and version.

Select the datastore location to store the VM. I select an NFS datastore, but can seamlessly Storage vMotion it elsewhere, once I have the VCSA installed and configured.

Customize any of the Guest resources as desired. I changed the CD-Rom to DataStore ISO, and selected the location where I have the Ubuntu Install ISO file.

Click Finish to Create the VM

Power On the VM, and click on the little remote screen to open a remote session tab.

You should be able to see Ubuntu booting from the ISO.

Selecting my Keyboard Layout

Select, Install Ubuntu.

Select Normal, download updates, and install third party software

I selected LVM, but did not choose to encrypt, as this is a lab, and the NAS where the VM disk will be stored is encrypted.

Click Continue, to write partition changes to disk.

Select timezone

Configure the host's name, enter name, username, and password.

Off it goes installing!

Once the installation is complete, click Restart Now

<

Open a terminal console, and type the following to install all available updates, and upgrades: sudo apt-get update && echo 'y' | sudo apt-get upgrade && echo 'y' | sudo apt-get dist-upgrade && echo 'y'

To install Open VM Tools, type the following: sudo apt-get install open-vm-tools open-vm-tools-desktop

Type Y to continue.

From the VMware Host's HTML5 client the VMTools now show install and the version of OpenVMTools is shown.

To reboot type: sudo reboot

Thanks for reading

Scott Bollinger / @kfalconspb