Baseline Debian 12 ‘Bookworm’ Server Setup Without the Ubuntu Conveniences
A fresh Debian 12 Bookworm box lacks the sudo admin, security patching and firewall Ubuntu enables by default. Here is the first-boot baseline that closes the gap.
A fresh Debian 12 Bookworm box lacks the sudo admin, security patching and firewall Ubuntu enables by default. Here is the first-boot baseline that closes the gap.
A killed Borg run leaves a stale lock and a cache that thinks it has seen the future. Clear both safely, fix the clock-skew cause, and keep every archive.
Install pyenv, build several CPython versions and pin them per project with .python-version, keeping the apt- and Homebrew-managed system Python untouched.
A 502 is nginx telling you it reached your app and got nothing usable back. Here is the exact order I diagnose it in: listening check, socket permissions, SELinux, then timeouts.
An idempotent Ansible 9 baseline role for Ubuntu 24.04 — users, SSH hardening, firewall, unattended-upgrades and chrony in one apply that changes nothing on the second run.
A full certbot setup on nginx: issue the cert, verify the systemd renewal timer, add a deploy hook that reloads cleanly, harden TLS 1.2/1.3, and confirm the grade.
GitHub stopped accepting account passwords for Git on 13 August 2021. Here is the ten-minute fix for the authentication failed error: a fine-grained PAT, a credential helper, or SSH.
A defensible cleanup job built on GNU find: absolute-path anchoring, a mandatory dry run, -mtime filters, print0 with xargs -0, exclusions, logging, and a guard that stops it running against /.
The proper fix for Git’s “LF will be replaced by CRLF” warning: set core.autocrlf for your role, commit a .gitattributes as the source of truth, and renormalise the tree.
By default journald can lose logs on reboot or grow until it fills the disk. Here is a journald.conf that survives reboots, caps the disk hard, and queries fast.