I’m ready to graduate from my Raspberry Pi era of selfhosting and buy hardware specifically for use as a server.

I’ve been recommended in the past to look for used Lenovo Thinkstations and/or Dell Optiplex, but it has been so many years since I’ve shopped for a computer, I don’t know what kind of specs to look for. What are the types of specs I should look for to get the best value for money?

I’m hoping to spend around $300-400, get something that can be upgraded in the future to last 10+ years, and do the following things:

  • YUNoHost / reverse proxy
  • Nextcloud with a custom domain for email addresses, cloud drive, photos
  • Music Streaming with something like Navidrome
  • Serve static websites
  • pi-Hole
  • Maybe pi-VPN

And someday maybe:

  • Host game servers like minecraft
  • Jellyfin for videos
  • Kodi and output to TV?

So far based on my selfhosted journey, I expect to want the following:

  • Room for 3+ Hard Drives
  • External UPS (probably will go with the cheap APC at Microcenter that’s always on sale).
  • Solid Power Supply / Cooling
  • probably 1000 gigabit Networking (?)

The types of questions I have for Thinkstations / Optiplex:

  • How is the Power Supply / Cooling?
  • Processor? Do I need i5? i7? Generations? AMD? Clock Speed? I’m completely lost here.
  • How much RAM do I need?
  • Do I need a discrete graphics card? Can Thinkstations / Optiplex have a graphics card added to them later?
  • Anything else I’m missing?

Thanks!

  • kevincox@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    There are a handful of common reasons.

    1. The client doesn’t support the formats. Browser clients are notoriously picky not supporting some common video (for example few browsers support h265 and it isn’t generally considered web-safe) and audio formats. But embedded devices may also cause trouble if they don’t have enough CPU to do non-accelerated playback and don’t have hardware support for the codec used.
    2. Playing at a lower bitrate. In that case you can transcode at the fly.
    3. Remuxing. This is things like the moov atom where the actual codecs are supported but not the container or exact packaging of the file.

    But yeah, especially if you are using a player with wide format support you may not need it.

    • hietsu@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 hours ago

      Mostly using the ”browser” (so shitty that you can barely call it one) on my LG smart TV, and sometimes some iDevices, but I’ll consider myself lucky with codecs then. Even mkv’s play on LG without hiccups. Only small thing I miss are subtitles which these devices do not seem to support, even if I’d mux them in as a track.

      • kevincox@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        11 hours ago

        I’m pretty surprised that all of the audio formats work. I’m not so surprised that the TV has h265, although maybe a bit surprised that it is exposed to the browser. The container support is also pretty surprising. Unless your MKVs are so simple that they are effectively WEBM.

        Or maybe it pops the link out of the browser into a dedicated media player which has decent codec support.

        iDevices do expose h265 in the browser, but the container support is still a bit surprising. But then again WEBM is basically MKV, so maybe that is why it tends to work.

        • hietsu@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 hours ago

          Or maybe it pops the link out of the browser into a dedicated media player which has decent codec support.

          I think this is exactly what it does.

          With iDevices no luck with mkv’s if I remember right, but not sure if I have even tested one. Most my files are mp4 x264.

          • kevincox@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 hours ago

            Yeah mp4s with h264 will play basically anywhere if the audio format is a common one. Must be the most supported setup.