Hello everyone, I’m a first-semester CS student from Germany, currently switching from Fedora to FreeBSD on my desktop. I still run Fedora on my laptop. I work part-time at our university’s data center, helping with the maintenance of an OpenStack private cloud because I am truly eager to learn how to operate systems.

I plan to repurpose my desktop as a server to host some services locally in my student dormitory. I’m excited about FreeBSD and hope that learning it will help me run and administer services with minimal effort long-term. It would be great to manage my own infrastructure while being confident that updates won’t break my system or require relearning everything. I have several questions:

What are the recommended patterns for hosting multiple services on a single server like bsd.cafe does ? Should I create a new user for each service (e.g., Lemmy, Forgejo), or should I run them all under the same user with multiple jails?

Is there a good identity management solution for FreeBSD? In the Fedora/Red Hat communities, people tend to use FreeIPA, but I haven’t found an equivalent for FreeBSD yet. I’d like to provide my friends with single accounts that would give them access to services like Forgejo and Lemmy.

Looking forward to your suggestions!

  • Washhouse0749@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    11 days ago

    FreeBSD ships with jails in the base system, those offer a nice way to isolate services. Its also realy easy to create one:

    bsdinstall jail <empty folder>
    

    This will guide you through the interactive system install for a jail install. Have a look in jail.conf, and maybe grab a sample config from the handbook. If that is a little involved, you could also install a jailmanager like ipcage or ezjail. (Truenas was a nice webui but wont get updates much longer) Combined with zfs datasets for the different services, you can even get different snapshot and backup options for the different jails and services.

    Hope this answers some questions.