Choose your Linux distribution
Compare Debian, Ubuntu, AlmaLinux, Rocky Linux and the other systems offered on HostMyServers VPS: support lifetime, use cases, versions to avoid and selection criteria.
On this page
This guide helps you choose the system to install on your VPS. The most important thing is not to find the "best" distribution, but to pick one that will keep receiving security fixes throughout the life of your project, and that you know how to administer.
The short answer
| Your situation | Recommended choice |
|---|---|
| You are a beginner or you follow our application guides | Ubuntu 24.04 LTS |
| You want a simple, stable server | Debian 13 |
| Your software targets Red Hat Enterprise Linux | AlmaLinux 10 or AlmaLinux 9 |
| You already run a fleet of Rocky Linux servers | Rocky Linux 9 |
| Your server only runs containers | Debian 13 or Ubuntu 24.04 LTS with Docker, or Flatcar if you have mastered how it is configured |
If in doubt, choose Ubuntu 24.04 LTS or Debian 13. Both systems are well documented and use the same basic tools.
Systems offered by HostMyServers
The VPS instances page lists the following systems:
| System | Versions listed |
|---|---|
| Debian | 13, 12, 11, 10, 9, 8 |
| Ubuntu | 25.04, 24.10, 24.04, 22.04, 20.04, 18.04, 16.04 |
| AlmaLinux | 10, 9, 8 |
| Rocky Linux | 9, 8 |
| CentOS | CentOS Stream 9, CentOS Stream 8, CentOS 8, CentOS 7.9 |
| Fedora | 42, 41, 40, 39 |
| Alpine Linux | 3.x |
| Arch Linux | latest |
| Flatcar | Container latest |
The same page also offers FreeBSD, Mikrotik CHR and Windows Server, which are not Linux distributions. For Windows, see Hardware Requirements for Windows Server.
It also mentions installation from a custom ISO, which is useful for a system missing from this list.
Check the support period
A system without support no longer receives security fixes. This is the first criterion to check.
| System | Regular support until | Extended security support | Status |
|---|---|---|---|
| Debian 13 | August 9, 2028 | LTS until June 30, 2030 | Recommended |
| Debian 12 | Ended June 11, 2026 | LTS until June 30, 2028 | Usable, plan to migrate eventually |
| Ubuntu 24.04 LTS | May 2029 | ESM until May 2034 | Recommended |
| Ubuntu 22.04 LTS | May 2027 | ESM until May 2032 | Plan your migration |
| AlmaLinux 10 | May 31, 2030 | Security until May 31, 2035 | Recommended |
| AlmaLinux 9 | May 31, 2027 | Security until May 31, 2032 | Recommended |
| Rocky Linux 9 | May 31, 2027 | Security until May 31, 2032 | Recommended |
| AlmaLinux 8, Rocky Linux 8 | Ended May 31, 2024 | Security until May 31, 2029 | For existing servers |
| CentOS Stream 9 | May 31, 2027 | None | Short lifetime |
Sources: Debian LTS, Ubuntu release cycle, AlmaLinux releases, Rocky Linux releases, CentOS.
On Ubuntu, ESM maintenance goes through Ubuntu Pro. Check its terms if you are counting on it.
Versions to avoid for a new server
| Versions | Reason |
|---|---|
| Debian 8, 9, 10, 11 | Support has ended, including Debian 11 LTS on August 31, 2026 |
| Ubuntu 24.10, 25.04 | Interim releases, with only 9 months of updates |
| Ubuntu 16.04, 18.04, 20.04 | Standard support has ended, fixes are only possible with Ubuntu Pro |
| CentOS 7.9 | End of life on June 30, 2024 |
| CentOS 8 | End of life on December 31, 2021 |
| CentOS Stream 8 | End of life on May 31, 2024 |
| Fedora 39 to 42 | End of life reached, Fedora 42 being the most recent in this list (official dates) |
Only use them to run old software that requires them, on an isolated server and with a migration plan.
Compare the families
| Criterion | Debian | Ubuntu LTS | AlmaLinux, Rocky Linux |
|---|---|---|---|
| Package manager | apt |
apt |
dnf |
| Package format | .deb |
.deb |
.rpm |
| Usual security module | AppArmor | AppArmor | SELinux |
| Common firewall | Your choice | UFW, disabled by default | firewalld |
| Main strength | Simplicity and stability | Documentation and third-party software | Compatibility with the RHEL ecosystem |
| Point to watch | Packages are sometimes older | Choose an LTS version | SELinux must be taken into account in your configurations |
Debian
Debian is very well suited to a server you want to keep simple and predictable. Its packages change little during the life of a release. If you need a more recent kernel, you can install the one from backports.
Ubuntu LTS
Ubuntu LTS is often the target of software vendors and many tutorials. Choose a version ending in LTS: interim releases are not maintained long enough for a server.
AlmaLinux and Rocky Linux
These two distributions follow Red Hat Enterprise Linux. They suit software certified for RHEL and teams that already know dnf, SELinux and firewalld. For a new server, AlmaLinux 10 currently offers the longest support among the versions of this family listed by HostMyServers.
More specialized systems
- Alpine Linux is very lightweight and is based on musl, BusyBox and OpenRC. Some software compiled for glibc does not run on it directly. The support period depends on the 3.x version installed: see the official list.
- Arch Linux is a rolling-release distribution. It provides very recent versions, but requires regular, careful updates.
- Fedora is interesting for discovering new features, but each version is only maintained for about 13 months.
- Flatcar is a minimal, immutable system designed for containers. Its configuration is generally prepared before the first boot. Its documentation will help you check that this method suits your deployment.
Choose according to your project
| Project | Preferred system | Why |
|---|---|---|
| Website, WordPress, PHP | Ubuntu 24.04 LTS, Debian 13 | Plenty of packages and documentation |
| Docker application | Ubuntu 24.04 LTS, Debian 13 | Common, well-documented installation |
| RHEL-certified enterprise software | AlmaLinux 10 or 9, Rocky Linux 9 | Compatibility expected by the vendor |
| Game server | The system required by the game or its tool | Dependencies vary from server to server |
| Small network service | Debian 13, Alpine Linux | Small footprint |
| Lab, trying out new features | Recent Fedora via ISO, Arch Linux | Recent software, fast cycle |
Our guides state the system they are written for. For example, n8n targets Ubuntu 24.04 LTS and SonarQube targets Rocky Linux 9. Check this before installing your server.
Check your system after installation
cat /etc/os-release
uname -srmThen check that the repositories respond and apply the updates:
# Debian, Ubuntu
sudo apt update && sudo apt upgrade
# AlmaLinux, Rocky Linux
sudo dnf upgradeContinue with Secure your server. That guide uses Debian and Ubuntu commands: on AlmaLinux and Rocky Linux, adapt them with dnf and firewalld.
Switch distributions later
Moving from one family to another, for example from Debian to AlmaLinux, in practice means reinstalling the server. A reinstallation can erase the disk: back up your data, databases and configuration files, then check that the backup is usable. You can, for example, back up the VPS with Clonezilla.
To move to the next version of the same distribution, always follow its official procedure and make a backup first.
Troubleshooting
apt: command not found or dnf: command not found
The guide you are following does not match your system family. Check it with cat /etc/os-release, then use apt on Debian and Ubuntu, dnf on AlmaLinux, Rocky Linux and Fedora, apk on Alpine or pacman on Arch Linux.
does not have a Release file
E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.This error appears in particular when a version has left the current repositories, such as Debian 10 or Ubuntu 24.10. Do not disable APT's security checks to get around it. Install a maintained version, or plan a migration after making a backup.
dnf or yum can no longer find a repository on CentOS
CentOS 7, CentOS 8 and CentOS Stream 8 are no longer maintained, and their usual repositories are no longer available. For a new server, choose AlmaLinux or Rocky Linux.
An application refuses to install on Alpine
It may depend on glibc, whereas Alpine uses musl. Look for a package or image built for Alpine, or choose Debian or Ubuntu.
The system you want does not appear when ordering
The list may change depending on the plan. Check the choices offered in your client area. You can also use a custom ISO, or ask support for advice.