The process of installing Ubuntu Server 16.04 be it on a Virtual Machine or an actual system can seem daunting at first, but aside from the GUI that Ubuntu Desktop boast the process is the same.
A prerequisite to the installation will be your boot media, I tend to use a USB stick for this as the process of creating the device is much easier and does not require any blank disks. There are a number of applications online that allow for you to create a bootable device but I have found Rufus to be the simplest and easiest to use.
Once you have the bootable device all you need to do is insert it into the system and power it on.
Stage 1 – Select Language to display the installation in
Stage 2 – Choose the type of installation, for the purpose of this tutorial and all my personal usage we will select “Install Ubuntu Server”
Stage 3 – Select installation language
Stage 4 – Select Location
Stage 5 – Configure the keyboard, for the purpose of this demo it will be done manually. But there is the option for automatic keyboard detection
Stage 6 – Select the keyboard configuration that best suit you
Stage 7 – The installation detects disks and other hardware
Stage 8 – The installer will acquire additional components such as the setup of the clock
Stage 9 – The Installer then goes on to detect the network hardware
Stage 10 – Select the host name for the system or just the name of the system. An example might be mail if your device is intended to be a mail server.
Stage 11 – Type in the users full name (The Username will be automatically detected using the users first name but can be changed)
Stage 12 – Select user password and retype for confirmation
Stage 13 – Select if you want your home directory to be encrypted (I usually select no as I have limited requirement for it)
Stage 14 – Confirm the automatic detection of the clock settings (If it is incorrect by selecting no you will be given the option to select yours)
Stage 15 – The installer then detects all other disks and Hardware
Stage 16 – Selecting the disk size and creating partitions (For this installation we only need this to be installed as a sole OS as the rest of the machines will be running virtually from this host server) You can select use entire desk or set up LVM. The only real benefit of LVM is on the fly partition changes.
Stage 17 – Select this disk to write changes to
Stage 18 – Confirm that you wish to write the changes, it may warn you that you will lose all existing data
Stage 19 – Final confirmation to write changes to disk
Stage 20 – The installer will then install the system to the disk/partition you have your opted for
Stage 21 – Installer is configuring the Apt source lists
Stage 22 – At this stage of the installation you are given the option to set up a Proxy connection, if you do not require this leave it blank and continue
Stage 23 – The installer is selecting and installing the required software
Stage 24 – At this stage I would suggest selecting “Install security update automatically” but decided based on your own preferences
Stage 25 – The software selection alow for you to pre install certain packages before the initial boot into the server. This could potently save time, but I personal add all my software after the installation so select manual package.
Stage 26 – The installer will then install any selected softwares and clean up once it is done.
Stage 27 – The installer then sets up and installs the GRUB boot loader
Stage 28 – If this is the only OS on the system then you need not worry about just selecting yes.
Stage 29 – Confirm and finish the installation
After you have finished the installation the system will reboot and you should remove the bootable media from the system before it boots back up.
A good method on first logging into the new system is to run the commands below as there is a high change the system will inform you that there are a number of packages that require updating. You can run them all at once with example 1 or individual wit example 2.
sudo apt-get updates; sudo apt-get upgrade; sudo apt-get dist-update
sudo apt-get updates sudo apt-get upgrade sudo apt-get dist-update