An Ubuntu server can be installed once you have created a bootable medium with the open source operating system’s in­stall­a­tion image. The in­stall­a­tion wizard will then guide you through the in­stall­a­tion process with helpful graphics. In the following article, we have sum­mar­ised the most important in­form­a­tion and first setup steps for you.

Free Cloud Server Trial
En­ter­prise-grade virtual private servers
  • KVM based dev servers for de­velopers
  • Scalable to en­ter­prise cloud level
  • Pay-as-you-go, per-minute billing

Step by step to in­stalling and setting up an Ubuntu server

Ubuntu is the server edition from the popular Linux dis­tri­bu­tion. Ubuntu provides a min­im­al­ist basis for a wide variety of server needs, such as an email server, a web hosting platform or a file server. The “Ubuntu Server Edition” does not have a graphical user interface which makes it very resource efficient. Below are the re­quire­ments for a smooth operation.

  • 1 gigahertz CPU,
  • 1 gigabyte RAM
  • and 2.5 gigabytes of storage space

We’ll give you all the important in­form­a­tion you need for the Ubuntu server in­stall­a­tion and setup. This tutorial is based on the 22.04 version.

Step 1: How do I create an Ubuntu server boot medium?

Creating a boot medium is the simplest way to start the Ubuntu server in­stall­a­tion. You’ll need a CD/DVD or USB stick with at least 4 gigabytes of available storage for this. You’ll also need the image file from the Ubuntu server ap­plic­a­tion which you can download from the official Ubuntu website.

Copy the ISO file to the selected medium once it has been down­loaded.

Tip

Are you unsure how to create a bootable medium on your current system? Developer Canonical provides detailed in­struc­tions on their official website on how to create an Ubuntu server boot stick in Windows, macOS and Linux!

Step 2: How do I start the in­stall­a­tion?

You can set up or install your Ubuntu server once you have created a boot medium. All you have to do is connect your server to the boot stick and boot the device. If you are using a CD or DVD, insert the disk and reboot the server. Once the image file has been read, the server will show a display window of the boot­load­er GNU GRUB. Confirm by clicking `Try or Install Ubuntu Server´ to start in­stalling the Ubuntu server.

Step 3: How do I select system language and keyboard layout?

The Ubuntu server in­stall­a­tion wizard software will start after a short pre-con­fig­ur­a­tion. This actually has a graphical interface, unlike the operating system itself. The operation is very simple. Use the arrow keys to scroll between the various options and confirm your selection with Enter. You’ll select the system language in the first step of the in­stall­a­tion, which will sub­sequently be used as the in­stall­a­tion language.

Once the system language has been selected, you can continue with the con­fig­ur­a­tion of the keyboard layout. You can find the keyboard language manually in the available list or use the option `Identify keyboard´ to let the wizard determine the layout.

Step 4: How do I select the Ubuntu server variant?

You can select the type of in­stall­a­tion in the next step. Selecting the default in­stall­a­tion `Ubuntu Server´ will give you a basic set of software packages, which will allow you to work com­fort­ably and at regular intervals. The `Ubuntu Server (minimized)´ option will exclude a number of tools during the in­stall­a­tion. However, you should only choose this resource-saving option if you plan to use the server in­fre­quently.

Place an `x´ beside the in­stall­a­tion type of your choice by clicking Enter to select one of the two options.

Step 5: How do I configure network and proxy settings?

We will explain the settings for network con­nec­tion and proxy server.

If your Ubuntu server is already connected to a network with an active DHCP service, the ap­pro­pri­ate network adapter should already be pre­con­figured. You can continue the in­stall­a­tion by clicking “Continue without network” if you cannot or do not want to establish a con­nec­tion at this point.

If you want your Ubuntu server to use a proxy server to connect to the internet, you should enter the in­di­vidu­al address of the HTTP proxy in the following space.

Step 6: How do I configure the Ubuntu Archive Mirror?

Every software package which belongs to the Ubuntu dis­tri­bu­tion is updated regularly and stored in the public archive `archive.ubuntu.com/ubuntu´. There are copies of the archive so you don’t have to use this one ex­clus­ively if you don’t want to. Ubuntu Archive Mirrors or Ubuntu Mirror Servers are used for security and load balancing. Simply enter the mirror details you want to use instead of the default archive.

Step 7: How do I manage storage space?

You can decide in the next section, `Storage con­fig­ur­a­tion´, whether you want one large hard disk or several par­ti­tions. The preselec­ted option of a whole hard disk is usually the best choice for an Ubuntu server.

The wizard will give a summary of the file system in the following window. Do not worry if you see several par­ti­tions here even if you have decided against par­ti­tion­ing. This is because Ubuntu auto­mat­ic­ally reserves small par­ti­tions of the hard disk for important system files and the boot loader.

Once the storage con­fig­ur­a­tion has been confirmed, you will receive a message that the data on the affected disk will be deleted. You must agree to the deletion process to continue the in­stall­a­tion.

Step 8: How do I set up my profile?

Enter your name, username and password to create the user account for your Ubuntu server. You can also specify your server’s name which will be displayed when com­mu­nic­at­ing with other computers.

Step 9: How do I set up SSH?

SSH is an important tool required for secure remote access to your server. You can install the OpenSSH program package during the Ubuntu server in­stall­a­tion by placing an `x´ in the box. You can also import valid SSH keys from GitHub or Launchpad if you already have them.

Tip

We have detailed in­form­a­tion on how to enable SSH in Ubuntu in the Digital Guide in case you skipped this step during in­stall­a­tion.

Step 10: How do I complete Ubuntu server in­stall­a­tion?

The wizard will auto­mat­ic­ally start the in­stall­a­tion after the SSH setup. You will see the message `Install complete´ if this is suc­cess­ful.

Remove the boot media and select “Reboot Now” to complete the in­stall­a­tion.

Tip

Learn how to set up an Ubuntu FTP server to upload files to a web space of your choice con­veni­ently and securely in our detailed article.

Go to Main Menu