Need to migrate your e-mails to a new server? Free and paid versions of our online tool available.
Hero Image

Server Setup Guides

Monitor website failure with curl

curl -sSf --max-time 120 'https://websitetomonitor.url' --compressed || echo "do something with alarm on failure"

-s means silent -S show error -f Fail silently (no output at all) on server errors --max-time maximum time allowed for request

Cronjob every 2 minutes

*/2 * * * * /usr/local/bin/ch...
31st Jan 2019

Monitoring

Deploy Prometheus and Grafana to collect metrics and visualise dashboards for all your services.

8th May 2026

MySQL

Install MySQL, configure primary-replica replication, automate backups and harden security.

8th May 2026

MySQL 8 password reset

Mysql 8 has different method resetting pw then mysql 5. First is needed to set empty auth string

In Linux:

Stop mysqld

service mysqld stop

Start MySQL with skip grant tables

mysqld --skip-grant-tables --skip-networking --user=mysql &

Set authentication empty string

login

mysql -u ro...
27th Jan 2023

MySQL Backup and Restore on Arch Linux

MySQL Backup and Restore on Arch Linux

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

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

MySQL Backup and Restore on NetBSD 10

MySQL Backup and Restore on NetBSD 10

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

MySQL Backup and Restore on RHEL 9

MySQL Backup and Restore on RHEL 9

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

Re

...
7th May 2026