使用FreeBSD让自托管重拾乐趣
Using FreeBSD to make self-hosting fun again

原始链接: https://jsteuernagel.de/posts/using-freebsd-to-make-self-hosting-fun-again/

被自己的技术习惯束缚,作者寻求“全新开始”,并在FreeBSD中找到了答案。此前他曾使用OpenBSD处理特定任务,现在则致力于将FreeBSD作为多用途操作系统,并租用Hetzner服务器来试验jail(BastilleBSD)和虚拟机(vm-bhyve)。 学习曲线很陡峭,但自助托管的热情重新点燃了他对技术的热爱。他赞扬FreeBSD的简洁性、出色的文档(经常能在man页面中直接找到答案)以及对长期兼容性的承诺——几年前的解决方案至今仍能完美运行。 虽然最初的困惑源于他“跳入式”的学习方式,但BSD社区却表现出极大的支持和帮助。最终,作者并不专注于完美的长期设置,而是专注于当下学习和实验的乐趣,拥抱再次成为初学者的感觉。

## FreeBSD 与自建服务器的乐趣 一篇 Hacker News 的讨论强调了人们对 FreeBSD 用于自建服务器的兴趣复苏,这源于对一种比 Linux 更令人愉悦和可控体验的渴望。用户称赞 FreeBSD 的稳定性、连贯的设计以及 ZFS 和 jails 等工具。 许多评论员也支持 OpenBSD,指出它的简洁性和维护良好的文档,使得配置出乎意料地简单。 对话涉及了对 Linux 复杂性和企业影响力的不满,将其与 BSD 的草根、社区驱动的本质形成对比。 虽然承认存在一些挑战,例如硬件支持有限(尤其是在较新的 ARM 架构上)以及防火墙配置等任务的学习曲线,但许多人认为付出努力是值得的。 最终,吸引力在于重新获得对系统所有权和理解感,摆脱现代 Linux 发行版的持续变化和复杂性。 许多用户表达了对 BSD 方法的偏好,重视稳定性以及专注于核心功能,而不是追逐最新趋势。
相关文章

原文

2025-11-01 - Feeling like a kid in a candy store, once more

As evident by my last blog post "A prison of my own making", I needed to change something about my relationship with technology. How I was doing things didn't work anymore, but I also felt unable to change anything about it, as the way I was doing things seemed like the way that I was supposed to use.

What I needed was a fresh start. And I managed to find that fresh start in the BSD family of operating systems.

I had already given FreeBSD and OpenBSD a try at the time and I liked what I saw. OpenBSD had already established itself in my workflow as an easy to use and reliable router and general OS for single-purpose VMs. But it isn't able to fullfill my needs for a multi-purpose system, where I'd want to run multiple separated workloads in something like a container or VM. But FreeBSD could.

I know that I generally operate best by just committing to using a thing and then figuring out what I need, as I need it. So I committed to using FreeBSD and found a really nice server to do just that on the Hetzner server auction.

I started setting it up with BastilleBSD for jails and vm-bhyve for VMs. I didn't know how to do most things and felt kinda lost. But there it was again, that feeling of excitement to learn something new, which got my into self-hosting in the first place.

After some trial and error I managed to find a setup that works for me. As per usual, it deviates a bit from what might be the most common setup, but it's undoubtedly me (I'll probably explain more about it in the future, when things have settled).

What I've come to appreciate about FreeBSD, and the BSD operating systems in general, is their simplicity and good documentation. Most tasks are just a few commands to run via SSH and if that isn't the case, someone has probably written a decent wrapper around it. If I need to find a piece of information, I still instinctively search online for it, just to be greeted by an online version of the corresponding man page. So I could also have just gathered that information on the CLI, oh well.

I also love the focus on long-term compatibility. I can find a solution to a problem in a forum post from 2008 and not even for a second do I have to doubt whether it will work, because it always does. At the same time, that doesn't mean there are no new features. The system doesn't feel old.

Sure, not everything was all roses and some of that was probably due to my way of just jumping into a problem and digging myself through it one step at a time, instead of reading up on it a lot beforehand. For example I was confused for a long time about the release cycle of the base system and whether that somehow related to pkg and ports (It does not). And I was not able to properly phrase the question in a way that would result in a helpful result while searching. Luckily the BSD community has been nothing but kind and helpful so far. I've had multiple people on the Fediverse offer their help and when I had a specific question, I would always get multiple solid answers explaining it to me. Thanks to everyone that replied, it's genuinely a blast to feel like a newbie again!

I don't know whether I will actually stick with all of what I'm doing right now, in the long term. But that's not important. What is important is that I'm having fun, learning a new thing, right now. I'll see what sticks long-term.

@Joel: See? I wrote a blog post! :D

联系我们 contact @ memedata.com