Ubuntu 24.04 LTS Server Installation Guide

Ubuntu 24.04 LTS (Noble Numbat) is a Long Term Support release with five years of standard support. Ubuntu Server is the Ubuntu edition for network services. It has no GUI, and its installer (Subiquity) uses a text-based menu. This post shows how to install Ubuntu 24.04 LTS Server step by step.

Before you begin

System requirements

  • At least 2 GB of RAM (4 GB or more recommended)
  • At least 25 GB of disk space
  • A 64-bit processor

Installation media

  • An empty USB drive (at least 4 GB)
  • The Ubuntu 24.04 LTS Server ISO image

Download the Ubuntu 24.04 LTS Server ISO image from the official Ubuntu website.

Ubuntu 24.04 Server install: Ubuntu Server download page

Create a bootable USB drive

Do these steps to make a bootable USB drive.

  1. Download Rufus (Windows) or balenaEtcher (Windows, macOS, Linux).
  2. Start the program and select the Ubuntu ISO file.
  3. Select the USB drive and click Start.

Install Ubuntu 24.04 LTS Server

Boot from the USB drive

In the BIOS/UEFI setup, set the USB drive as the boot device. Connect the USB drive and boot from it to start the installer.

Ubuntu 24.04 Server install: GRUB boot menu

Select the language

Select the language for the installer.

Ubuntu 24.04 Server install: select the language

Select the keyboard layout

Select the keyboard layout. This example uses “English (US)”. You can change the layout later.

Ubuntu 24.04 Server install: keyboard configuration

Select the type of installation

Select “Ubuntu Server”.

Ubuntu 24.04 Server install: choose the type of installation

Configure the network

Configure the network interfaces. You can use DHCP or set a static IP address.

Ubuntu 24.04 Server install: network configuration

Configure a proxy

If your network uses a proxy server, enter its address. If not, leave the field empty.

Ubuntu 24.04 Server install: proxy configuration

Configure the Ubuntu archive mirror

If you use a specific Ubuntu archive mirror, enter it. If not, keep the mirror that the installer selects.

Ubuntu 24.04 Server install: Ubuntu archive mirror configuration

Configure the storage

Select the disk and the partition layout. The default uses the entire disk. To create your own partitions, select “Custom storage layout”.

Ubuntu 24.04 Server install: guided storage configuration
Ubuntu 24.04 Server install: storage configuration summary

The installer warns that the operation erases the data on the disk. Select “Continue” to proceed.

Ubuntu 24.04 Server install: confirm destructive action

Create the user account

Create the administrator account. Enter the name, the server name, the username, and the password.

Ubuntu 24.04 Server install: profile configuration

Upgrade to Ubuntu Pro

The installer asks whether to enable Ubuntu Pro. This example selects “Skip for now”.

Ubuntu 24.04 Server install: upgrade to Ubuntu Pro

Configure the SSH server

Usually you select “Install OpenSSH server”, so you can connect remotely right after the installation.

Ubuntu 24.04 Server install: SSH configuration

Select featured server snaps

Select the server snaps that you want to install. If you do not need any, select “Done”.

Ubuntu 24.04 Server install: featured server snaps

Start the installation

The installation starts after you complete the configuration. When it completes, remove the USB drive and select “Reboot Now”.

Ubuntu 24.04 Server install: installation complete, Reboot Now

Installation complete

After the reboot, the login prompt appears.

Ubuntu 24.04 Server install: login prompt after reboot

Log in with the administrator account.

Initial setup

Update the system

Install the latest packages and security updates.

sudo apt update && sudo apt upgrade -y

Install the SSH server

If you did not select the OpenSSH server during the installation, install it with this command.

sudo apt install openssh-server -y

Install a GUI

Ubuntu 24.04 LTS Server has no GUI by default. To get the same desktop as Ubuntu Desktop, install the ubuntu-desktop package.

sudo apt install ubuntu-desktop -y

This is a referral link. I may receive credit if you sign up, at no extra cost to you.

Try it on a cloud server — Deploy Ubuntu on Vultr

References

Leave a Reply