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 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 MySQL on Arch Linux

Install MySQL on Arch Linux

Step 1 – Install and secure

pacman -S --noconfirm mysql
mysqld --initialize --user=mysql
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 COL...
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 MySQL on Gentoo Linux

Install MySQL on Gentoo Linux

Step 1 – Install and secure

emerge --ask dev-db/mysql
emerge --config dev-db/mysql
rc-update add mysql default && rc-service mysql start
mysql_secure_installation

Step 2 – Connect

mysql -u root -p

Step 3 – Create database and user

CREATE DATABASE appdb CHARA...
7th May 2026

Install MySQL on NetBSD 10

Install MySQL on NetBSD 10

Step 1 – Install and secure

pkgin install mysql80-server
/usr/pkg/bin/mysqld --initialize --user=mysql
echo 'mysqld=YES' >> /etc/rc.conf && service mysqld start
mysql_secure_installation

Step 2 – Connect

mysql -u root -p

Step 3 – Create database and user

CREATE...
7th May 2026

Install MySQL on OpenBSD 7.5

Install MySQL on OpenBSD 7.5

Step 1 – Install and secure

pkg_add mariadb-server
mysql_install_db
rcctl enable mysqld && rcctl start mysqld
mysql_secure_installation

Step 2 – Connect

mysql -u root -p

Step 3 – Create database and user

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

Install MySQL on RHEL 9

Install MySQL on RHEL 9

Step 1 – Install and secure

subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
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...
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 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 Nginx on Arch Linux

Install Nginx on Arch Linux

Step 1 – Update

pacman -Syu --noconfirm

Step 2 – Install

pacman -S --noconfirm nginx

Step 3 – Enable and start

systemctl enable --now nginx

Step 4 – Firewall

ufw allow 80/tcp && ufw allow 443/tcp && ufw reload

Step 5 – Verify

nginx -v && curl -I http:/...
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 Nginx on Gentoo Linux

Install Nginx on Gentoo Linux

Step 1 – Sync Portage

emerge --sync

Step 2 – Set USE flags

Create /etc/portage/package.use/nginx:

www-servers/nginx http http-cache http2 pcre ssl

Step 3 – Install

emerge --ask www-servers/nginx

Step 4 – Enable (OpenRC)

rc-update add nginx default
rc...
7th May 2026

Install Nginx on NetBSD 10

Install Nginx on NetBSD 10

Step 1 – Update pkgin

pkgin update

Step 2 – Install

pkgin install nginx

Step 3 – Enable at boot

Add to /etc/rc.conf:

nginx=YES
/etc/rc.d/nginx start

Step 4 – NPF firewall

Add to /etc/npf.conf:

pass in final proto tcp to any port 80
pass in final p...
7th May 2026