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 Debian 12

Install MariaDB on Debian 12

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 USER '...
7th May 2026

Install MySQL on Debian 12

Install MySQL on Debian 12

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 COLLATE u...
7th May 2026

Install Nginx on Debian 12

Install Nginx on Debian 12

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://localhos...
7th May 2026

Install Node.js on Debian 12

Install Node.js on Debian 12

Step 1 – Install

curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs

Step 2 – Verify

node --version && npm --version

Step 3 – Simple HTTP server

// app.js
const http = require('http');
http.createServer((req, res) => {
  res.writeH...
7th May 2026

Install PHP-FPM on Debian 12

Install PHP-FPM on Debian 12

Step 1 – Install

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

Step 2 – Verify

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

Install Redis on Debian 12

Install Redis on Debian 12

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!

Restart,...

7th May 2026

MySQL Backup and Restore on Debian 12

MySQL Backup and Restore on Debian 12

mysqldump

# Single database
mysqldump -u root -p appdb > /backups/appdb_$(date +%F).sql

# All databases
mysqldump -u root -p --all-databases > /backups/all_$(date +%F).sql

# Compressed
mysqldump -u root -p appdb | gzip > /backups/appdb_$(date +%F).sql.gz
...
7th May 2026