How to Install Ubuntu 20.04 Server

Ubuntu Server 20.04, also named Focal Fossa, has been released by Canonical and it’s now ready for installation. This article will walk you through the process of installing Ubuntu 20.04 Server Edition with Long Time Support on your machine.

If you’re looking for a fresh desktop installation or server up-gradation, then read our previous articles: Installation of Ubuntu 20.04 Desktop and How to Upgrade to Ubuntu 20.04.

Download Ubuntu 20.04 ISO Image

Use the following link to download the Ubuntu 20.04 live server install ISO image, which is provided only for 64-bit systems.

  1. ubuntu-20.04-live-server-amd64.iso

After downloading the ISO image, you need to create a bootable DVD using Rufus tool or a bootable USB drive using the Unetbootin LiveUSB Creator.

Install Ubuntu 20.04 Server Edition

1. To kickstart the installation process, place the bootable CD/DVD into a drive or USB in a port on your machine. Then boot from it by pressing your computer’s boot key (which should be one of F9, F10, F11, or F12 depending on the manufacturer settings).

Once the system has booted, you will land on the installer welcome interface shown in the following screenshot asking you to select the installation language. Press Enter to continue.

Select Ubuntu Installation Language

Select Ubuntu Installation Language

2. Next, select your keyboard layout and press Enter to proceed.

Select Ubuntu Keyboard Layout

Select Ubuntu Keyboard Layout

3. If your system is connected to a network, it should receive an IP address from your DHCP server. Press Done to continue.

Ubuntu Network Connection

Ubuntu Network Connection

4. Based on your network set up, if you need a proxy server to connect to the internet, enter its details here. Otherwise, leave it empty and press Done.

Configure Proxy

Configure Proxy

5. Next, you need to configure the Ubuntu archive mirror. The installer will select it automatically based on your country. Press Done to proceed.

Configure Ubuntu Archive Mirror

Configure Ubuntu Archive Mirror

6. Now its time to configure your storage. You need to create the storage layout as explained below. For this guide, we will show how to do this manually, therefore, go to Use an entire disk and then select check the option Set up this disk as an LVM group.

Note that the installer will create the root partition (with a small size by default), then you can manually edit its sizes and also create a swap partition.

Guided Storage Configuration

Guided Storage Configuration

The following screenshot shows the default file system summary. Our test machine has a total of 80 GB hard disk capacity.

Storage Configuration Summary

Storage Configuration Summary

Creating/Editing Root Partition Size

7. Next, under USED DEVICES, scroll to the root partition and press enter to get partitioning options. Select Edit as shown in the following screenshot, and press Enter.

Select Root Partition

Select Root Partition

8. Then edit the partition size as shown in the following screenshot. For example, set it to 50GB and scroll down or use tab to go to Save and press Enter.

Set Root Partition Size

Set Root Partition Size

9. Now the root partition should have a size amounting to what you specified while editing it, as highlighted in the following screenshot.

Root Partition Summary

Root Partition Summary

Note: If you do not want to create a separate /home partition, skip the next step, head over to create a swap partition.

Creating a Separate /home Partition

10. Next, you need to create a home partition for storing user files. Under AVAILABLE DEVICES, select the LVM volume group and press Enter. In the partitioning options, scroll down to Create Logical Volume.

Create Home Partition

Create Home Partition

11. Next, enter the home partition size. Set it appropriately so that you leave some space for a swap partition/area. Under Format, select ext4 and Mount should be /home as highlighted in the following screenshot. Then scroll down to Create and press Enter.

Set Home Partition Size

Set Home Partition Size

The /home file system has been created successfully.

Home Partition Summary

Home Partition Summary

Creating a Swap Partition

12. Now you need to create a swap partition. Under AVAILABLE DEVICES, select the LVM volume group and press Enter. In the partitioning options, scroll down to Create Logical Volume.

Create Swap Partition

Create Swap Partition

13. Then edit the partition size and set the Format field to swap as highlighted in the following screenshot and press Enter.

Set Swap Partition Size

Set Swap Partition Size

14. Your new file system summary should now have a /boot, /root, /home, and swap partition as shown in the following screenshot. To write the changes to the harddisk, scroll down to Done, and press Enter.

File System Partition Summary

File System Partition Summary

15. Confirm the action by selecting Continue and press Enter.

Confirm Partition Changes to Disk

Confirm Partition Changes to Disk

16. Now create a user profile by mentioning your name, server’s name, username, and a secure and strong password. Then scroll to Done and press Enter.

Create New User

Create New User

17. Next, the installer will prompt you to install the OpenSSH package for remote access. Use space to choose that option. Then scroll down to Done and press Enter.

Install SSH Server

Install SSH Server

18. If you want to install some snaps, select them from the provided list. Use the space bar to select a snap. Then go to Done and press Enter.

Choose Snaps to Install

Choose Snaps to Install

19. The installation process should now start as shown in the following screenshot. Once it is done, press Enter to reboot the system.

Installing Ubuntu System

Installing Ubuntu System

Installation Complete

Installation Complete

20. After a reboot, you can now log into your new Ubuntu 20.04 LTS server as shown in the following screenshot.

Log into New Ubuntu 20.04 Server

Log into New Ubuntu 20.04 Server

That’s all friends! You have successfully installed Ubuntu 20.04 LTS server edition on your machine. You can leave a comment concerning this guide via the feedback form below.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

6 Responses

  1. Capinha413 says:

    Does anyone know what is the difference between ubuntu-live-server and ubuntu-legacy-server?

    Thank you.

    • Aaron Kili says:

      @Capinha413

      The main difference is the server installer, Ubuntu Server Live Installer will now provide an option to automatically update itself every time it boots, while the Legacy installer can not auto-update: https://ubuntu.com/blog/ubuntu-server-20-04.

      • Mbah says:

        Hi,

        Thank you for your rich content, Please I just curious, Where are your from like your continent if you can say your Country. I am a guest from Cameroon in Africa and I have a profit a lot from your write up. I hope you don’t find this offensive.

        Thank you

  2. Where is GUI of server??? Is there any possibility to get Ubuntu GUI.

    • Ravi Saive says:

      @Muhammad,
      Yes its possible, as you can install any desktop environments like cinnamon, mate, gnome or xfce with one single command.

      Install Gnome Desktop:

      $ sudo apt-get install gnome-shell ubuntu-gnome-desktop
      

      Install Mate Desktop:

      $ sudo apt-get install ubuntu-mate-desktop
      

      Install Cinnamon Desktop:

      $ sudo apt-get install cinnamon-desktop-environment
      

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.