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?

  • Shady_Shiroe@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 minutes ago

    Its less of a need for powerful hardware and more of a want.

    I started off my days with a laptop that had a broken screen. I took screen off and hid it behind my desk, worked perfectly fine, even came with a built in backup battery too xD

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    55 minutes ago

    When talking about hardware, the physical computer itself, a “server” is commercial grade and designed to run under heavy loads for years on end with very high reliability. Error correcting RAM, redundant power supplies, room inside for huge processors, more airflow than a C-130 for cooling, etc.

    On the software side, a “server” is just a computer that provides some service to users on a network. You very likely have one of those Wi-Fi router/ethernet switch things from the likes of Linksys or whatever, right? That is almost certainly acting as a DHCP server for you LAN, in that capacity it might handle kilobytes of data a day because dynamically assigning IP addresses on a household Wi-Fi network is not a very demanding task, so it’ll do it on a tiny little ARM processor with a few MB of RAM. It probably also has a web server, which is how the “go to its IP address in your browser and get to your router settings page” works. It’s serving a little website that most of the time gets absolutely zero traffic.

    So, turning a desktop PC into a “server.” The question is, what services will it provide? Desktop PCs are pretty good at mostly low traffic with bursts of intense work, so if they’re going to sit still doing nothing while you’re at work all day, and then maybe handle some file storage or media transcoding during the evenings while you’re home, a PC will do that just fine, if you’re okay paying the power bill of having a computer up and running all the time.

    If you’re hosting a website or a game server with a lot of active users around the clock, you might want to look into more professional hardware.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 minutes ago

      If you’re hosting a website or a game server with a lot of active users around the clock, you might want to look into more professional hardware.

      Honestly, that’s going to be pretty far down the road. Use what you’ve got, and fix issues as you go. Professional hardware is rarely needed, but it is pretty cool.

  • jonne@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    2 hours 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.

  • Konraddo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    59 minutes ago

    You could ask the question for video gaming. Can a used computer do the job? Yes, but you may not be able to play cutting edge / demanding games if your computer lacks the appropriate hardware. It really depends what kind of things you want to do, for choosing hardware that’s powerful enough.

    Jellyfin? You need to consider if you need transcoding. Transcode or not makes quite a difference on the hardware needs.

  • empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    27
    ·
    4 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.

  • Encrypt-Keeper@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 hour ago

    My current home server that runs three dozen containers including Plex and Emby as well as two dozen other services and many terabytes of data is literally an old Lenovo desktop I got for free out of somebody’s garage 14 years ago. So yeah it’s sort of a perfectly fine place to start.

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 hours ago

    It is a fantastic idea to start your home server project on some e-waste hardware, and use it until you know specifically what features you’re lacking that you would need better hardware for.

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

    I’ll tell you a secret: my cool looking 4u server case with 8 hot swappable drive bays actually just houses my last gaming rig. Know what’s going in there when I update my current rig?

    This rig.

  • NeatoBuilds@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    I started with my old gaming rig as a server, any decent intel cpu with quicksync is very good for plex and transcoding saving having to buy a cpu if you went with like a server grade cpu with no igpu

  • ashenone@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    Yea definitely. I started tinkering with my first server in 2020 and used an ewaste dell tower with an i7 3770 (8 years old at that point) and an old rx460 I had laying around. As others mentioned power consumption was way worse than modern hardware. But I had at one point a half dozen people streaming jellyfin 1080 content from it with no hiccups at all. That said I was running on linux, not sure how it would do if you run windows.

    Right now I’m using a low power pc to run my server, again an old ewaste dell micro pc with a 5th or 6th gen i5 and no dedicated gpu. Still no problem streaming to my partners and I’s phone/tablet simultaneously. Again, running linux.

  • bdonvr@thelemmy.club
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    Heck yeah. Not always the best for power efficiency though.

    Old laptops also a great choice but I really recommend removing the battery first.

  • Ebby@lemmy.ssba.com
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    4 hours 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
      arrow-up
      2
      ·
      3 hours 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).

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

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

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours 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
        2
        ·
        26 minutes 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.

  • bigDottee@geekroom.tech
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 hours 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.

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