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?

  • @empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    029 days 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
      028 days 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.

  • Charlie Fish
    link
    fedilink
    English
    029 days ago

    It really depends on what you’re trying to do. At the end of the day, the foundational components are pretty standard across the board. All machines have a CPU, motherboard, storage mechanism, etc. Oftentimes those actual servers have a form factor better suited for rack mounting. They often have more powerful components.

    But at the end of the day, the difference isn’t as striking as most people not aware of this stuff think.

    I’d say considering this is your first experience, you should start with converting an old PC due to the lower price point, and then expand as needed. You’ll learn a lot and get a lot of experience from starting there.

  • @bigDottee@geekroom.tech
    link
    fedilink
    English
    029 days ago

    100%. That’s how I started, that’s how I continue to operate. Currently have a few HP prodesk and elite desk mini pcs, my old desktop converted to be a proxmox node that runs OPNsense as a vm, and an even older desktop that runs TrueNAS. However, I would like to replace my current truenas system with something newer and lower power as it consumes quite a bit for what it’s doing.

  • @cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    029 days ago

    Yes, a used PC can work great for a home server. Just don’t go too old or it will be power hungry. Obviously you will want one with an integrated GPU to save power too. If you want to run jellyfin, make sure it supports hardware video encoding, preferably AV1 or H.265.

  • @CaptainPedantic@lemmy.world
    link
    fedilink
    English
    0
    edit-2
    29 days 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
  • Ebby
    link
    fedilink
    English
    0
    edit-2
    29 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
      029 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
        link
        fedilink
        English
        028 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.

    • rem26_art
      link
      fedilink
      029 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
      029 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).

    • @Heikki@lemm.ee
      link
      fedilink
      English
      029 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?

  • Tony Bark
    link
    fedilink
    English
    029 days ago

    Generally speaking, yes. My home server is just a Pi.

  • Lukas Murch
    link
    fedilink
    English
    029 days ago

    I love the vibe in this thread/community. You all seem like real cool cats. I appreciate that.

  • Marvelicious
    link
    fedilink
    029 days ago

    There are a lot of ways to go. My own isn’t particularly efficient, but it’s an old rack mount server. Everything is built like a tank. It’s robust as hell, and yet everything was well used and cheap. Probably not a good solution if you live somewhere with expensive power, but I don’t.

  • @iturnedintoanewt@lemm.ee
    link
    fedilink
    English
    028 days ago

    My server is an HP Small Form Factor Corei5 32GB RAM that I bought on a second hand shop. The thing I paid attention the most was the i5’s gen, as some older ones don’t include h265 transcoding acceleration, or sometimes h264. This is rather important for Jellyfin. ANything else, just go with it and try!

    • @mhz@lemm.ee
      link
      fedilink
      English
      028 days ago

      You definitely want an 8th gen (Intel) or better to have Jellyfin Quick Sync support. It’s what I have (i5-8400T) and it offer a fairly decent AVC (h264) and HEVC (h265) transcoding for my usage. However, for futur proofing consider an 11th gen for the AV1 support.

  • @hperrin@lemmy.ca
    link
    fedilink
    English
    0
    edit-2
    28 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
      028 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
        028 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
          0
          edit-2
          28 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)

  • @hellequin67@lemm.ee
    link
    fedilink
    English
    028 days 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
      028 days 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
      0
      edit-2
      28 days 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

  • @korsart@lemmy.world
    link
    fedilink
    028 days ago

    There’s no right way, really. You can turn almost anything into a server.

    If you have old hardware laying around I suggest you start with that. When you’re comfortable with setting everything up and using it on your day to day, then it’s time to invest into hardware.

  • @qzrt@lemmy.world
    link
    fedilink
    English
    028 days 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.