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?

  • sixty@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    I just got a great Jellyfin+*arr setup running off of an old PC. Let me know if you need a hand

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    This was maybe 2-3ish years ago;

    I started with a raspberry pi 4 bundle from Amazon, played around with the Linux filesystem, bash shell, APT package manager and just kept reinstalling the headless Debian 12 OS if I believed to have bricked it beyond repair.

    Eventually learned about the Docker Engine & Docker Compose and that essentially gave access to a plethora of software I would’ve have never have used before.

    The raspberry pi 4 started to show sluggishness as I started piling more and more services on it so, Instead of buying traditional server grade hardware I liked the small form factor of the Pi so I opted for a 13th gen Asus Nuc with an 12 core i7.

    Everything runs beautifully now and I even run Debian 12 on my desktop as well!

  • lapping147@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    I’m running my Proxmox VE on a small asus mini pc with embedded cpu. It can’t even match a 5 year old i3 and I’m having no issues.

    Running mainly containers and small projects

  • _cryptagion [he/him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours 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.

  • PieMePlenty@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    12 hours ago

    If you aren’t worried about power costs, yes, go for it.

    I calculated the energy cost of running a 100w PC 24/7 for 2 years, covers the cost of a new mini PC + 2 years of its own energy cost. So I just bought a NUC which draws 7-8W. Less noisy too. Laptops usually draw less than desktops though so you may be good there.

  • deadbeef79000@lemmy.nz
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 day ago

    Anything you need to buy is more expensive than anything you already have.

    Especially if youre worried about power costs.

    Reuse wha you have, replace when you need to.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    Old PC’s and especially laptops (make sure to consider removing the battery though) make great homeservers. You can run dozens of services on old hardware.

    • pHr34kY@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Leave the battery in and you have a free UPS. Perhaps set it capped at 80% charge to increase its lifespan.

  • pHr34kY@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 day ago

    My server is always my old desktop hardware. It’s a 4th-gen i5 with 16GB RAM and it’s keeping up fine. I have thrown quite a lot of work at it too. If you avoid containers, you can serve 20 services off it no problem.

    I too, was worried about power costs. Every time I do the maths, the new hardware will be obsolete by the time I make the money back in savings. If you’re concerned about environmental impact, the initial manufacture of hardware does more damage than running it over its lifetime.

    Dedicated (1U rackmount) servers are always loud and power-hungry. I they idle at 130w and sound like a hairdryer that’s been left on.

    Find secondhand on Facebook marketplace. Dive into an e-waste bin if you have to.

  • WolfLink@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    2 days 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!

    • Treczoks@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 hours 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.

      • WolfLink@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 hours 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.

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 day 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.

  • Jakeroxs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    I use my previous desktop and a rando openbox thinclient I picked up at Bestbuy for like $250 in a proxmox cluster. The desktop does the heavy lifting on stuff like jellyfin transcoding, immich ML, or just general fucking about with things that require a more powerful GPU (got a 3080ti in there)

    The thinclient handles all the lighter stuff that needs to be constantly available, like my traefik instance, dns/dhcp server, etc

  • Ebby@lemmy.ssba.com
    link
    fedilink
    English
    arrow-up
    32
    ·
    edit-2
    2 days 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.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days 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@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days 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.

    • Heikki@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days 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?

      • RvTV95XBeo@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days 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.

    • rem26_art@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      2 days 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

    • AliasVortex@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days 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).

  • acockworkorange@mander.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    You don’t need more than an old desktop with a low powered i3/i5 and a free drive bays to build your first NAS. Just install TrueNAS and get going.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    2 days ago

    Absolutely yes. It’s better to use an old PC for a home server, because upgrades are cheaper, parts are easier to find, troubleshooting is generally easier, they’re usually more energy efficient than an older dedicated server, and you’re saving an old pc from becoming e-waste.

    That being said, what you want to run on it determines how old/cheap of a PC could work for you.

    Jellyfin works best when you can do hardware encoding, and these days that means throwing an ARC A310 in there and calling it a day. If you have a new enough processor, you don’t even need the graphics card.

    Mastodon is pretty disk heavy, but if you’ve got a nice hard disk to put the Minio server on and an SSD for the db, you’re golden. That’s how I run https://port87.social/. It’s running on an old 6th gen Intel i7. The PC I built in 2015 (with a few upgrades).

    CPU intensive servers like Minecraft are where you start to run into problems with older hardware. If it’s just you on there, a 10 year old CPU is fine, but if you’ve got a few friends, the server may start to struggle to keep up. I had to move my server off that same system I talked about above, because Minecraft was pegging the CPU a lot. But a 5 year old CPU would be fine for that. (Assuming that the 10 year old and 5 year old CPUs were both top tier CPUs when they were new. Like i7, i9, Ryzen 7, Ryzen 9. A five year old i3 would still struggle.)

    Basically unless you’re trying to run AI models on it, cheap hardware is fantastic for personal servers.

    • RvTV95XBeo@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      CPU intensive servers like Minecraft are where you start to run into problems with older hardware. If it’s just you on there, a 10 year old CPU is fine, but if you’ve got a few friends, the server may start to struggle to keep up.

      Not sure how recently you ran this, or what all your were running, but in the past couple of years Paper has hit some pretty major milestones in unlocking threaded processing. Barring some sort of spammy 0-tick redstone nonsense or over the top plugins, I’d wager a Raspberry Pi 4 could handle up to about 5 or 6 friends without seeing any TPS dips. Its really remarkable how far they’ve pushed performance recently.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        That’s really cool! I just run the vanilla server, but maybe I should check out Paper. Can it import worlds from vanilla?

        • RvTV95XBeo@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          2 days ago

          Yes, it absolutely can, it’s super easy! Just swap your Minecraft .jar with Paper and it’ll do the rest. It’s a tiny bit harder to go back, but only marginally.

          Out of the box, aside from huge performance benefits, Paper is virtually indistinguishable from vanilla, but it also opens the door to a whole world of easy-to-use server-side plugins.

          Edit: (you should still make a backup before swapping, just in case)

    • prenatal_confusion@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Wondering if you have and insight on power usage with the a310 in the system while idling. I built a sub 25w server and don’t want to mess that up.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Sorry, but I don’t know. I use an A380 in my system. I got it before the A310 was available.

          • hperrin@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            I’d imagine not very much. I don’t know how to measure just the GPU. It doesn’t have any desktop installed, so it’s only ever rendering a console. It can transcode tons of 1080p streams at once, so even a transcode probably doesn’t draw much power. The CPU is the hungriest part, and that’s mostly idling too.