I’ve never done any sort of home networking or self-hosting of any kind but thanks to Jellyfin and Mastodon I’ve become interested in the idea. As I understand it, physical servers (“bare metal” correct?) are PCs intended for data storing and hosting services instead of being used as a daily driver like my desktop. From my (admittedly) limited research, dedicated servers are a bit expensive. However, it seems that you can convert an old PC and even laptop into a server (examples here and here). But should I use that or are there dedicated servers at “affordable” price points. Since is this is first experience with self-hosting, which would be a better route to take?

  • @[email protected]
    link
    fedilink
    English
    101 month ago

    Yes, you can easily do it.

    You want to look at 2 things: 1. Noise 2. Ratio of performance / power usage.

    1. Noise

    When your PC runs 24/7 then it might be annoying to hear it’s noise sometimes. Real server cases are usually even much louder than former PC’s because they are built for super strong air flow inside.

    Think carefully what you need. In my situation it is just one light wooden door away from my bed, so I wanted it impossible to hear. I optimized it so, and it ended up being so quiet that I cannot hear any fans, but I hear the clicking of the harddisks all the time. Well, I got used to that, mostly. For my next home server I want to build my own case that absolutely blocks this noise.

    1. Ratio of performance / power usage

    People are frequently asking what if I turn this old Pentium etc. into a server?

    Well, these old CPU’s have very low performance compared to new ones, but it might just be sufficient. But then you recognize that the old veterans burn 100 Watts for the same performance where a modern (low performance) CPU burns only 5 Watts, and now it will do that 24/7. Think about your yearly costs. Many times it turns out that buying a new one saves your money very easily.

  • fmstrat
    link
    fedilink
    English
    1
    edit-2
    27 days ago

    My current server runs 40ish docker containers and has 24TB of disk space in a ZFS array.

    It is a 11 year old Intel chip and mobo that was my desktop once upon a time. I have been thinking about updating it simply because of power draw, but it works just fine.

    I did add in PCI risor boards to get PCI 3.0 NVME drives in there.

    It’s pretty common practice to upgrade your computer and turn your old one into a server. Then continue that cycle every upgrade.

  • @[email protected]
    link
    fedilink
    English
    11 month ago

    Mine are lenovo thinkcentres, ypu xan get a good cpu, low power usage, up to 32GB RAM, one 2"5 drive + one nvme. Very easy to open and service.

  • It depends on what you are running, but at one point I had an Odroid N2+ with 8GB RAM running Home Assistant, mpd, Snap server, zwavejs, mympd, jellyfin, and Calibre, all in containers, controlling the house and providing music for the sound system, playing movies, and with no issues. It ran for 7 years. So you don’t need much; memory helps.

    Oh - I take it back; after I put Jellyfin on it, it would struggle with transcoding. No GPU, old, weak CPU, whatever. But otherwise, it was fine.

    At some point I realized I’d have to leave the computer with the house, because I have over 30 hardwired z-wave devices I’m not taking out if we sell, so I moved all of the services except Home Assistant and zwavejs to another computer.

    My point is: old computers should be fine, assuming you’re not trying to run LLMs on them. Or going heavy video transcoding. Just for serving up some web applications? You don’t need much.

  • @[email protected]
    link
    fedilink
    English
    11
    edit-2
    1 month ago

    My answer would basically be yes, but. An old desktop (or even laptop) can definitely be used and will run fine. It should be very easy to get one for free or very cheap as companies will typically write them off after 3-5 years.

    However, you might want to consider power consumption. Running a desktop 24/7 will use a lot more power than a new MiniPC or a NUC, so you may want to calculate how much it’ll cost to run a desktop 24/7 compared to a device that only uses 5W or whatever, and see whether the upfront savings make up for what you’ll pay in electricity over a certain period.

    I think you might actually want to look into second hand MiniPCs unless you absolutely need to fit a bunch of hard drives in a case (like you probably would with Jellyfin).

    Also I want to echo what others are saying about noise. A desktop or rack mounted server will make more noise than a laptop or MiniPC.

    • @[email protected]
      link
      fedilink
      English
      31 month ago

      That depends. A lot of the power consumption comes from spinning media. Even very old desktop Intel chips have CPU throttling and consume very little while idle. Corporate desktops, even old ones, are usually quite economical.

  • @[email protected]
    link
    fedilink
    English
    1
    edit-2
    1 month ago

    Servers are just really big computers. I started off with a Chinese Raspberry Pi clone, then upgraded to an old mac mini + mini pc + a cheap cloud server (VPS). As you can see, you can turn any old computer into a server.

    The cloud is expensive but reliable. Having your own server is cheap but it will go offline with every network fault or brownout. If you’re serious about self hosting I suggest buying a UPS.

    Whatever computer you decide to use as a server, make sure it is quiet. When I first started, I tried to use an old 2010 aah workstation as a server, but the fans were so loud I couldn’t sleep, it was driving me crazy.

  • @[email protected]
    link
    fedilink
    English
    151 month ago

    Do it. Jump in. Just start with whatever you can assemble.
    It’s a great way to keep your room warm.

  • @[email protected]
    link
    fedilink
    English
    111 month ago

    There are advantages to getting server-grade hardware. It’s designed to run 24/7, often supports more hard drives, ram sticks, processors, etc, and often is designed to make it very quick to replace things when they break.

    You can find used servers on sites like EBay for reasonable prices. They typically come from businesses selling their old hardware after an upgrade.

    However, for simple home use cases, an old regular desktop PC will be just fine. Run it until it breaks!

    • qaz
      link
      fedilink
      English
      4
      edit-2
      1 month ago

      Yes, but if you care about power efficiency then they really aren’t a great option. Most professional server hardware that you can get for a decent price uses significantly more power than an old mini computer or a cheap N100 PC. I own a proliant but rarely power it on due to the fact that I could rent an similarly performant VPS for 2x the power bill. Besides that many server CPU’s don’t have integrated GPU’s and will require additional hardware if you want to run something like Jellyfin.

    • @[email protected]
      link
      fedilink
      English
      11 month ago

      While yes, there is a reason why I have retired the Dell server I had for a normal desktop PC. The server was so loud, I could hear it two stairs and two closed doors away.

      • @[email protected]
        link
        fedilink
        English
        11 month ago

        I was able to quiet mine with a bash script until eventually a software update changed the fan control to keep it quiet for me.

  • _cryptagion [he/him]
    link
    fedilink
    English
    31 month ago

    Let’s put it this way, I’m hosting about 30 Docker containers including a full Servarr stack, Jellyfin, and Mastodon on an old Dell workstation intended for office work.

  • @[email protected]
    link
    fedilink
    English
    3
    edit-2
    1 month ago

    When I build my NAS/server last year, I bought a used Dell Optiplex from 2013 on eBay for $50. I tossed in an old SSD I had laying around, and squeezed in 42 TB worth of HDD drives. I added a PCIE SATA expansion card, and a 10 gig network card for 60 bucks to improve performance.

    The only real downsides of doing it this way are

    • No realistic way of upgrading hardware
    • Limited space for internal drives
    • No hardware transcoding abilities out of the box
    • More power consumption than buying something newer
  • @[email protected]
    link
    fedilink
    English
    41 month ago

    Servers are just computers, you build what you are going to use it for. You can use a cheap N100 mini pc to host jellyfin as the important part there is the video encoder/decoder to transcode video. Though it can only do 2 streams at 4k with tone mapping. So it might not be good enough if you have more than 2 people using it or are running more stuff on it.

  • @[email protected]
    link
    fedilink
    English
    61 month ago

    A couple years ago my in-laws were downsizing after retiring and they asked if I would possibly have any use for their ancient desktop PC (at least old enough to have shipped with Windows 7).

    I installed Debian on it and it’s running Jellyfin, qBittorrent through Gluetun, Calibre-web, NextCloud, and Pi-Hole containers, with plenty of room to spare. I’ve also got some services running on Raspberry pis (back when they were cheap). And an external 4TB hard drive connected to it acting as a NAS. No hardware transcoding or 4K video on Jellyfin but that’s no big deal for me.

    All that to say yes, you can absolutely self-host on repurposed hardware. Any old PC you’re looking at is no doubt newer than mine.

  • Ebby
    link
    fedilink
    English
    32
    edit-2
    1 month ago

    Heck yeah! Old desktops or laptops are how most of us got started.

    Things to consider:

    • Power- this will be on 24/7 probably. That adds up
    • Speed- not just CPU, but RAM, disk access and network interface can limit how much data you want to move.
    • Noise- fans can suck (pun intended). Laptops tend to run quieter

    I’m sort of looking to upgrade and N100 or N150’s are looking good. Jellyfin can do transcoding so that takes a little grunt. This box would work well for me. It’s not a storage solution, but can run docker and a handful of services.

    • rem26_art
      link
      fedilink
      41 month ago

      adding on to Noise, if you do end up in a situation where you’re considering buying refurbished enterprise hard disks, know that they are louder than normal consumer drives, esp if you have 4 of them running at once in a NAS

    • @[email protected]
      link
      fedilink
      English
      31 month ago

      While laptop batteries may not have aged well, especially if they’re left discharged, one other nice perk is that laptops effectively have an integrated UPS.

      • Lka1988
        link
        fedilink
        English
        31 month ago

        Some laptops (Thinkpads in particular) are capable of limiting the battery level via a Linux application called tlp so it doesn’t go pop when plugged in 24/7.

    • @[email protected]
      link
      fedilink
      English
      21 month ago

      I wanted to echo this by saying that my lab stated as 4 bay Qnap NAS and evolved into repurposed consumer hardware as my interests and needs changed. My current server is an Optiplex that I bought for being small, quiet, and hanging lots of cores and my NAS is just my old gaming PC build with an HBA card (for extra SATA lanes) stuffed into a fancy case. A server is any computer that you say is a server (ideally one with functional network connectivity).

    • @[email protected]
      link
      fedilink
      English
      11 month ago

      I’ve been running a plex server on an old desktop bought in 2016. Mostly streaming movies and tv shows to my family. I have a 2 TB SSD and a spare 2TB HDD. I was thinking about getting a mini PC to swap out the larger desktop. Could I get a larg HDD and ad it in an enclosure to the Mini PC to handle the media volume?

      • @[email protected]
        link
        fedilink
        English
        11 month ago

        Could I get a larg HDD and ad it in an enclosure to the Mini PC to handle the media volume?

        Like an external USB drive? Absolutely.

  • @[email protected]
    link
    fedilink
    English
    21 month ago

    I think that’s preferable. I have resused my old gaming computer as a server since I stopped gaming for a while.

  • Ulrich
    link
    fedilink
    English
    41 month ago

    If you already have one, it’s a good place to start. However, power efficiency will be the biggest drawback. Power ain’t free, and in some places it is very expensive. I’d recommend picking up some cheap ThirdReality switches and using them to monitor power consumption in Home Assistant.