Servers and cloud
Linux distributions for servers
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
Ubuntu Server is a version of the Ubuntu operating system designed and engineered as a backbone for the internet.1, source 1 On Ubuntu Server, the terminal is the primary way of interacting with the system.2, source 2
Ubuntu Server is a member of the Ubuntu family and is an open source project.1, source 1 It provides a common, minimalist base for server applications such as file and print services, web hosting and email hosting.3, source 3 You can use it to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm.1, source 1
Canonical states that Ubuntu Server is certified by leading hardware OEMs.4, source 4 Ubuntu Server includes integrated deployment and application modeling tools.4, source 4
Classic Ubuntu uses deb packages and supports snaps for specific apps, and it is available across desktop flavors and server and cloud images.5, source 5 Ubuntu Core is an all-snap edition of Ubuntu designed for appliances and IoT.5, source 5 Linux is a multi-user system.2, source 2
Ubuntu Server provides a flexible base that can run on a wide range of hardware, from small virtual machines to enterprise-scale computing.6, source 6 It supports the amd64, arm64, armhf, ppc64el, riscv64 and s390x architectures.6, source 6 The memory and storage figures below are for Ubuntu 24.04 LTS (Noble) on amd64, and other releases and architectures might differ slightly.6, source 6
For Ubuntu 24.04 LTS (Noble) on amd64, the minimum RAM is 1.5 GB for ISO installs and 1 GB for cloud images, and the suggested minimum is 3 GB or more.6, source 6 The minimum storage for that release on amd64 is 5 GB for ISO installs and 4 GB for cloud images, and the suggested minimum is 25 GB or more.6, source 6
The primary function of a web server is to store, process and deliver web pages to clients.7, source 7 A static web server returns the hosted files as-is.7, source 7 A dynamic web server consists of a web server plus additional software, usually an application server and a database.7, source 7 Ubuntu Server's documentation covers the Apache2 and nginx web servers, the Postfix, Exim4 and Dovecot mail services, and the MySQL and PostgreSQL databases.1, source 1
Juju can be used to design and deploy entire workloads, from a command line or browser-based interface.4, source 4 It works on public clouds such as AWS and Microsoft Azure, on private clouds built on OpenStack, and directly on bare metal via MAAS.4, source 4 MAAS is a provisioning system that makes it quick and easy to set up the physical hardware needed to deploy complex services.4, source 4 LXD is the Linux container hypervisor, and it merges the speed and density of containers with the manageability and security of traditional virtual machines.4, source 4
Ubuntu publishes a release every six months.5, source 5 Each release gets a development codename and is versioned by the year and month of delivery.5, source 5 LTS stands for long term support.4, source 4 LTS releases come out every two years and receive 5 years of standard security maintenance, with CVE patches for packages in the Main repository.5, source 5
LTS releases are recommended for production environments, enterprises and long-term projects.5, source 5 Ubuntu's interim releases are designed for people and teams who move fast and need access to up-to-date kernels, languages and toolchains.5, source 5 Interim releases provide cutting-edge features and hardware support every six months, but with only 9 months of updates.5, source 5
Ubuntu 22.04 LTS was released in Apr 2022, with standard security maintenance to May 2027, Expanded Security Maintenance to May 2032 and the Legacy add-on to May 2037.5, source 5 Ubuntu 24.04 LTS was released in Apr 2024, with standard security maintenance to May 2029, Expanded Security Maintenance to May 2034 and the Legacy add-on to May 2039.5, source 5 The release name for Ubuntu 24.04 LTS is Noble.6, source 6
Ubuntu 26.04 LTS was released in Apr 2026, with standard security maintenance to May 2031, Expanded Security Maintenance to May 2036 and the Legacy add-on to May 2041.5, source 5 Ubuntu 26.04 LTS has the codename resolute.2, source 2 Ubuntu 26.10 was released in Oct 2026, with standard security maintenance to Jul 2027 and no Expanded Security Maintenance.5, source 5
Ubuntu Pro is Canonical's enhanced security and support subscription for Ubuntu systems.5, source 5 It includes up to 15 years of security coverage (Expanded Security Maintenance and the Legacy add-on), Kernel Livepatch, Landscape, FIPS 140-3 certified packages, CIS hardening and optional enterprise-grade support.5, source 5 Ubuntu Pro extends the life of every Ubuntu LTS from 5 years of standard security maintenance for the Main repository to 10 years for the entire Ubuntu Archive (Main and Universe repositories).8, source 8
Expanded Security Maintenance provides 10 years of vulnerability fixes for critical, high and selected medium vulnerabilities across the whole Ubuntu archive, as defined by Ubuntu Priority.8, source 8 With the Legacy add-on, the security maintenance and support commitment extends by an additional 5 years, to 15 years.8, source 8 Packages in Universe and Multiverse are not officially supported and do not receive security patches, except through Ubuntu Pro's Expanded Security Maintenance.9, source 9 Kernel Livepatch offers rebootless security patching automation to address high and critical kernel vulnerabilities that surface between scheduled maintenance windows.8, source 8
Access to Landscape enables centralized administration for large Ubuntu estates.8, source 8 Ubuntu Pro includes security hardening features for compliance with frameworks including FIPS 140, DISA-STIG, CIS, FedRAMP, CMMC, PCI-DSS and Cyber Essentials.8, source 8 Existing Ubuntu LTS systems can be upgraded in-place to Ubuntu Pro without redeployment, with a single command.8, source 8 Ubuntu Pro is integrated with leading public clouds, so its security and compliance features can be activated through cloud marketplaces.8, source 8
Ubuntu Pro subscriptions are free for personal use on up to five machines.5, source 5
The installation tutorial recommends at least 2 GB of RAM and 5 GB of disk space.3, source 3 Before installing Ubuntu Server Edition, you should make sure all data on the system is backed up.3, source 3 The amd64 server download is available from releases.ubuntu.com, where you select a version and choose the server install image.3, source 3
The server download includes the installer.3, source 3 The simplest and most common way to boot the installer is to create a bootable USB stick.3, source 3 If a computer does not boot from USB automatically, the key for its boot menu could be Escape, F2, F10 or F12, depending on the manufacturer.3, source 3 The installer is designed to be easy to use and to have sensible defaults, so for a first install you can mostly just accept the defaults.3, source 3
At the core of every Ubuntu release is a collection of deb packages.5, source 5 The recommended way to install deb packages is the Advanced Packaging Tool (APT), used on the command line with the apt utility.9, source 9 dpkg is a package manager that can install, remove and build packages.9, source 9 Ubuntu packages are grouped into four main categories: Main and Restricted (the base system), and Universe and Multiverse (community and extra packages).5, source 5
Main and Universe are open source, while Restricted and Multiverse contain some non-open source software.5, source 5 Ubuntu supports snap packages, which suit apps and tools that update frequently and independently from the main system.5, source 5 By default, the universe and multiverse repositories are enabled.9, source 9
On Ubuntu 24.04 LTS (Noble) and later, Ubuntu repositories are defined in the /etc/apt/sources.list.d/ubuntu.sources file.9, source 9 Releases before 24.04 LTS, which don't use the deb822 standard by default, have their repository information in the /etc/apt/sources.list file.9, source 9
Running sudo apt update updates the local package index with the changes made in the repositories.9, source 9 To upgrade installed packages, you update the package index first and then run sudo apt upgrade.9, source 9 The default for Ubuntu Server is to automatically apply security updates.9, source 9 The do-release-upgrade command is the recommended way to upgrade Server edition and cloud images.10, source 10
Before a release upgrade, it is extremely important that the data is safely copied to a backup location.10, source 10 You can only upgrade from one LTS release directly to the next sequential LTS release.10, source 10 Upgrades from one LTS release to the next are only available after the first point release.10, source 10 Third-party software repositories and Personal Package Archives (PPAs) are disabled during the release upgrade.10, source 10
Servers rarely have a graphical user interface (GUI) installed.2, source 2 The shell is much more resource-efficient and faster than a graphical interface, since it does not need to handle computationally expensive graphics.2, source 2 The command line interface gives you far more control over your system than the graphical user interface.2, source 2
In Canonical's Multipass tutorial, the Ubuntu image is the same for Server and Desktop.2, source 2 In that tutorial, the only difference between Ubuntu Server and Ubuntu Desktop is the subset of software packages used from the Ubuntu Archive.2, source 2 The virtual machine that Multipass provides in Canonical's tutorial has no graphical user interface.2, source 2
Aptitude gives a menu-driven, text-based frontend to the APT system when you launch it with no command-line options.9, source 9 You can automate routine or large and complex tasks in the shell with shell scripts and command chaining.2, source 2
Ubuntu flavors are community-maintained variants that offer different desktop environments and user experiences.5, source 5 The release cycle for Ubuntu flavors may differ from the one described for Ubuntu.5, source 5
OpenSSH provides a server daemon and client tools for secure, encrypted remote control and file transfer, effectively replacing legacy tools.11, source 11 Traditional tools such as telnet or rcp are insecure and transmit the user's password in cleartext when used.11, source 11 The OpenSSH server component, sshd, listens continuously for client connections from any of the client tools.11, source 11 OpenSSH can use many authentication methods, including plain password, public key cryptography and Kerberos tickets.11, source 11
The command sudo apt install openssh-server installs the OpenSSH server application and related support files.11, source 11 You can configure the OpenSSH server in /etc/ssh/sshd_config or with configuration snippets in the /etc/ssh/sshd_config.d/ directory.11, source 11 Before restarting the SSH server after a change, you can check the configuration with sudo sshd -t.11, source 11 A mistake in the sshd configuration can lock you out of a server if SSH is your only method of access.11, source 11
The ed25519 Elliptic Curve algorithm is recommended for SSH keys because of its shorter key size and lower computational requirements.11, source 11
The Linux kernel includes the netfilter subsystem, which is used to manipulate or decide the fate of network traffic headed into or through your server.12, source 12 The default firewall configuration tool for Ubuntu is ufw.12, source 12 ufw is by default initially disabled.12, source 12 The command sudo ufw allow 22 opens a port, in this case the SSH port.12, source 12
To enable ufw, run sudo ufw enable.12, source 12
Sometimes, but servers rarely have a graphical user interface installed. On Ubuntu Server, the terminal is the primary way of interacting with your system.
The software packages they use, in Canonical's Multipass tutorial. There, Server and Desktop share the same Ubuntu image and differ only in the subset of packages used from the Ubuntu Archive.
LTS releases receive 5 years of standard security maintenance. Ubuntu Pro extends that to 10 years, and the Legacy add-on to 15 years. Interim releases get only 9 months of updates.
At least 1.5 GB for ISO installs of Ubuntu 24.04 LTS amd64. Cloud images of that release need at least 1 GB, and its suggested minimum is 3 GB or more. Other releases and architectures might differ slightly.
Run sudo apt update, then sudo apt upgrade. The default for Ubuntu Server is to automatically apply security updates.
Every fact on this page comes from one of these, checked before it goes live.
Servers and cloud
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
Servers and cloud
A server can be hardware, software or both, and it answers client requests. A web server finds the file your browser asks for and sends it back over HTTP.
· Mateo Cardenas
Servers and cloud
Linux is a free, open source operating system built around the Linux kernel. Red Hat names flexibility and security among the reasons people choose it.
· Mateo Cardenas
Servers and cloud
nginx is an open source HTTP web server, reverse proxy, content cache and load balancer. Learn how the nginx configuration works and how to set it up.
· Mateo Cardenas