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?

  • @werefreeatlast@lemmy.world
    link
    fedilink
    English
    02 months ago

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

  • Ulrich
    link
    fedilink
    English
    02 months 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.

  • sixty
    link
    fedilink
    English
    01 month ago

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

  • Tony Bark
    link
    fedilink
    English
    02 months ago

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

  • Charlie Fish
    link
    fedilink
    English
    02 months 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
    02 months 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
    02 months 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.

  • @TaiCrunch@sh.itjust.works
    link
    fedilink
    English
    02 months 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
    0
    edit-2
    2 months 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.

    • @AliasVortex@lemmy.world
      link
      fedilink
      English
      02 months 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).

    • @tal@lemmy.today
      link
      fedilink
      English
      02 months 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
        02 months 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
      02 months 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?

    • rem26_art
      link
      fedilink
      02 months 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

  • @WolfLink@sh.itjust.works
    link
    fedilink
    English
    02 months 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
      0
      edit-2
      2 months 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.

    • @Treczoks@lemmy.world
      link
      fedilink
      English
      01 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.

      • @WolfLink@sh.itjust.works
        link
        fedilink
        English
        01 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.

  • @Treczoks@lemmy.world
    link
    fedilink
    English
    02 months 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.

  • skribe
    link
    fedilink
    English
    02 months ago

    It depends, but probably. I use 5-10yo laptops running Debian.

  • @LifeInMultipleChoice@lemmy.dbzer0.com
    link
    fedilink
    English
    02 months ago

    I installed a Linux server on an old laptop, then installed Jellyfin. It’s like a Walmart special from 8 years ago, so no graphics card outside of the integrated graphics. Doesn’t matter. I disabled sleep, and power saving settings on the Wi-Fi. I had a USB external 1tb drive hooked to it. The laptop doesn’t even have support for a 5ghz wifi connection. No issues at all. I can run 2 movies at 1080p in different rooms off the external USB drive without issue. Just go for it. I installed RustDesk on it so wherever I am I can remote to it, turn on the VPN and kick off a torrent for whatever movie someone mentioned while at work or what not. Then when I get home it’s there.

  • Presi300
    link
    fedilink
    English
    02 months ago

    Yeah, any relatively modern used PC will be more than enough

  • @acockworkorange@mander.xyz
    link
    fedilink
    English
    02 months 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.