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.
- 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.
- 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.
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.
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
AlmaLinux uses the dnf package manager. Here are the most important commands:
| Task | Command |
|---|---|
| Update the system | dnf upgrade -y |
| Install a package | dnf install <paket> |
| Search for a package | dnf search <begriff> |
| Remove a package | dnf remove <paket> |
You can find many additional packages in the EPEL repository. Enable it with:
dnf install -y epel-release
Some EPEL packages also require the CRB repository. Enable it with dnf config-manager --set-enabled crb.
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:
restorecon -Rv /pfad/zum/verzeichnis
Don't simply disable SELinux. It is an important safeguard for your server, and most issues can be resolved directly.
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:
dnf install -y firewalld
systemctl enable --now firewalld
firewall-cmd --permanent --add-service=ssh
firewall-cmd --reload
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.