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
Services
Apache | Nginx | Monit | GoAccess | Docker | Kubernetes | Mail
System
Network
UFW | iptables | Letsencrypt
Quick answers to the things I look up most:
| I need to… | |
|---|---|
| back up every database | mysql-cron.sh |
| move databases between boxes | db-sync.sh |
| see what a host exposes to the internet | scan-exposure.sh |
| review or clear per-site logs | clear-logs.sh |
| find IPs worth adding to the blocklist | log-digest.sh |
| see who is actually hitting the sites | log-digest.sh |
| move a fleet to a new server | Migration |
| work out why Monit says a healthy service failed | Monit → Gotchas |