For the curious: the system that hosts this website
I’ve been hosting my own servers for many years now, gradually extending and improving the setup. The main reason for running my own stuff is to learn: so many things can, and will, go wrong. For years I’ve been arguing that we shouldn’t be programming distributed systems, but composing them — gluing pieces of software, hardware, and actual machines together into a working whole. That shifts the emphasis onto the glue: the scripts, the cron jobs, and whatnot. It also means being able to switch things off and, more importantly, back on again — remotely. I’ll keep adding material here, hopefully inspiring others to take similar steps, and to avoid the mistakes I made.
BTW, many of the scripts have been scrutinized with the help of Claude. It is one case where I believe AI has made my life easier and the results better. Note that it was rarely a one-shot deal: only through interactions and discovering new cases that weren’t considered before did I manage to get to what I would now call decently robust scripts.
- System overview
- Toward robust solutions
- About security
- A tough one: cloning a server