Need to migrate your e-mails to a new server? Free and paid versions of our online tool available.
Hero Image

Server Setup Guides

Install MariaDB on AlmaLinux 9

Install MariaDB on AlmaLinux 9

Step 1 – Install and secure

dnf install -y mariadb-server
systemctl enable --now mariadb
mysql_secure_installation

Step 2 – Create database and user

CREATE DATABASE appdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'appuser'@'localhost' IDENTI...
7th May 2026

Install MySQL on AlmaLinux 9

Install MySQL on AlmaLinux 9

Step 1 – Install and secure

dnf install epel-release -y
dnf install -y mysql-server
systemctl enable --now mysqld
mysql_secure_installation

Step 2 – Connect

mysql -u root -p

Step 3 – Create database and user

CREATE DATABASE appdb CHARACTER SET utf8mb4 COLLATE...
7th May 2026

Install Nginx on AlmaLinux 9

Install Nginx on AlmaLinux 9

Step 1 – Update and enable EPEL

dnf update -y
dnf install epel-release -y

Step 2 – Install Nginx

dnf install -y nginx

Step 3 – Enable and start

systemctl enable --now nginx

Step 4 – Firewall

firewall-cmd --permanent --add-service=http
firewall-cmd --perma...
7th May 2026

Install PHP-FPM on AlmaLinux 9

Install PHP-FPM on AlmaLinux 9

Step 1 – Install

dnf install epel-release -y
dnf install -y php php-fpm php-cli php-opcache php-mysqlnd php-mbstring php-xml php-gd
systemctl enable --now php-fpm

Step 2 – Verify

php --version
php-fpm -v 2>/dev/null || php-fpm8.3 -v 2>/dev/null || php-fpm8.2 -v...
7th May 2026

Install Redis on AlmaLinux 9

Install Redis on AlmaLinux 9

Step 1 – Install

dnf install epel-release -y
dnf install -y redis
systemctl enable --now redis

Step 2 – Verify

redis-cli ping   # PONG

Step 3 – Bind and password (/etc/redis/redis.conf)

bind 127.0.0.1 ::1
requirepass StrongRedisPass!

Restart, then:

redi...
7th May 2026