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

Install Nginx on OpenBSD 7.5

Install Nginx on OpenBSD 7.5

Step 1 – Install

pkg_add nginx

Step 2 – Enable

rcctl enable nginx
rcctl start nginx

Step 3 – PF firewall

Add to /etc/pf.conf:

pass in on egress proto tcp to port { 80 443 }
pfctl -f /etc/pf.conf

Step 4 – Verify

nginx -v
ftp -o - http://localhost

C...

7th May 2026

Install Nginx on RHEL 9

Install Nginx on RHEL 9

Step 1 – Update and enable EPEL

dnf update -y
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms

Step 2 – Install Nginx

dnf install -y nginx

Step 3 – Enable and start

systemctl enable --now nginx

Step 4 – Firewall

firewall-cmd --perm...
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 Node.js on Arch Linux

Install Node.js on Arch Linux

Step 1 – Install

pacman -S --noconfirm nodejs npm

Step 2 – Verify

node --version && npm --version

Step 3 – Simple HTTP server

// app.js
const http = require('http');
http.createServer((req, res) => {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  re...
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 Node.js on NetBSD 10

Install Node.js on NetBSD 10

Step 1 – Install

pkgin install nodejs

Step 2 – Verify

node --version && npm --version

Step 3 – Simple HTTP server

// app.js
const http = require('http');
http.createServer((req, res) => {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello...
7th May 2026

Install Node.js on RHEL 9

Install Node.js on RHEL 9

Step 1 – Install

curl -fsSL https://rpm.nodesource.com/setup_20.x | bash -
dnf 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.writeHead...
7th May 2026