Skip to content

Linux

General reference for Linux server and NAS administration. Every server here runs Debian 13 "trixie" (minimal install, Docker CE, keys-only SSH), so commands and paths are Debian's; Ubuntu differences are noted only where a guide you find online will trip you up.

  • Cheatsheet


    One-page quick reference for the most-used Linux commands.

  • Server Setup


    Debian 13 install and base configuration for a Docker host: network, SSH, sysctls, Docker, deploy agent.

  • SSH


    Keys only, AllowUsers, sshd_config.d drop-ins, and agent forwarding.

  • Users & Permissions


    User management, sudo (with a password, or scoped rules), and file permissions.

  • Networking


    ifupdown, auto vs allow-hotplug, DNS, and IPv6 without a route.

  • Firewall


    nftables and ufw for host-level traffic control, and how Docker interacts with them.

  • Host Maintenance


    Unattended upgrades, Docker held back, and reboots only when required.

  • System Administration


    systemd, package management, cron scheduling, and log management.

  • Performance & Debugging


    Resource monitoring, profiling, and common troubleshooting.