CentLinux | Learn How to Install CentOS/Rocky Linux Servers

Sunday, February 2, 2020

How to install Ubuntu 18.04 LTS Server with screenshots

How to install Ubuntu 18.04 LTS Server with screenshots

Ubuntu is a free and open-source distribution of Linux based on Debian. Ubuntu available in three editions; Desktop, Server and Core. Ubuntu is a popular operating system for cloud computing with support of Open Stack.

Ubuntu releases every six months with a support period of one year, and it's LTS (Long Term Support) versions releases after every 2 years with a support period of 5 years.

The latest LTS release of Ubuntu is 18.04, code named Bionic Beaver.

In this Lab, you will learn how to install Ubuntu 18.04 LTS Server with screenshots. We are using a virtual machine in this lab, but the same steps can be used for installing Ubuntu 18.04 LTS server on bare metal system.

Ubuntu 18.04 LTS server does not include a GUI (Graphical User Interface), therefore sysadmins have to perform most of the administration tasks from CLI (Command Line Interface). Therefore, it is advisable for the new sysadmins to read Mastering Ubuntu Server: Master the art of deploying, configuring, managing, and troubleshooting Ubuntu Server 18.04, 2nd Edition by Packt Publishing.

 

Table of Contents:

How to install Ubuntu 18.04 LTS Server with screenshots


Ubuntu 18.04 LTS Server Requirements:

The recommended system requirements for installation of Ubuntu 18.04 LTS server are:

  • CPU - 1 Ghz
  • Memory - 1 GB
  • Storage - 1.5 GB

 

Environment Specification:

We are using a virtual machine with following specification.

  • CPU - 3.4 Ghz (2 cores)
  • Memory - 2 GB
  • Storage - 40 GB

 

Installing Ubuntu 18.04 LTS Server:

Ubuntu 18.04 LTS server is available to download from Ubuntu official website.

After downloading Ubuntu 18.04 ISO, attach it in the DVDROM of the virtual machine.

Start the virtual machine.

The installer will take you to the Language selection page.

01-install-ubuntu-language-selection

Select your preferred language and press Done.

02-install-ubuntu-keyboard-configuration

Select your Keyboard layout here. You can detect your keyboard layout by using "Identify keyboard" option. You will be asked a couple of questions and the auto-detection tool will identify your keyboard.

Press Done after selecting the right keyboard layout.

03-install-ubuntu-network-connections

The installer will automatically configures a DHCP assigned network for your Ubuntu server. However, you can configure manual IP address and related settings according to your requirement form this screen.

There is a "Create bond" option available on this screen. By using this option you can configure a network bond (Link aggregation) if your Server has more than one network interfaces.

Press Done after configure your network settings.

04-install-ubuntu-configure-proxy

If your Ubuntu machine requires a proxy server to connect to Internet, you can provide the details on this screen.

Press Done to continue to next screen.

05-install-configure-ubuntu-archive-mirror

If you want to use a non-default archived mirror, then enter the details here, otherwise continue with the default archived mirror and press Done.

06-install-ubuntu-filesystem-setup

Select the partitoning options here.

You can select default partioning scheme, LVMS or manual partitioning from this screen.

We are selecting "Use An Entire Disk And Set Up LVM" option.

Press <ENTER> on the selected option to continue to next screen.

07-install-ubuntu-filesystem-setup-disk-selection

Select the disk that you want to use for creating partitions and press <ENTER>.

08-install-ubuntu-filesystem-setup-summary

The installer will display the partition layout according to predefined template. You can further customize the partition layout here.

Press Done after customizing the partition layout.

09-install-ubuntu-filesystem-setup-confirm

Ubuntu installer will ask you to confirm the required action. Because this is a destructive action and it will remove all existing data and partitions on your selected disk.

Since, we are using a virtual machine therefore, there is no need to worry about the data lost.

Press "Continue" to create partitions and LVMS.

10-install-ubuntu-profile-setup

Create an admin user on this screen.

After configuring user profile, Press Done to continue.

11-install-ubuntu-ssh-setup

Select "Install OpenSSH Server" for remote administration of your Ubuntu Server. Leave the other options to defaults and press Done to continue.

12-install-featured-server-snaps

If you want to install additional server environments on your Ubuntu LTS machine, then you can select the available snaps from this screen.

We are not selecting any snap here, because, as a best practice we always prefer to install any software on server if and only if it is required, thus enforcing the concept of Bastion system.

Press Done to continue.

13-install-ubuntu-install-complete

14-install-ubuntu-installation-complete

After installation click on Reboot Now.

15-install-ubuntu-reboot

Press <ENTER> to reboot.

16-install-ubuntu-console-login

Login to the CLI shell of Ubuntu server.

We have successfully installed Ubuntu 18.04 LTS Server.

If you find this article useful? Consider supporting us by Buy Me A Coffee


© 2023 CentLinux. All Rights Reserved.