Hey, folks I’m moving my main PC to linux soon, and for that I have settled on Mint. However, I also plan to build a homelab pc for the first time to selfhost some services, mainly Jellyfinn, some game servers, and possibly next cloud, but I’m unsure which distro to go with for that.

I have some experience running debian headless (on an orange pi) and I can use ssh and the cli just fine, however, I also want the server pc to (maybe) serve as a moonlight client in my living room, so I was leaning towards something that is not headless, and I am unsure if I should also go with Mint for that or if something else might be more suitable.

  • Nibodhika@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago

    Everyone who said proxmox didn’t read your post to the end. Proxmox is great for people who want a machine to just self-host things and don’t care about how things work. You don’t seem like that sort of person, and you also mentioned Moonlight which will be annoying to do on proxmox as it’s not intended for that use case.

    Every system capable of being used as a Moonlight client can run self-hosted services, but the other way around is not true. So it’s better to start with the Moonlight part.

    So, with that in mind I imagine you want this machine to be plugged to a TV in the living room or something similar, so it needs to have a GUI, and the GUI probably needs to be something you can navigate with a controller (although the new Steam controller probably increases that definition dramatically).

    You will already have one system with a GUI, so it’s easier to use the same thing. Really, don’t overthink this, if it’s good for general use it’s good for self-hosting, and you don’t want to have to learn how to solve the same problem in multiple ways because of different distros. In the future considering different distros makes sense, but when you’re just getting started nailing the basics is easier with consistency across systems. Think about it this way, if you were learning how to write mixing cursive and print at the same time would be harder than choosing one and then learning the other.

    But why proxmox is great? It’s because it makes it easy and gives you a GUI to add services. How hard is it to do the same on Linux using docker? Ssh into the server, edit a small text file and run a single command, all of which should be easy for you since you’ve probably done this in the past, but for most people that is very hard and that is where proxmox shines.

    Don’t believe me? You said Jellyfin, this is the whole Jellyfin file with comments:

    # Services that this file creates
    services:
      # Name of the service, it can be whatever you want
      jellyfin:
        # Image this server runs, this is what tells what the service is
        image: lscr.io/linuxserver/jellyfin:latest
        # Volumes to mount. In the format <local>:<inside the image>
        # So this will mount the ./jellyfin folder inside /config for the image
        # some services require specific folders inside of them, e.g. /config to store jellyfin's configs, otherwise the folder would get lost with every restart of the service 
        volumes:
          - ./jellyfin:/config
        # Rarely needed, but this gives hardware access to the image. Specifically access to the /dev/dri device
        # Jellyfin specifically benefits from this for transcoding 
        devices:
          - /dev/dri:/dev/dri
        # This shows what ports you want to expose, again in the format <local>:<inside the image>
        # So if you want Jellyfin on port 8080 on your machine you don't need to change settings, just do 8080:8096
        ports:
          - 8096:8096
          - 8920:8920
          - 7359:7359/udp
        # This tells docker to restart the service if it crashes, unless you've stopped it
        restart: unless-stopped
    

    That’s it, and this is one of the most complicated ones out there, here’s a simple one:

    services:
      radarr:
          image: lscr.io/linuxserver/radarr:latest
          volumes:
            - ./radarr:/config
    

    Of course there’s more to those files, and lots of extra configurations to be used, but the core is very simple and the rest is just needed for special cases.

  • neclimdul@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    Sounds like Debian is probably your goto based on experience you stated. KISS to start.

    My advice is choose something as stable as your requirements allow. Debian, Ubuntu LTS, etc. It can be fun to try new things but generally your homelab stuff you just want to work and spending a ton of time fixing broken updates isn’t the fun part.

    Similar to above, isolate and guard your data from your OS and programs. It lets you be flexible to trying some new things if you want. But if things go bad, reinstalling a different OS is easy. remount your JBOD or NAS or what ever and you’re back rolling. Backing up and transferring tons of files sucks and recovering them is worse.

    Declarative infrastructure can be your friend. Ansible, docker compose, etc. Again, when things go bad, getting things back up is that much quicker and you can keep doing the fun stuff not spend your weekend finding that old blog post, figuring out that weird ai promp, what ever .

  • doodoo_wizard@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    8 days ago

    Eventually proxmox will be the right choice for you. Right now it’s not because you’re not skilled or knowledgeable enough to be able to navigate it.

    That is not a dig or a slight, it’s a very powerful and complex package built on top of an already powerful and complex package.

    Just do containerless normal person Debian then when everything’s running how you’d like and you’re ready you can migrate to proxmox.

    The big benefit of doing that instead of jumping into proxmox with both feet immediately is that you’ll be learning more and be able to solve your own problems as you get to the point of using proxmox.

    • alphabethunter@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      What are the downsides of not using proxmox right now? Most people on this thread are recommending it, so even if it’s a little difficult now, but more capable in the long run, I’m up for the challenge.

      • doodoo_wizard@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        7 days ago

        The downsides of not going straight to proxmox are all pretty much permutations of missing out on features or having to deal with a migration later on down the line when you do switch to it.

        Those features are almost universally stuff you might decide to not use or to use in a particular way, so it’s easy to say “pump your brakes and get your feet underneath yourself first” before handing you a tool that can be configured (with the help of Reddit, stackexchange and llms) in infinite wrong ways.

        Kind of like suggesting someone learn how to make a simple miter joint before handing them the universally loved and used cordless oscillating multi tool. The tool is really powerful, but the skills and foresight doing even just one miter joint will give you let you make better choices about how to use the oscillating multitool when you have it.

        Migration from bare metal to literally anything else is incredibly well documented and not a big deal.

        Often times for some of the stuff you said you’d be running there are guides for migrating that particular package from metal to containers, vms, or to proxmox itself.

        I want to make it clear that everything you learn from bare metal Debian would transfer over and compliment learning skills directly with the proxmox package because proxmox runs on top of Debian and Debian would likely be the os your vms or containers are made from.

        You don’t need to throw yourself in the deep end to learn how to swim.

        E: there is the extremely rare possibility that you will have some crash or security problem due to lack of containers/vms. I say extremely rare and I mean extremely rare. My personal server which was bare metal for twenty years just recently had its first one and it was actually related to a problem with containerization as opposed to lack of it. Your mileage may vary but for home users who don’t have public IPs and services getting pounded on 24/7 it wasn’t even something I thought about.

  • DonutsRMeh@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    7 days ago

    My server has been running Debian for over a year now with zero issues. Here is a list of the things I run:

    1. Invidious.
    2. Audiobookshelf.
    3. Navidrome.
    4. Pihole with unbound.
    5. Searx.
    6. Cloudflare

    Hope this helps.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 days ago

    Separate the use-case here:

    1. For your desktop, whatever works. There is no one distro that gives you some leg-up on performance or anything else. You can install the same software on all, and the kernel is largely the same.

    2. Just get or build a NAS for hosting media. A Synology or Qnap has a bit of added cost, but the maintenance overhead is reduced by a LOT versus running TrueNAS, OMV, or similar. That being said, choose the right tool for the job, and don’t just run Debian for this purpose because it just adding admin overhead you don’t need. This probably has been solved from your specific angle. What you want is simplicity in maintenance. Being able to hotswap and repair a failed drive means a huge win.

    • sakuraba@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      7 days ago

      a NAS in this economy? (kinda joking but damn everything is so expensive right now I would advise anyone to just use whatever they can find even if it means adding admin overhead)

      • alphabethunter@lemmy.worldOP
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        7 days ago

        Yeah, there’s no way I can build another machine in this economy haha Especially because I’m in SA, and here hardware costs 2x-4x

          • alphabethunter@lemmy.worldOP
            link
            fedilink
            arrow-up
            1
            ·
            7 days ago

            Yes, I’m building one with old components that I have been buying and saving up for the last three years. I got a good deal on an Arc A310 and that’s the newest thing in that setup, the other stuff is all 8+ years old.

            • doodoo_wizard@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              7 days ago

              Make sure your motherboard can support resizable bar. Intels arc cards require it.

              Especially for older hardware that may be hidden in a firmware or uefi/bios upgrade.

            • just_another_person@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              6 days ago

              Regardless, if you’re building something without a purpose, assign it a dedicated purpose instead of just making it some other running machine.

          • sakuraba@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            7 days ago

            They could be building with components leftover from other builds, not entirely buying them.

            I get it, I live in Latin America so I doubt they will find any NAS affordable (edit i assumed SA was south africa lol, and it’s brazil so yeah everything there will be WAY MORE EXPENSIVE)

  • monkeyman512@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    7 days ago

    I agree with having the server run Proxmox like others have said. Check out these YouTube channels for helpful information/guides:

    LearnLinuxTV

    LawrenceSystems

    CraftComputing

    • alphabethunter@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      7 days ago

      Thanks! I’ll chech these out. I’m planning to start moving things over this weekend, so I’ll take the couple of days till then to learn as much as possible.