Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views :

Step by Step Tutorial to Install Ubuntu 20.04 LTS Server

/
/
/
1333 Views

Canonical was released Ubuntu 20.04 LTS Server along with its Desktop variant on 23 April 2020. The codename of Ubuntu 20.04 is “Focal Fossa”. In this article, you will find the step by step procedure to install Ubuntu 20.04 LTS Server for a production environment.

Related Article: Ubuntu 20.04 LTS Desktop Installation with Screenshots

ubuntu-20.04-server-installation-featured

The LTS (Long-Term Support) releases of Ubuntu are supported for 5 years from the release date and Non-LTS releases are getting support until 9 months from the release date. This is very important that we use the LTS release for the production environment.

The new Ubuntu 20.04 LTS having some enhancement in features like kernel update and toolchain update. You can get full details of the new features of Ubuntu 20.04 LTS on our previous article: What’s New in Ubuntu 20.04 LTS “Focal Fossa”

Ubuntu 20.04 LTS updates to glibc 2.31, OpenJDK 11, rustc 1.41, GCC 9.3, Python 3.8.2, ruby 2.7.0, php 7.4, perl 5.30, golang 1.13.

Minimum System Requirements

Ubuntu 20.04 Server edition supports 5 major architectures and needs a basic system configuration. Ubuntu is used for various services like web hosting, file sharing, email hosting, etc.

Below is the list of the minimum hardware requirements for Ubuntu 20.04 Server Edition.

INSTALL TYPECPURAMHard Drive Space
Server (Standard)1 GHz512 MB1.5 GB
live server1 GHz (amd64 only)1 GB1.5 GB
Server (Minimal)300 MHz384 MB1.5 GB

The above are the minimum requirements for installing the Ubuntu 20.04 Server Edition. You may require a different system configuration depending on your needs.

Steps to Install Ubuntu 20.04 LTS Server “Focal Fossa”

Step 1) Download the ISO image and Create Bootable Disk

At the very first stage, we have to download the ISO image of Ubuntu 20.04 from its official website. You can use the below link for going to the download page.

Or directly download it by clicking on the below button.

After downloading the ISO file, burn the ISO into a USB or DVD to create a bootable disk.

Learn Here: How to Create a Bootable USB disk for Ubuntu

Step 2) Boot from the bootable DISK (USB or DVD)

After creating the bootable disk, reboot the target system and select our bootable disk as the primary boot device.

You will the below screen if the system boots from our bootable disk. Also, select the language on this page by pressing the Enter key.

select-installer-language-for-Ubuntu-20.04-Server
Select Installer Language for Ubuntu 20.04 Server

Step 3) Choose Keyboard layout

After choosing the language, you will be asked to choose the keyboard layout. Select the preferred keyboard layout and press the Enter key to continue.

select-keyboard-layout-for-ubuntu-20.04-server

Step 4) Configure Network

On the next screen, we have to configure the network. If the system is connected to a network then it will automatically receive an IP address. Select Done and press the Enter key to continue.

network-config-for-ubuntu-20.04-server-during-installation

Now if your network setup required to connect to a proxy server, enter the address of it. Otherwise, leave it blank and select Done and press Enter to continue.

configure-proxy-for-ubuntu-20.04-server

After that, we have to configure the Ubuntu archive mirror for downloading updates. Here installer will automatically select the best mirror for you based on the country. You can also enter a different mirror but that is not recommended. After choosing one, select Done and press the Enter key to continue.

archive-mirror-config-for-ubuntu-20.04-server

Step 5) Configure storage (Manual Partition)

In this step, we have to configure the storage configuration and mount points. As you can see in the below image we have two options for storage configuration. The first one is the Use an entire disk option which is also the default selected option and second is the Custom Storage Layout.

If you select the first option Use an entire disk then the installer will remove all existing partitions and erase all the data. In this method, only two new partitions will be created by the installer first is the /boot partition of 1GB and the other one is “/” slash or root partition of all the remaining space.

use-entire-disk-option-in-live-isntaller

Where many blogs and articles suggest the LVM (Logical Volume Manager) partition method, I personally like and prefer the second option which provides the option for creating partition manually.

Also for this tutorial, we will create the partition manually. We are having 50 GB Hard Drive for this installation tutorial and below is the list of the size distribution for different partitions.

  • /boot = 1 GB (ext4 file system)
  • / = 15 GB (ext4 file system)
  • /home = 18 G (ext4 file system)
  • /var = 12 GB (ext4 file system)
  • swap = 4 GB (Swap file system)

To do this, select the second option “Custom Storage Layout” and press Enter for the next step.

select-custom-storage-option-to-create-manual-partition

Creating /boot partition

On the next screen, you can see the list of the connected storage devices. From this list, select the target device in which you want to install the Ubuntu Server. Press the Enter key after selecting the device.

select-target-hard-drive-for-create-partition

You will see the below options when you press the Enter key. Select the “Add GPT Partition” option from this menu and press the Enter Key.

select-add-gpt-partition-option

Now we will be asked for a partition size, format, and mount point. So we are creating the /boot partition of 1GB size in this step as shown in the below image. After filling all the required details select the create option and press the Enter Key.

create-boot-partition-for-ubuntu-20.04-server

Creating “/” or root partition

After that, for creating our next partition repeat the last step. Select the device from the list and select the “Add GPT Partition” option.

add-gpt-partition-for-root-partition

Now enter the details for the “/slash or /root partition. Here we are creating a partition of 15GB size and select mount point as “/” from the drop-down menu.

create-the-root-partition

Creating /home and /var partitions

Now we will create our “/home” and “/var” partition of sizes 18 and 12 GB respectively.

Creating swap partition

In the end, we will create the swap partition of the remaining size. For this, we will add a GPT partition and select the format as “swap” from the drop-down list. Mount point option will not appear after selecting the format as swap.

create-swap-partition-for-ubuntu-20.04-server

After creating all the partitions select the done option and press the Enter key to continue.

finish-partitioning

For writing changes to the disk confirm the action by selecting the continue option and press the Enter key.

confirm-changes-and-write-changes-to-disk

Step 6) Configure System Profile and Hostname

In this step, we will be asked to provide the details for username, password, and hostname for the system. After filling all the details select the “done” option and press the Enter key.

provide-details-for-system-profile-and-hostname

Step 7) SSH Setup

In the next step, you will be asked to install the OpenSSH server. If you want to enable the SSH service after installation then you have to select the option “Install OpenSSH server” but for this tutorial, we will not install the OpenSSH server. Select done and press Enter key to continue.

ssh-setup-during-installation

Step 8) Featured Server Snaps

In this step, the installer will provide the list of server snaps which you can use directly during installation.

For example, if you want to set up a file-sharing server after installing Ubuntu 20.04 LTS then you can select the Nextcloud Snap from the list. But for this tutorial, we are not using any of these snaps. Select Done and press Enter key to continue.

select-featured-server-snaps

After this, the final installation will starts. It will take several minutes to continue.

installation-of-ubuntu-20.04-server-will-starts

Step 9) Finish the installation

After some time you will be asked to “reboot” the server to finish the installation. Select the reboot option and press the Enter key.

installation-of-ubuntu-20.04-server-is-completed

Step 10) Login into the Server

After rebooting the server, you will we the login screen. Use the password we created during installation to login.

ubuntu-20.04-server-login-screen

Here we successfully installed and logged in into the Ubuntu 20.04 Server.

logged-in-into-Ubuntu-20.04-server-1

This concludes the article, and now we have our Ubuntu 20.04 LTS Server installed successfully.

  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Pinterest

2 Comments

  1. For 20.04.1, the installer does not offer the “Featured Server Snaps” in step 8 and appears to skip it. Any way to (re)-enable this feature during or post-installation?

Leave a Comment

Your email address will not be published. Required fields are marked *

This div height required for enabling the sticky sidebar