Create a Ubuntu 18.04 VM on VMware vSphere using vCenterVirtualization vCenter
This tutorial will show you how to create a Ubuntu 18.04 VM on an ESXi 6.7 host managed by vCenter 6.7 using the VMware vSphere Client (HTML5).
The following steps have been tested on a VMware vSphere ESXi 6.7 host managed by version 6.7 of the vCenter Server Appliance.
For this tutorial we need to download the Ubuntu Server 18.04 ISO image. Here is a direct link to the ISO which is located on this download page.
Once downloaded, we need to upload it to a datastore. Read the post tiled: How to Upload an ISO to a VMware vSphere datastore with the vSphere Client (HTML5) to learn how to upload the ISO.
Step 1: Login to vCenter
Login to the vCenter Server Appliance by typing its IP or domain name into a web browser then clicking the button to launch the vSphere Client (HTML5).
Enter your username and password then click LOGIN.
Step 2: Create the Ubuntu VM
Click on the Hosts and Clusters icon at the top left.
Right click on your Cluster or a host then click New Virtual Machine…
Select Create a new virtual machine then click NEXT.
Give the machine a name then click NEXT.
Select a host in the cluster to add the VM to then click NEXT.
Select a datastore connected to the ESXi host then click NEXT.
Select the compatibility level then click NEXT.
Select Linux for the Guest OS Family, Ubuntu Linux (64-bit) for the Guest OS Version then click NEXT.
Configure the Virtual Hardware by choosing the amount of CPU cores, Memory and the size of the hard disk. In the following example I’ve used the minimum requirements for Ubuntu (1 CPU, 512 MB RAM, 4 GB HDD).
After assigning the CPU, Memory and hard disk, select the network and change the CD/DVD Drive to Datastore ISO File.
Make sure the CD/DVD drive is connected when the VM powers on by ticking the checkbox box labeled Connect At Power On.
Click BROWSE… to assign the Ubuntu ISO.
Navigate to the folder on a datastore containing the Ubuntu ISO image then click OK.
Click FINISH to create the VM.
We’re now ready to power on the VM and install the operating system.
Step 3: Install Ubuntu on the VM
Click on the name of the virtual machine, then click the green power on button next to its name.
Click Launch Web Console.
The web console should open in a new browser tab and the Ubuntu 18.04 installer will begin. Go through the installer, configuring the keyboard, networking, disk, users and software, as you would on any other hardware.
Once finished, the OS will reboot and you should be able to login.
In this tutorial, we created a virtual machine by connecting to vCenter Server using the VMware vSphere HTML5 client. The virtual hardware was configured with the minimum requirements to run Ubuntu and then we installed the OS.
Now that you’ve created a Ubuntu VM, you may find the following posts useful:
Written by: Tony Mackay