I want to make a server for hosting media through Jellyfin, and maybe some Nextcloud functionality. I prefer to use containers, but something like TrueNAS’ extensions/plugins sound good as well. This is my first server, so I don’t know what to choose. My possible options are:

  • Debian
  • Ubuntu
  • Fedora
  • TrueNAS Scale Which one should I choose? I am fine with using either Docker or Podman. (Edit: The server will be running on an old laptop with a single drive slot.)
    • Otter
      link
      fedilink
      English
      42 years ago

      As someone who doesn’t know as much about the differences, why?

      Say debian vs ubuntu

      • lemmyvore
        link
        fedilink
        English
        102 years ago

        There’s no reason to use Ubuntu for this scenario. Debian will be cleaner, simpler and easier to support long term. Ubuntu complicates things and there are no benefits to compensate that for OP’s use case.

      • astrsk
        link
        fedilink
        42 years ago

        Debian is (rightfully) known for being lightweight and very stable. Particularly with older hardware, while still being quite compatible with newer hardware. Their long-running release cycles tend to not break whenever updates do roll out. Ubuntu is Debian based as well, its focus however is on user friendliness and usability, especially on the GUI front. Ubuntu server is perfectly fine, but it’s heavy handed compared to a minimal Debian installation with just a handful of packages selected purposefully by the user for the task it is intended for. There have also been more vocal complaints about whatever Canonical is trying to do with snaps/snap store.

        Most beginners with Linux I would more encourage to try Debian for its stability and speed because it’s a great platform to learn Linux on as well as experiment with whatever goal they have by way of packages and projects available all over the open source side of the web.

      • @[email protected]
        link
        fedilink
        English
        22 years ago

        Honestly, I would say because you just have less struggle. I had just a lot more problems when I was using Ubuntu instead of Debian. But I thinks it’s mostly personal preference

      • @[email protected]
        link
        fedilink
        English
        22 years ago

        I agree w what others have said. Just some personal background: started with Ubuntu (well technically I started with Suse, then then Ubuntu). But I found on the server, Ubuntu required a lot of manual upkeep. Debian was just always worked, never had to think twice about it.

  • funkajunk
    link
    fedilink
    English
    142 years ago

    I love how every answer so far is Debian.

    Debian is the correct answer.

  • @[email protected]
    link
    fedilink
    English
    142 years ago

    Using a debian base (OMV6) with docker. Container is maintained by linuxserver.io
    No issues so far beyond myself botching permissions but anyone competent should be able to do it.

    • @[email protected]
      link
      fedilink
      English
      22 years ago

      Same, but with the jellyfin/jellyfin image. Been solid for me, less dramas than raw on the OS. Two cores and 8GB for the VM (in Proxmox), media on a NAS, metadata on local SSD.

  • Atemu
    link
    fedilink
    English
    122 years ago

    Based on that generic request, you’re just going to get everyone’s personal favourite server OS here. You’ll need to give more details to get something tailored to your needs.

  • @[email protected]
    link
    fedilink
    English
    112 years ago

    I would like to recommend an Ubuntu Server LTS which is almost as solid as Debian in my opinion but with many useful features like nonfree drivers accessible right away and newer packages.

    • @[email protected]
      link
      fedilink
      English
      112 years ago

      nonfree drivers accessible right away

      Non-free firmware is included in the Debian installer since Bookworm.

    • lemmyvore
      link
      fedilink
      English
      42 years ago

      I’ve recently switched from Ubuntu Server LTS to Debian stable because Ubuntu started adding snaps to Server too, and the LTS support was restricted behind machine registration which doesn’t smell good to me.

      I haven’t had to deal with any unusual driver support on Debian, probably because I use Intel CPU+GPU for transcoding not Nvidia.

      The only external thing I’ve installed was adding the official Docker repo to have the latest Docker, docker-compose-plugin, containerd etc. straight from the source.

  • mr47
    link
    fedilink
    92 years ago

    Everybody is so quick to suggest Debian (and it’s a fine choice), but Alpine is great for such things, as well. It’s blazing fast, frequently updated, has most packages you could ever want in a server environment (not that it matters if you’re planning on using containers). I’ve been using Alpine for years as my docker host, and not once have I thought “man, I wish it was debian instead”.

    • yamdwich
      link
      fedilink
      32 years ago

      I’ve been using Debian as my main server OS for a long time, but yeah I’ve started using Alpine for lightweight hosts for a single app/docker lately. Especially on proxmox with the pve-helper-scripts you can spin up an Alpine container or VM with Docker in a few seconds.

  • methodicalaspect
    link
    fedilink
    English
    7
    edit-2
    2 years ago

    Debian’s great for this.

    I’m also running NextCloud (the official AIO Docker image) on Debian. Great for that too.

  • @[email protected]
    link
    fedilink
    English
    62 years ago

    Proxmox. I’ve been using it and deployed jellyfin in a container, they have a bunch of one-click deployments and it’s great. Or you can just use a VM to group Docker containers together. Having a beautiful web interface is huge, Plus being able to access that interface from anywhere via WireGuard/Tailscale is great.

    If you do choose to go down this route, there is a “no-nag proxmox” script somewhere, and it will disable some warnings and give you deeper customization options. Well worth a look!

  • The Hobbyist
    link
    fedilink
    English
    5
    edit-2
    2 years ago

    I tried truenas and was at first enamored but felt quite limited when it came to using docker compose. There are no official ways for using it. Additionally because it uses kubernetes under the hood it’s not as easy to go under the hood to make it work, as it requires knowledge of that in addition to docker. There is an unofficial docker compose package but there is almost no documentation that I could find and it seems to be largely unmaintained nowadays.

    The other OS are good candidates, though through my research, if you are after reliability, people seem to prefer Debian with its more robust validation of updates.

    I’m here mostly because I’m setting up my own homelab and I’m preparing for making use of Alpine Linux, which has no desktop environment which makes it particularly fast to boot. Additionally it is very robust, has decent documentation and allows for quite some customization but requires to learn a bit about how to make it work. With its barebone structure, it is more secure as it has a smaller attack surface and you only install what you need. Perhaps an alternative for you to consider?

    Edit: to keep some sanity while needing to manage your homelab, make sure to put some weight on an os you are familiar with. I have juggled for months between OSs to find what does what I want but it has been a long battle of learning everything from scratch every time. Having tried proxmox, truenas, xcpng, and now hopefully settling with Alpine and zfs. Go the more sane way, any of those first three will work just fine.

  • @[email protected]B
    link
    fedilink
    English
    5
    edit-2
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    LTS Long Term Support software version
    LXC Linux Containers
    NAS Network-Attached Storage
    SSD Solid State Drive mass storage
    VPN Virtual Private Network

    [Thread #243 for this sub, first seen 26th Oct 2023, 10:25] [FAQ] [Full list] [Contact] [Source code]

  • @[email protected]
    link
    fedilink
    English
    42 years ago

    For a home server, I personally prefer Unraid (which is built on top of Slackware). It has a pretty good UI for managing Docker containers, and also supports KVM (built-in) and LXC (via a plugin).