The Homelab Handbook

Practical guides for Linux servers, networking, and self-hosting. Written for people who run their own machines and want them to stay up.

Welcome

This site collects short, opinionated guides for running a small Linux server — the kind of notes you wish you had written down the first time you set one up. Everything here is tested on Ubuntu 24.04 LTS and Debian 12, and most of it applies to any modern systemd-based distribution.

Guides

Principles

  1. Keep it boring. Stable, well-understood tools beat clever ones. If a service has been running for a year without attention, that is a feature.
  2. Change one thing at a time. When something breaks, you want to know which change did it.
  3. Back up before you need it. A backup you have never restored is a hope, not a backup. Test restores.
  4. Write it down. The person who will thank you for good notes is future-you, at 2 a.m., during an outage.