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.

  • Damage@feddit.it
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 days ago

    No love for Open Media Vault? I run it virtualized under Proxmox and I’m quite happy with it, not very fancy but super stable.

    I run about twenty containers on OMV, with 4 8tb drives in a ZFS ZRAID5 setup. I love how users can be shared across services, for example the same user may access SMB shares or connect via OpenVPN.

    • rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      19 days ago

      +1 for OMV. I use it at work all the time to serve Clonezilla images through an SMB share. It’s extremely reliable. The Clonezilla PXE server is a separate VM, but the toolkit is available in the clonezilla package, and I could even integrate the two services if I felt particularly masochistic one day.

      My first choice for that role was TrueNAS, but at the time I had to use an old-ass Dell server that only had hardware RAID, and TrueNAS couldn’t use ZFS with it.

  • confusedpuppy@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    19 days ago

    I’ve been using Alpine Linux. I’ve always leaned towards minimalism in my personal life so Alpine seems like an appropriate fit for me.

    Since what is installed is intentional, I am able to keep track of changes more accurately. I keep a document for complete setup by hand, then reduce that to an install script so I can get back to the same state in a minimal amount of time if needed.

    Since I only have a Laptop and two Raspberry Pi’s with no intention of expanding or upgrading, this works for me as a personal hobby.

    I’ve even gone as far as to use Alpine Sway as a desktop to keep everything similar as well.

    I wouldn’t recommend it for anyone who doesn’t have the time to learn. It doesn’t use systemd and packages are often split meaning you will have to figure out what additional packages you may need beyond the core package.

    I appreciate the approach Alpine takes because from a security point of view, less moving parts means less surface area to exploit. In today’s social climate, who knows how or when I’ll become a target.

  • one_knight_scripting@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    17 days ago

    Hypervisor Gotta say, I personally like a rather niche product. I love Apache Cloudstack.

    Apache Cloudstack is actually meant for companies providing VMs and K8S clusters to other companies. However, I’ve set it up for myself in my lab accessible only over VPN.

    What I like best about it is that it is meant to be deployed via Terraform and cloud init. Since I’m actively pushing myself into that area and seeking a role in DevOps, it fits me quite well.

    Standing up a K8S cluster on it is incredibly easy. Basically it is all done with cloud init, though that process is quite automated. In fact, it took me 15m to stand up a 25 node cluster with 5 control nodes and 20 worker nodes.

    Let’s compare it to other hypervisors though. Well, Cloudstack is meant to handle global operations. Typically, Cloudstack is split into regions, then into zones, then into pods, then into clusters, and finally into hosts. Let’s just say that it gets very very large if you need it to. Only it’s free. Basically, if you have your own hardware, it is more similar to Azure or AWS, then to VMWare. And none of that even costs any licensing.

    Technically speaking, Cloudstack Management is capable of handling a number of different hypervisors if you would like it to. I believe that includes VMWare, KVM, Hyperv, Ovm, lxc, and XenServer. I think it is interesting because even if you choose to use another hypervisor that you prefer, it will still work. This is mostly meant as a transition to KVM, but should still work though I haven’t tested it.

    I have however tested it with Ceph for storage and it does work. Perhaps doing that is slightly more annoying than with proxmox. But you can actually create a number of different types of storage if you wanted to take the cloud provider route, HDD vs SSD.

    Overall, I like it because it works well for IaaS. I have 2000 vlans primed for use with its virtual networking. I have 1 host currently joined, but a second host in line for setup.

    Here is the article I used to get it initially setup, though I will admit that I personally used a different vlan for the management ip and the public ip vlan. http://rohityadav.cloud/blog/cloudstack-kvm/

  • xavier666@lemmy.umucat.day
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 days ago

    Stage 1: Ubuntu server

    Stage 2: Ubuntu server + docker

    Stage 3: Ansible/OpenTofu/Kubernetes

    Stage 4: Proxmox

    • Dran@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days 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
          ·
          19 days 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
              ·
              19 days 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
                ·
                17 days 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
                  1
                  ·
                  14 days 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.