Your Cart
Loading

Linux Without the Guesswork: The Command Line, Permissions, systemd, SSH, Logs and Troubleshooting for Homelab Servers

On Sale
$19.00
$19.00
Added to cart

Linux Without the Guesswork is the Linux server book the rest of a homelab assumes you already read. It is for the moment you can follow a tutorial line by line but cannot tell why a command failed, what a service is doing, or what changed since yesterday. Everything runs on Debian 13, the series' default VM OS, with Ubuntu Server differences noted where they matter, and every chapter is practised on a throwaway VM with a snapshot to roll back to. You learn to find your way around the filesystem, paths, pipes and redirection; to read and set permissions without ever reaching for chmod 777; to manage packages with the deb822 .sources format, signed-by keyrings, backports and unattended-upgrades; to run your own apps as proper systemd services with drop-in overrides, timers instead of cron and a few lines of hardening; to read the journal, keep it persistent and capped, and read an error message in the right order; to use SSH with ed25519 keys, a client config, ProxyJump and password login switched off; to handle disks, fstab by UUID with nofail, and growing a VM disk after a Proxmox resize; to work the network from the shell with ip, ss, dig, mtr, curl and a drop-by-default nftables firewall; and to troubleshoot in a fixed order instead of restarting things at random. It ends with a baseline script that applies all of it to every new server in its first ten minutes. Every version, default, flag and package name was checked against the official Debian documentation and the trixie manual pages in November 2026. No prices, no uptime claims, no war stories.

What you get

  • Before you start: who this book is for, practising safely on a snapshotted VM, and how to read the shell prompt
  • Finding your way: the filesystem hierarchy, ls, cd, find, less and grep, man pages, globbing and quoting, pipes and redirection, history and tab completion
  • Users, groups and permissions: rwx and octal modes, chown and chmod, umask, sudo with visudo and /etc/sudoers.d, why the docker group equals root, ACLs, setuid, and why chmod 777 is never the fix
  • Packages and updates: update vs upgrade vs full-upgrade, apt policy and holds, deb822 .sources files with Signed-By keyrings (apt-key is gone in Debian 13), backports, changelogs, and unattended-upgrades for security updates
  • systemd: reading systemctl status, start vs enable, writing a service unit for your own app, drop-ins with systemctl edit, timers with OnCalendar and Persistent=, systemd-analyze calendar, and ProtectSystem and NoNewPrivileges
  • Logs: journalctl filters by unit, boot, priority and time, a persistent journal with SystemMaxUse and SystemKeepFree, the /var/log files that still matter, reading an error from the first real line, and the kernel log
  • SSH done right: ed25519 keys and ssh-copy-id, ~/.ssh/config with short host names, ProxyJump, password and root login off in an sshd_config.d drop-in, fail2ban or not, agent forwarding caution, scp and rsync
  • Disks and filesystems: lsblk, blkid and findmnt, df vs du, fstab by UUID with nofail, ext4 vs XFS, growing a disk with growpart and resize2fs after a Proxmox resize, and SMART with smartctl
  • Networking from the shell: ip a and ip r, a seven-rung troubleshooting ladder, ping and mtr, dig and resolvectl, ss -tulpn and bind addresses, curl -v, ifupdown vs netplan, and an nftables host firewall
  • Troubleshooting: a fixed order of questions, load average and memory read honestly, the OOM killer, disk-full suspects, and a symptom-to-first-command table
  • A new-server baseline script, a server baseline checklist and a command cheat sheet

75 pages, 21 diagrams plus a chapter-opener graphic for every chapter, a server baseline checklist and a cheat sheet. PDF and EPUB. Homelab the Right Way, Book 16.

Not sure yet? Read the free sample first: the cover, the full table of contents and all of Chapter 4, "systemd: Services and Timers" (reading systemctl status, start vs enable, where unit files live, writing a service unit for your own app with its own user, EnvironmentFile and Restart=on-failure, drop-in overrides with systemctl edit, timers instead of cron with OnCalendar, Persistent= and systemd-analyze calendar, and a few lines of hardening), at https://payhip.com/b/YLEK5


Also in a bundle: Everything Bundle: every ebook in the store, $89 ยท Homelab Bundle, $59.

You will get the following files:
  • PDF (2MB)
  • EPUB (3MB)