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
    ·
    24 days 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.

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

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    3
    ·
    22 days ago

    I started with an old and half-broken laptop. Keyboard war busted.

    Worked fine for months, then choosed to upgrade because I started hosting jellyfin and the laptop was unable to transcode on the fly…

    You are fine with whatever hardware you have lying around… You can always grow later

    Keep an eye for energy consumption tough… Too old stuff might be less efficient running 24/7 depending on your kW/h cost.

  • empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    25 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
      arrow-up
      1
      ·
      24 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.

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

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

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

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

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

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 days ago

    My current server runs 40ish docker containers and has 24TB of disk space in a ZFS array.

    It is a 11 year old Intel chip and mobo that was my desktop once upon a time. I have been thinking about updating it simply because of power draw, but it works just fine.

    I did add in PCI risor boards to get PCI 3.0 NVME drives in there.

    It’s pretty common practice to upgrade your computer and turn your old one into a server. Then continue that cycle every upgrade.

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

  • dbtng@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    24 days ago

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

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    24 days 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
      1
      ·
      24 days ago

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

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    24 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
      0
      ·
      24 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.

  • hellequin67@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 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.