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 Gitea on Ubuntu 24.04

Install Gitea on Ubuntu 24.04

Step 1 – Create git user and download binary

useradd -r -m -d /home/git -s /bin/bash git
VERSION=1.22.0
wget -O /usr/local/bin/gitea https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-amd64
chmod +x /usr/local/bin/gitea

Step 2 – Directories

mkdir -p /v...
7th May 2026

Install Grafana on Ubuntu 24.04

Install Grafana on Ubuntu 24.04

Step 1 – Install

wget -q -O - https://packages.grafana.com/gpg.key | gpg --dearmor | tee /usr/share/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main" | tee /etc/apt/sources.list...
7th May 2026

Install HAProxy on Ubuntu 24.04

Install HAProxy on Ubuntu 24.04

Step 1 – Install

apt update && apt upgrade -y
apt install -y haproxy
systemctl enable --now haproxy

Step 2 – Basic /etc/haproxy/haproxy.cfg

global
    log /dev/log local0
    chroot /var/lib/haproxy
    stats socket /run/haproxy/admin.sock mode 660 level admi...
7th May 2026

Install MariaDB on Ubuntu 24.04

Install MariaDB on Ubuntu 24.04

Step 1 – Install and secure

apt update && apt upgrade -y
apt 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 USE...
7th May 2026

Install MySQL on Ubuntu 24.04

Install MySQL on Ubuntu 24.04

Step 1 – Install and secure

apt update && apt upgrade -y
apt install -y mysql-server
systemctl enable --now mysql
mysql_secure_installation

Step 2 – Connect

mysql -u root -p

Step 3 – Create database and user

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

Install Nginx on Ubuntu 24.04

Install Nginx on Ubuntu 24.04

Step 1 – Update packages

apt update && apt upgrade -y

Step 2 – Install Nginx

apt install -y nginx

Step 3 – Enable and start

systemctl enable --now nginx

Step 4 – Firewall

ufw allow 'Nginx Full'
ufw reload

Step 5 – Verify

nginx -v
curl -I http://local...
7th May 2026

Install PHP-FPM on Ubuntu 24.04

Install PHP-FPM on Ubuntu 24.04

Step 1 – Install

apt update && apt upgrade -y
apt install -y php8.3-fpm php8.3-cli php8.3-opcache php8.3-mysql php8.3-mbstring php8.3-xml php8.3-gd
systemctl enable --now php8.3-fpm

Step 2 – Verify

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

Install Redis on Ubuntu 24.04

Install Redis on Ubuntu 24.04

Step 1 – Install

apt update && apt upgrade -y
apt install -y redis-server
systemctl enable --now redis-server

Step 2 – Verify

redis-cli ping   # PONG

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

bind 127.0.0.1 ::1
requirepass StrongRedisPass!

Resta...

7th May 2026