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

Install MariaDB on Arch Linux

Step 1 – Install and secure

pacman -S --noconfirm mariadb
mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
systemctl enable --now mariadb
mysql_secure_installation

Step 2 – Create database and user

CREATE DATABASE appdb CHARACTER SET utf8m...
7th May 2026

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 MariaDB on Gentoo Linux

Install MariaDB on Gentoo Linux

Step 1 – Install and secure

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

Step 2 – Create database and user

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

Install MariaDB on NetBSD 10

Install MariaDB on NetBSD 10

Step 1 – Install and secure

pkgin install mariadb-server
mysql_install_db --user=mysql
echo 'mysqld=YES' >> /etc/rc.conf && service mysqld start
mysql_secure_installation

Step 2 – Create database and user

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

Install MariaDB on OpenBSD 7.5

Install MariaDB 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 – Create database and user

CREATE DATABASE appdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'appuse...
7th May 2026

Install MariaDB on RHEL 9

Install MariaDB on RHEL 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' IDENTIFIED...
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