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?

  • deadbeef79000@lemmy.nz
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 hours 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.

  • pHr34kY@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    47 minutes 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.

  • Jakeroxs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 hours 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

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 hours 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
      2
      ·
      50 minutes ago

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

  • werefreeatlast@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I started with handmedowns donated to my by someone from mastodon that was getting rid of junk computers. All tiny think stations.

  • acockworkorange@mander.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours 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.

  • WolfLink@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    13 hours 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      5 hours 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.

  • hellequin67@lemm.ee
    link
    fedilink
    English
    arrow-up
    18
    ·
    15 hours ago

    My home media server is an old nuc mini pc i5 16Gb RAM with attached usb storage running on a Linux distro, runs Jellyfin and a few other applications for the household.

    In short yes, an old pc will work fine.

    • Oaksey@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      8 hours ago

      These also have the advantage of being nice and quiet, which if you are going to have it in your house rather than a hot garage or whatever can be nice.
      I bought a NAS, later realised that it supported Plex and Jellyfin but it was often too slow to do the transcoding. I still use it for storage but there were no real upgrade options. It was cheaper to get an old NUC, rather than replace the NAS with a high spec one to be able to run Jellyfin properly.

    • treyf711@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      13 hours ago

      I’m doing a very similar thing with an old Dell thin client. I did inherit a large server from a company that was upgrading, but I’ve been thinking about downsizing a lot lately so now I use a few small computers on a 10 inch rack.

      the best server is one that you already have

  • Treczoks@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    12 hours ago

    I use my former PC as the home server. It is probably 10+ years old, has no M2 slot or something, but an SSD for the OS. More than big and fast enough for all my needs: File service (Samba), Web service (apache2), Wiki service (mediawiki), Database (MySQL), Calendar service (Radicale), Project service (Subversion), and probably some others I forgot. All of it running on Ubuntu Server, aministrated by WebMin.

    The only investment I did when I turned this into a server was that I put 2x8TB in it as a RAID for bulk storage - I dump the family PCs backups on that machine, too.

  • dbtng@eviltoast.org
    link
    fedilink
    English
    arrow-up
    14
    ·
    16 hours ago

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

  • empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    56
    ·
    24 hours ago

    Any normal computer can become a “server”, its all based on the software.
    Most enterprise server hardware is expensive because its designed around demanding workloads where uptime and redundancy is important. For a goober wanting to start a Minecraft and Jellyfin server, any old PC will work.
    For home labbers office PC’s is the best way to do it. I have two machines right now that are repurposed office machines. They usually work well as office machines generally focus on having a decent CPU and plenty of memory without wasting money on a high end GPU, and can be had used for very cheap (or even free if you make friends that work in IT). And unless you’re running a lot of game servers or want a 4k streaming box, even a mediocre PC from 2012 is powerful enough to do a lot of stuff on.

    • archemist@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      Totally agree, I’ll add that I run jellyfin, the *arrs, an admittedly low throughout ripping/encoding setup, and a few other containers on a single optiplex micro 7060 and there’s a lot of room leftover. I very much appreciate the laptop processor in it because it usually sits idle for 16 hours a day.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    18 hours 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
      ·
      17 hours 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
        ·
        16 hours 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
          16 hours 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
      ·
      16 hours 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
        ·
        16 hours 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
            1
            ·
            5 hours 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.

  • qzrt@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    15 hours 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.