Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Install Ubuntu Server 26.04: the step-by-step guide

14 min read
Improve this page

Installing Ubuntu Server 26.04 LTS takes about ten minutes, and its Subiquity installer goes straight to the point. This guide walks through every screen with screenshots, on a real installation: downloading the live-server ISO, keyboard navigation in Subiquity, the LVM partitioning offered by default (volumes you can resize), creating the administrator account, installing the OpenSSH server with one checkbox, then checking that the machine boots and answers over SSH. It is written for beginners setting up their first server and for administrators used to Debian who are discovering Ubuntu's installer.

What you will learn

  • Download the right Ubuntu Server 26.04 image (live-server).
  • Boot Subiquity and drive it screen by screen.
  • Understand the LVM partitioning that Ubuntu offers by default.
  • Create a user account with sudo rights.
  • Install an SSH server from the installer, with one checkbox.
  • Check the installation: boot, account, remote access.

Prerequisites

  • A target machine: a physical server or a virtual machine (Hyper-V, VMware Workstation, KVM, UTM or Proxmox). To practise, a VM is ideal; see Install Linux in a virtual machine.
  • 25 GB of disk and 3 GB of RAM to be comfortable with Subiquity, which loads an environment into memory.
  • An Internet connection: the installer downloads security updates during the installation.

Download the Ubuntu Server 26.04 ISO

Go to ubuntu.com/download/server or releases.ubuntu.com/26.04 and get the live-server image for amd64. It is an image of about 2.8 GB that ships the Subiquity installer.

ubuntu-26.04-live-server-amd64.iso

Always check the integrity of the download with the checksum published in the SHA256SUMS file of the same directory:

Terminal window
sha256sum ubuntu-26.04-live-server-amd64.iso

The value displayed must match exactly the one in the official file. A difference means a corrupted or tampered file.

Boot Subiquity

Attach the ISO to the VM (or write it to a USB stick), boot from it, and after a few seconds of loading, Subiquity displays its first screen. Subiquity is a text-mode installer driven entirely with the keyboard: arrow keys to move, Space to tick, Enter to validate, Tab to reach the buttons.

The first screen chooses the installer language.

Language selection in the Ubuntu Server 26.04 installer

Next comes the keyboard layout, usually detected correctly. Check that it matches your hardware: a French keyboard is AZERTY.

Keyboard configuration in the Ubuntu installer

Choose the installation type

Ubuntu offers two bases. Ubuntu Server is the default choice: a comfortable set of packages for administering a server. Ubuntu Server (minimized) targets automated environments where nobody logs in by hand. For a standard server, keep Ubuntu Server and leave the third-party drivers unticked.

Choosing the Ubuntu Server installation type

Network and proxy

Subiquity configures the network automatically with DHCP (the network assigns an address to the machine by itself). The screen shows the detected interface and the IP address obtained: note it down, you will need it for the SSH connection.

Automatic network configuration in the Ubuntu installer

The next proxy screen is left empty in nearly all cases. The mirror screen already offers the nearest repository: keep it.

Partition the disk with LVM

Ubuntu offers guided partitioning and, unlike Debian, ticks LVM by default. Keep "Use an entire disk" with the LVM option enabled. Disk encryption (LUKS) stays optional (useful on a workstation or on a server exposed to physical theft).

Guided storage configuration with LVM in Ubuntu

The summary shows the structure created: a separate /boot, and a logical volume for the root / in the LVM group. A detail worth knowing: Ubuntu does not allocate all the space to the root, it leaves some free in the volume group so that you can extend it later. For a production server, the partitioning choices (separate /var, swap) are detailed in Choose and automate a Linux server installation.

Summary of the LVM partitioning in Ubuntu

Validating triggers a destructive confirmation: this is the point of no return. The default answer is "No"; switch to "Continue" to start the installation, which then runs in the background while you answer the next screens.

Confirmation of the destructive operation in Ubuntu

Create the administrator account

Ubuntu does not ask for a root password: it directly creates a user who receives sudo rights. Fill in your name, the server name (the hostname), a login name and a strong password.

User profile configuration in Ubuntu

The next screen offers to upgrade to Ubuntu Pro, Canonical's subscription that extends security fixes to more packages and over a longer period. It is free for personal use (up to five machines), but you can simply choose "Skip for now" and enable it after the installation with pro attach.

Ubuntu Pro screen in the installer

Install the SSH server

This is the decisive screen for a server, and Ubuntu makes it very clear: a simple "Install OpenSSH server" checkbox. Tick it with the Space bar. It is much clearer than Debian's task selection, where you can forget SSH without realising it.

SSH configuration screen with the OpenSSH box ticked

The "Allow password authentication over SSH" box is enabled by default. It is handy to get started, but on an exposed server, import an SSH key instead ("Import SSH key" field) and disable the password once you are connected.

The next screen offers popular application snaps (Docker, Nextcloud, microk8s), self-contained packages specific to Ubuntu. For a minimal server, tick none of them: you will install them when needed.

Selection of optional server snaps in Ubuntu

Installation and reboot

The installation finishes in the background. The log scrolls by and you see the key steps go past, including installing openssh-server and the download of security updates.

Ubuntu Server installation log

When the header shows "Installation complete!", remove the installation medium (eject the ISO) and choose "Reboot Now".

Installation complete screen of Ubuntu Server

First login and checks

The machine reboots into a text-mode console. At the first boot, cloud-init generates the SSH host keys, then displays the login prompt. Log in with the login name and password you created.

Three commands confirm that everything is in order:

Terminal window
# The version: you should see Ubuntu 26.04 and kernel 7.0
uname -a
# The user's groups: "sudo" must appear
id
# The SSH daemon must be present
pgrep -l sshd

First login and verification commands on Ubuntu Server 26.04

The output of uname -a confirms Ubuntu 26.04 with kernel 7.0. The output of id contains the sudo group: the account can administer the machine. Finally, pgrep -l sshd returns the PID of the SSH daemon, which listens continuously (Ubuntu enables the ssh service persistently).

From another computer, connect with the IP noted on the network screen:

Terminal window
ssh your_user@server_ip_address

Security and points of attention

  • Switch to SSH key authentication and disable the password: automated attacks that guess passwords then have nothing left to try. See Create and manage SSH keys.
  • Update from the first login: sudo apt update && sudo apt upgrade.
  • Enable the firewall simply with ufw: sudo ufw allow OpenSSH then sudo ufw enable.
  • Install only what is needed: every extra snap or package is extra attack surface.

Troubleshooting

SymptomLikely causeSolution
Kernel panic at the 1st rebootThe installer's kexec rebootDo a full power-cycle of the VM
The machine reboots into the installerInstallation medium not removedEject the ISO, or fix the boot order
No SSH access"OpenSSH server" box not tickedsudo apt install openssh-server
sudo deniedAccount outside the sudo group (rare)sudo usermod -aG sudo <user> from an admin account
No IP addressNetwork not configured with DHCPCheck the Netplan config (Ubuntu's network tool) in /etc/netplan/
Installer frozen on the mirrorSlow network mirror testWait, or fix the proxy/DNS

Key points

  1. Take the live-server ISO (interactive), not the cloud image (automated).
  2. Subiquity is driven with the keyboard: arrows, Space to tick, Tab for the buttons.
  3. Ubuntu ticks LVM by default and leaves free space in the volume group: a good habit for extending a volume later.
  4. The SSH server installs with one checkbox: do not forget it.
  5. Ubuntu creates a user with sudo right away, with no root password.
  6. In case of a kernel panic at the first reboot, do a power-cycle: it is the installer's kexec, not the installation.

Next steps