Skip to content

VPS: Getting Started with AlmaLinux 9 and 10

Learn how to install AlmaLinux 9 or 10 on your VPS and get started: dnf, SELinux, networking, and firewall.

27 November 20262 min read1 Views0 helpful

Introduction

AlmaLinux is a free Linux distribution that is compatible with Red Hat Enterprise Linux (RHEL). Software built for RHEL therefore generally runs on AlmaLinux too. You can install AlmaLinux 9 or AlmaLinux 10 on your VPS, either when placing a new order or later by selecting Reinstall operating system.

Which version is right for you?

  • AlmaLinux 10: the latest version, with security updates through 2035. The best choice for new projects.
  • AlmaLinux 9: the proven previous version, with security updates through 2032. Choose it if your software specifically requires RHEL 9 or AlmaLinux 9.

Installing AlmaLinux

  • New VPS: When placing your order, select AlmaLinux 9 or AlmaLinux 10 in the Operating System step.
  • Existing VPS: Open your VPS in the ZapX dashboard, click Reinstall operating system, and select the AlmaLinux version you want.
Warning

Reinstalling deletes all data on the server. Make a backup beforehand if you need to keep anything.

Your server will be reachable after about a minute. During its first startup, it automatically installs all available updates, which may take a few additional minutes.

First login

Log in over SSH as the root user with the password shown in the ZapX dashboard. If you have added an SSH key to your profile, you can also log in using that key. Learn how here: First access via SSH

Differences from Debian and Ubuntu

Packages with dnf instead of apt

AlmaLinux uses the dnf package manager. Here are the most important commands:

TaskCommand
Update the systemdnf upgrade -y
Install a packagednf install <paket>
Search for a packagednf search <begriff>
Remove a packagednf remove <paket>

You can find many additional packages in the EPEL repository. Enable it with:

Code
dnf install -y epel-release
Tip

Some EPEL packages also require the CRB repository. Enable it with dnf config-manager --set-enabled crb.

SELinux is enabled

AlmaLinux protects the server with SELinux. It is enabled by default (getenforce displays Enforcing). If a service fails to start or cannot access its files, SELinux is often the cause. You can find clues in /var/log/audit/audit.log. If you copied files to a new directory, this command often helps by applying the correct SELinux labels:

Code
restorecon -Rv /pfad/zum/verzeichnis
Important

Don't simply disable SELinux. It is an important safeguard for your server, and most issues can be resolved directly.

Networking and firewall

The VPS automatically configures IP addresses, IPv6, and DNS servers. You can change the DNS servers in your VPS settings in the ZapX dashboard. On AlmaLinux, NetworkManager manages the network.

A firewall is not preinstalled on the server. Use the firewall in your ZapX dashboard or install firewalld. Be sure to allow SSH, or you could lock yourself out:

Code
dnf install -y firewalld
systemctl enable --now firewalld
firewall-cmd --permanent --add-service=ssh
firewall-cmd --reload

One-Click Apps

One-Click Apps can currently only be installed on Debian and Ubuntu. If you want to use One-Click Apps, choose one of these operating systems.

Free tools

Related tools for servers and developers

View all

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.