Hello everyone,

I am about to renovate my selfhosting setup (software wise). And then thought about how I could help my favourite lemmy community become more active. Since I am still learning many things and am far away from being a sysadmin I don’t (just) want tell my point of view but thought about a series of posts:

Your favourite piece of selfhosting

I thought about asking everyone of you for your favourite piece of software for a specific use case. But we have to start at the bottom:

Operating systems and/or type 1 hypervisors

You don’t have to be an expert or a professional. You don’t even have to be using it. Tell us about your thoughts about one piece of software. Why would you want to try it out? Did you try it out already? What worked great? What didn’t? Where are you stuck right now? What are your next steps? Why do you think it is the best tool for this job? Is it aimed at beginners or veterans?

I am eager to hear about your thoughts and stories in the comments!

And please also give me feedback to this idea in general.

  • Egonallanon@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Proxmox and truenas for all my physical boxes and then Debian for all my VMs and LXCs. I’m not all that adventurous when it comes to OS choice as I found things that worked years ago and I’ve stick with them ever since as I’ve not seen anything that really looks like it does anything interesting/new that makes it worth switching.

  • Humanius@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    OS: Unraid

    It’s primarily NAS software, with a form of software raid functionality built in.
    I like it mainly because it works well and the GUI makes is very easy to use and work with.

    On top of that you can run docker containers, so it is very versatile as well.

    I use it to host the following services on my network:

    • Nextcloud
    • Jellyfin
    • CUPS

    It costs a bit of money up-front, but for me it was well-worth the investment.

    • nnullzz@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Love Unraid. Been using it for a few years now on an old Dell server. I’m about to transform my current gaming PC into the main server so I can utilize the GPU pass-through and CPU pinning for things like running a VM just for LLM/AI and a VM for EndeavourOS for gaming. I just need to figure out how to keep my old server somehow working still bc of all the drive storage I have already setup, which my PC doesn’t have space for without a new case.

      For anyone looking to setup Unraid, I highly recommend the SpaceInvaderOne YouTube channel. It helped tremendously when I got started.

  • Gravitywell.xYz@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I’m pretty happy with Debian as my server’s OS. I recently gave in to temptation and switched from stable to testing, on my home systems I run Arch because i like to have the most up to date stuff, but with my servers that’s a bit less important, even so debian testing is usually pretty stable itself anyway so I’m not worried much about things breaking because of it.

  • wraith@lemdro.id
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I think this is a great idea. With such a foundational deployment concept like OS there are so many options and each can change the very core of one’s self hosted journey. And then expanding to different services and the different ways to manage everything could be a great discussion for every existence level.

    I myself have been considering Proxmox with LXCs deployed via the Community Scripts repo versus bare metal running a declarative OS with Docker compose or direct packages versus a regular Ubuntu/Debian OS with Docker compose. I am hoping to create a self-documenting setup with versioning via the various config and compose files, but I don’t know what would end up being the most effective for me.

    I think my overarching deployment strategy is portability. If it’s easy to take a replacement PC, get a base install loaded, then have a setup script configure the base software/user(s) and pull config/compose files and start services, and then be able to swap out the older box with minimal switchover or downtime, I think that’s my goal. That may require several OS tools (Ansible, NixOS config, Docker compose, etc.) but I think once the tooling is set up it will make further service startups and full box swaps easier.

    Currently I have a single machine that I started spinning up services with Docker compose but without thought to those larger goals. And now if I need to fiddle with that box and need to reboot or take it offline then all my services go down. I think my next step is to come up with a deployment strategy that remains consistent, but I use that strategy to segment services across several physical machines so that critical services (router, DNS, etc.) wouldn’t be affected if I was testing out a new service and accidentally crashed a machine.

    I love seeing all the different ways folks deploy their setups because I can see what might work well for me. I’m hoping this series of discussions will help me flesh out my deployment strategy and get me started on that migration.

  • tofu@lemmy.nocturnal.garden
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Cool idea with that thread series! I tried a similar thing with the Selfhosting Sunday posts and I always enjoy seeing what everyone’s up to.

    I’ve been running Docker containers on plain Linux (Debian mostly) for a long time (and native a pplications before but I’m glad I migrated most of it) but last year I switched to Proxmox for my own hardware. I was mostly interested in the super comfortable automated VM snapshots but after adding a second node I’m also glad to have High Availability. To maintain a proper quorum (have at least 3 nodes for decisions) I run corosync on a Raspi. It’s been super reliable once set up properly. I have a NAS for backups/snapshots which is native TrueNAS (it was simply the best GUI for ZFS and NFS).

    Thought back and forth about setting up K3S and migrate everything but I decided it’s not worth the effort and would just be for practice, but I can’t be arsed to set it up just for that. (I do K8S at work but we have managed clusters so barely any low level tinkering).

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I’ve been using NixOS on my server. Having all the server’s config in one place gives me peace of mind that the server is running exactly what I tell it to and I can rebuild it from scratch in an afternoon.

    I don’t use it on my personal machine because the lack of fhs feels like it’d be a problem, but when selfhosting most things are popular enough to have a module already.

  • Sammirr@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I’ve several Debian stable servers operating in my stack. Almost all of them host a range of VMs in addition to a plethora of containers. Some house large arrays, others focus on application gruntwork. I chose Debian because I know it, been using it since the early 00s. It’s👌.

  • VeryFrugal@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Rocky Linux. Been using debian but I like firewalld a bit more than ufw, and I don’t trust myself enough to let myself touch iptable.

    • Dran@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Don’t get me wrong, I use libvrt where it makes sense but why would anyone go to proxmox from a full iac setup?

      I do 2 at home, and 3 at work, coming from 4 at both and haven’t looked back.

        • Dran@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Maybe for the initial setup, but nothing is more repeatable than automation. The more manual steps you have to build your infra, the harder it is to recover/rebuild/update later

            • Dran@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 year ago

              if you’re automating the creation and deployment of vms, and the downstream operating systems, and not doing some sort of HA/failover meme setup… proxmox makes things way more complicated than raw libvirt/qemu/kvm.

              • theorangeninja@sopuli.xyzOP
                link
                fedilink
                English
                arrow-up
                0
                ·
                1 year ago

                Can you please elaborate on this? I am currently using MicroOS and think about NixOS because of quick setup. But also about Proxmox and NixOS on top. Where would libvirt fit in in this scenario?

                • Dran@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  1 year ago

                  If you ran a raw Ubuntu/fedora/whatever, you can use qemu/libvrt to run small virtual machines as required. You start and stop them with virsh, define them with simple xml files, and can easily automate the creation/destruction of them if desired.

    • azron@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Kubernetes is overkill for most things not just self hosting. If you need yo learn it great otherwise don’t waste your time on it. Extremely complicated given what it provides.

        • PlutoniumAcid@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          I agree with this thread, but to answer your question I think the point is to tinker with it j “just because”. We’re all in this for fun, not profit.

  • overload@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I use TrueNAS SCALE at home on my NAS and since they ditched kubernetes (and Truecharts, which was a happy little accident) it’s been great.

    It’s free.

    New hardware is incorporated into the kernel reasonably regularly IMO.

    ZFS file system

    Pretty easy to control with GUI exclusively

    Docker is now very easy to use, images are community supported mostly but I’ve not had issues with Jellyfin, *arr, pihole, reverse proxy etc.