Ubuntu is one of the most well-known and useful server Operating Systems available. Today I am going to show you how to build Ubuntu Server 14.04.3 LTS as a Virtual Machine running on VMware vSphere ESXi using the VIrtual Machine Remote Console (VMRC) and ISO Image on local disk. Let’s get started….
Download the ISO
First, download the Ubuntu Server ISO from: http://www.ubuntu.com/download/server
Creating the VIrtual Machine container
Open the vSphere Client, connected to your ESXi Host, then right-click and choose: New Virtual Machine
Choose: Custom (always do this!)
Name your VM
Select a datastore
Choose the Virtual Machine Hardware Version. I recommend going no higher than Virtual Machine Version 8, at least until VMware figures out the client mess it has gotten itself into!
Select: Linux and then choose Ubuntu Linux (64-bit)
Set the number of vCPU’s to assign. An interesting property of this dialog is that the “Total Number of Cores” (vCPU’s) is the only number that matters as far as the CPU resources assigned to this VM. The reason you can choose sockets and/or cores per virtual socket relates to cost of licensing for certain products, not COMPUTE resources!
Choose the amount of RAM
Choose the network the VM will be assigned to. VMXNET 3 is a VMware paravirtual networking adapter that is compatible with recent Ubuntu Releases,
Choose the SCSI Controller for the VM. I prefer VMware Paravirtual (which is compatible with Ubuntu), but choose LSI Logic Parallel because I intend to make this into a cross-platform Virtual Appliance after I am complete.
Choose: New Disk
Set the disk size and provisioning. I choose Thin Provision because I intend to make this VM into a Virtual Appliance
Choose the default: SCSI 0:0
Installing Ubuntu as the Operating System
Right click on the VM and choose: Open Console
Power the VM on by clicking the green arrow.
Once the VM is powered on, then you can click the CD/DVD Icon (at the top of the console window) and choose: Connect to an ISO on local disk
Choose to the ISO you downloaded from Ubuntu
Now: Send Ctrl+Alt+Del to cause the VM to restart. You must restart the VM internally, as opposed to causing a reset, which would disconnect the VM from the ISO
Choose your language
Choose: Install Ubuntu Server
Select your language
Choose your country
Do not detect keyboard layout
And choose: English (US)
Allow the installer to load files
Name your server
Provide a “Full name” for the administrator
Provide a username for the administrator
Set the password for this user
Re-enter the password
Allow the server to get the time
Choose your time-zone
Select: Guided – use entire disk and set up LVM
Choose the (only) disk
Accept the default, which represents the entire disk
Allow the installation to run
Leave this blank (for most installations) and select: Continue
Choose your update policy
Now select the packages you want to install. I select only: OpenSSH server because I prefer to manage the installation of the other packages after the server is up and running.
The installation is finished. We must first disconnect the CD/DVD by clicking on the icon and “Disconnect from…..”
Now select: Continue
And this is your booted Ubuntu Server!
- Install Open VM Tools