Skip to main content

Server Tools

Machine-agnostic notes — the workflows, scripts and services that apply to every box. Anything specific to one machine lives in Computers instead.

Workflow

Migration | Scripts

Services

Apache | Nginx | Monit | GoAccess | Docker | Kubernetes | Mail

System

Ubuntu | htop | Lynis

Network

UFW | iptables | Letsencrypt


Quick answers to the things I look up most:

I need to…
back up every databasemysql-cron.sh
move databases between boxesdb-sync.sh
see what a host exposes to the internetscan-exposure.sh
review or clear per-site logsclear-logs.sh
find IPs worth adding to the blocklistlog-digest.sh
see who is actually hitting the siteslog-digest.sh
move a fleet to a new serverMigration
work out why Monit says a healthy service failedMonit → Gotchas