What are the minimum or recommended requirements for a personal home server?
from Human01001100@lemmy.ml to selfhosted@lemmy.world on 17 May 17:06
https://lemmy.ml/post/30254759

I want to set up a home server and take advantage of everything it can offer, specialty privacy.

Raspberry PI, no matter the version, are all quite expensive here in Brazil, so that’s off the table. I’ll go for a regular desktop. But the the requirements for a server that “does it all” remains a mystery to me.

What specs do you guys recommend?

#selfhosted

threaded - newest

11111one11111@lemmy.world on 17 May 17:11 next collapse

Why would raspberry pi’s be expensive but the hardware to build a server be any cheaper?

sugar_in_your_tea@sh.itjust.works on 17 May 17:33 next collapse

Second hand markets exist and Raspberry Pis are rarely sold second hand.

11111one11111@lemmy.world on 17 May 18:30 collapse

Sorry for my ignorance, so brasil has nothing like an Amazon where OP could buy a new pi from and have it delivered? If thats the case i feel like I could buy OP a pi and ship it to them in brasil for less cost than it would be to buy anyother option of hardware for a home server. Assuming USPS still offers flat rate boxes for international shipments.

sugar_in_your_tea@sh.itjust.works on 17 May 19:27 collapse

I’m not Brazilian, but I’m guessing importing stuff is expensive. Look at PC components elsewhere in the world, it’s typically much more expensive than the US.

11111one11111@lemmy.world on 17 May 19:34 collapse

Right but thats kinda what im saying is that wouldn’t all hardware be expensive and not just Pis?

sugar_in_your_tea@sh.itjust.works on 17 May 20:50 collapse

Except second hand. That’s my point.

Lemmchen@feddit.org on 17 May 20:28 collapse

Scalpers for highly sought-after hardware or just general lack of supply in specific regions.

atzanteol@sh.itjust.works on 17 May 17:17 next collapse

That very much depends on what you want it to do (what is “everything”) and how many users you have.

WhyJiffie@sh.itjust.works on 17 May 17:18 next collapse

8 GB RAM or more. OS installed either to SSD, or a HDD that does not store service data (for performance). a modern CPU with at least 4 cores. modern means it has at least AES and AVX2 instruction sets to do math quickly, but probably you can just pick one made in the last 10 years, with less years generally meaning better energy efficiency.

what kind of services do you want to host on it? initial plans, perhaps longer term plans?

Lemmchen@feddit.org on 17 May 17:19 next collapse

Take a look at some N100 devices (or N95/N150).

BrianTheeBiscuiteer@lemmy.world on 17 May 17:40 collapse

These are a good alternative to RPis. Just be aware some of these are sort of haphazardly assembled so they might have cooling issues or bad power supplies.

Lemmchen@feddit.org on 17 May 18:19 collapse

Can’t say my Chuwi Larkbox X has any issues (other than missing a few QoL settings in the UEFI).

jagermo@feddit.org on 17 May 17:19 next collapse

I have a old optiplex 7010 with i7 and 8gig RAM. About 70€ on eBay. I upgraded it with a nvme SSD to bolt from (great tutorial here) and salvaged an old SATA HDD from an external case.

Currently runs 11+ container in proxmox without issues. Way beefier than a raspberry pi.

I also have room for 3 more hdds to put in a mergerfs system and 2 additional pcie slots für things like a faster LAN card or an additional SATA controller

BombOmOm@lemmy.world on 17 May 17:21 next collapse

What are you intending to run on this server?

  • If it is just PiHole, you can basically get the weakest computer you can find.

  • If you want lots of storage space, you will need to make sure you have a case and motherboard that will accommodate the drives.

  • If you are running encryption on those drives as well, you will need a CPU more powerful than what comes in a Pi, but nothing crazy.

  • If you are running lots and lots of VMs, you will want lots of RAM. A linux VM will use maybe a few GB each depending on what software each is running internally, a windows vm will use a bit more.

  • If you are doing AI workloads, you will need a graphics card.

Greg@lemmy.ca on 17 May 17:31 next collapse

Do you have access to Raspberry Pi clones like Orange Pis etc? They’re often cheaper and you can order them straight from China.

a@91268476.xyz on 17 May 17:39 collapse

@Greg @Human01001100 @selfhosted you can get a small clone for less than 50 bucks

sugar_in_your_tea@sh.itjust.works on 17 May 17:31 next collapse

Raspberry PI

This also shouldn’t be your default option. Your default should be whatever you have laying around, and a lot of people have a Raspberry Pi sitting idle, hence why people use them.

What specs

That depends on what you want to do with it.

For example, if you want to host a video server, then you’ll want something that can handle transcoding. Check the Jellyfin docs for details, which recommends an N100 or better.

List all the things you need and want, and then look up what the requirements are. Basic file hosting is pretty light, so you really don’t need much (hence the Raspberry Pi rec).

I personally use an old PC with the following specs:

  • Ryzen 1700
  • 16GB RAM
  • GTX 750 Ti GPU
  • 2 8TB HDDs (bought for the server)
  • 1 SSD for boot (128 GB, just needs to store the OS)

This is way overkill for what I need, but I had it laying around. You could even start with a laptop, you’ll just have limited storage (can get a USB emclosure of you want).

If you don’t have something, maybe a mini PC would work (minisforum, beelink, etc). Or maybe it doesn’t. I don’t know what you’re planning to run on it. You probably don’t need anything fancy, your biggest requirement might be the GPU/iGPU if you’re planning to do transcoding.

mesamunefire@piefed.social on 17 May 17:33 next collapse

A repurposed old PC with something like yunohost, generic Debian, or some lightweight Linux will probably get you what you need.

It heavily depends on what programs you want to run.

Shdwdrgn@mander.xyz on 17 May 17:39 next collapse

Keep an eye out for people trashing perfectly good desktop machines because Windows 10 is being retired.

If you want a server that “does it all” then you would need to get the most decked-out top of the line server available… Obviously that is unrealistic, so as others have mentioned, knowing WHAT you want to run is required to even begin to make a guess at what you will need.

Meanwhile here’s what I suggest – Grab any desktop machine you can find to get yourself started. Load up an OS, and start adding services. Maybe you want to run a personal web server, a file server, or something more extensive like Nextcloud? Get those things installed, and see how it runs. At some point you will start seeing performance issues, and this tells you when it’s time to upgrade to something with more capability. You may simply need more memory or a better CPU, in which case you can get the parts, or you may need to really step up to something with dual-CPU or internal RAID. You might also consider splitting services between multiple desktop machines, for instance having one dedicated NAS and another running Nextcloud. Your personal setup will dictate what works best for you, but the best way to learn these things is to just dive in with whatever hardware you can get ahold of (especially when it’s free), and use that as your baseline for any upgrades.

jagermo@feddit.org on 17 May 17:51 collapse

This. Be on the lookout for company grade PCs, like from Dell, Lenovo or Fujitsu, they come in small form factors, offer decent upgradability and are low/on power consumption and noise (most of the time)

CompactFlax@discuss.tchncs.de on 17 May 17:43 next collapse

This depends entirely on what you want to run. A pihole needs vastly different resources than for example offering jellyfin to 20 simultaneous users. Both can be hosted at home.

ashenone@lemmy.ml on 17 May 17:47 next collapse

When I started my media server in 2020 I used e-waste from my building. Had an i7 3770, 16gb ddr3 ram and an rx460 graphics card. I ran jellyfin, ultrasonic and audiobookshelf for 10-15 people with no problem on this hardware. Anything made within the last decade should provide a good starting point for you.

bblkargonaut@lemmy.world on 17 May 18:04 collapse

This was almost my gaming PC specs in 2020. Rx580 and 16gb more ram. It’s now my server running jellyfin and immich for my family.

ashenone@lemmy.ml on 17 May 23:55 collapse

Rx580 was such a workhorse card. Used mine until a year ago and then it went to a friend who’s still using it today.

bblkargonaut@lemmy.world on 18 May 00:48 collapse

My Rx580 has basically been on continuously since I bought it in like 2017/18. I used it to mine when I wasn’t gaming until it became unprofitable, then to process sequencing data for my dissertation project while not gaming, and now it’s in my server.

tal@lemmy.today on 17 May 17:49 next collapse

But the the requirements for a server that “does it all” remains a mystery to me.

“All” can include anything. I mean, you can include a home parallel compute render farm that will cost millions of dollars.

You’re going to have to narrow it a bit down. You can have people maybe suggest some of the things that they use their systems for. Maybe it’s hosting services for a cell phone that some people use cloud-based services for. Maybe it’s home automation. Maybe it’s a webserver. Maybe it’s AI image generation.

EDIT: To put it another way, a self-hosted server is just a computer, often without a monitor and keyboard directly attached, that you have in your physical possession. The range of things that that might be used for and capabilities it might have is really broad. It’s like saying “I want a vehicle. What is a vehicle that can do everything?” I mean, that might be a bicycle or a three-trailer road train, depending upon what you’re going for.

possiblylinux127@lemmy.zip on 17 May 19:01 collapse

You can build a render farm for not all that much money. You will pay a very high electric bill but other than that it is possible.

tal@lemmy.today on 17 May 19:25 collapse

I mean, you can build a render farm on a single Raspberry Pi if you want, technically.

neidu3@sh.itjust.works on 17 May 17:51 next collapse

Anything that does the job is good enough. At its core a server is just a regular PC with a dedicated purpose and software. Sure, there are specialized hardware better suitable and purpose built, but it’s not a requirement.

I for one prefer 19" rackmount stuff with disk bays in the front, but that’s more of a convenience than anything.

UPS is nice, but it’ll work without it.

I’ve had to deal with the Brazilian computer market and how it’s ridiculously overpriced due to import fees, so in your situation I’d just get any hand-me-down computer. Servers generally don’t require much unless you’re doing something special or intensive.

Get your hands on whatever you can find for free or dirt cheap (laptop or desktop doesn’tmatter), install linux, and you have a basic setup that you can work with. If your use case requires more, then that’s something you can accommodate in the next iteration of your server.

anotherandrew@lemmy.mixdown.ca on 18 May 15:25 collapse

This.

Almost all of my gear is bought used: switches, server, even memory. My main server is an old Dell C6100 blade server I got for $250. My disk array is a 12-bay SAN that I found for $50 and took a chance on being able to get it working. It’s power hungry but it’s got redundant everything and I have spare parts on the shelf next to it.

I’ve been branching into ARM servers a little and right now I’ve got an RK3588 board with 32G of RAM. That’s new (and expensive for me) but I got a fibre channel array for $20 that I’m going to try to make work with it. $8 FC HBA and a $12 cable along with a $30 m2-to-PCIe adapter intended for eGPUs. I’m not going for speed here, but used data centre equipment is nice and some of it is dirt cheap because it’s too slow for “real” work.

4k93n2@lemmy.zip on 17 May 17:52 next collapse

raspberry pi’s arent the best option anyway since you need to add on a hat just to get some SATA ports. i think Odroid has some boards with sata connectors. zimaboard or zimablade are some other options off the top of my head

rtxn@lemmy.world on 17 May 18:02 next collapse

The minimum spec is whatever e-waste you can find that still powers on.

My home server has an i3-4160, 10 gigabytes of mis-matched RAM, a ten-year-old 240 GB SSD with 36000 hours on it, and three 1 TB hard drives in a RAID5 array each with ~25000 power-on hours. It runs Proxmox on the metal with a virtualized OPNsense, Nextcloud, and Jellyfin server (plus smaller services). Jank levels are high, but not fatal, and it was mostly free.

possiblylinux127@lemmy.zip on 17 May 18:44 collapse

Living dangerously

If you are buying I wouldn’t get something older as the newer stuff is the same price often times because it is less well known.

anotherandrew@lemmy.mixdown.ca on 18 May 15:42 collapse

Gotta see some evidence on that claim. Older stuff is more power hungry no doubt about it, but especially old data centre equipment is waaay more reliable and built with some very nice creature comforts.

possiblylinux127@lemmy.zip on 18 May 18:14 collapse

Check the data sheets for the components. It should have a Average time to failure which will tell you about how long it will last.

It might be fine but I personally wouldn’t rely on ancient drives

anotherandrew@lemmy.mixdown.ca on 20 May 00:46 collapse

oh I wasn’t talking about storage media. I’m talking about rack servers, switches, storage arrays (with new drives), etc., etc… The older hardware can wear out/break (I used to do MTTF/MIL-HDBK-217 calculations for avionics) but generally speaking it’s got a lot of life left in it by the time it hits the surplus market. It’s also usually designed with redundancies/failover mechanisms which means you don’t have to bodge together inferior solutions.

possiblylinux127@lemmy.zip on 20 May 01:31 collapse

I misunderstood then

Carry on

teije9@lemmy.blahaj.zone on 17 May 18:13 next collapse

any old laptop with at least a third gen intel or something comparable works. you do want to get some extra storage via a cheap old hdd

umbrella@lemmy.ml on 17 May 18:16 next collapse

a potato computer can be a server if the workload is light enough.

i had a core 2 duo era pentium with 2gb of ram as a server once and it did the job. minecraft server for 6 people + pihole + file server.

core 2 duos are dime a dozen in brazil and are probably more powerful than some older RPIs. you can probably get something newer too.

possiblylinux127@lemmy.zip on 17 May 18:43 collapse

x86 will decimate most arm chips

The new stuff is a bit more debatable but old stuff it isn’t even a fight

stardustsystem@lemmy.world on 17 May 18:16 next collapse

Rather than give you specific recommendations, here’s some guidance for parts

Mobo: The more slots you have for RAM and storage, the better.

CPU: literally anything. More cores and faster cores are ideal, but CPU requirements for these things are generally lower than a desktop.

RAM: Buy 1 stick of the fastest and highest capacity RAM your motherboard can handle. When you’re ready or you start to see slowdown, buy another of the same stick. You can get far on 16-32GB, you won’t need much more until later.

Storage: an SSD for the OS and one or more HDDs for storage.

PSU: generally anything in the 500-700 range will be good. You’ll want more if you plan to put a GPU in, though.

owenfromcanada@lemmy.ca on 17 May 18:32 next collapse

I’m using my old desktop from 2010. There’s no such thing as a server that can “do it all”, but any computer from the last 10 years would probably be a fine place to start. The more you do, the more likely you’ll be to hit some sort of performance limit, and by that time you’ll know more about what you actually want.

In short, find old cheap/free hardware and start playing around.

possiblylinux127@lemmy.zip on 17 May 18:41 next collapse

A CPU that can run Linux along with some networking

moonpiedumplings@programming.dev on 17 May 18:50 next collapse

If you have an old android phone, then you can repurpose it into a Linux server.

Or an old computer. But you probably don’t need to buy anything to get started.

jagged_circle@feddit.nl on 18 May 14:33 collapse

Link to guide to install a Linux server OS on Android device?

moonpiedumplings@programming.dev on 18 May 19:04 collapse

General Linux servers distros do not support android devices, you would need postmarketos.

acockworkorange@mander.xyz on 17 May 18:50 next collapse

You have to have an idea of what you’ll run on it first.

Old corporate desktops will do for a NAS and basic light services. Look for one that has three drive bays plus an NVMe slot.

rc__buggy@sh.itjust.works on 17 May 19:12 next collapse

For Linux: Anything Intel 4xxx is fine, later is better obviously. 4GB RAM is OK for one family, 8GB gives enough headroom to host NextCloud for a small office. SSD for operating system makes it snappy as fuck at the terminal but aren’t mandatory, slow drives for storage are fine.

MNByChoice@midwest.social on 17 May 19:32 next collapse

The joke is electricity and Linux.

The real answer is the free hardware.

My main reliable is from 2008? It cannot do modern virtualization due to not having the CPU instruction sets.

Shdwdrgn@mander.xyz on 18 May 02:18 collapse

You might check if a simple CPU upgrade would get you there. I previously ran some 2005 Poweredge servers that came with a Pentium D processor, and it cost me something like $8 from ebay to upgrade to a Xeon and start running KVM.

RushLana@lemmy.blahaj.zone on 17 May 20:11 next collapse

If you aren’t planning on running a media server go for a old desktop or laptop (with Ethernet port). Your bottleneck will be your network speed 9 time out of 10. Also use a firewall and a anti scrapper (ex: Anubis) to avoid wasting resources.

MangoPenguin@lemmy.blahaj.zone on 17 May 20:21 next collapse

Intel i3 or i5 4th gen or newer will be solid.

Dell, HP, Lenovo all make a ton of generic office PCs that are good for a home server, and you can find older models for under $40 in the US so hopefully they’re also cheap in Brazil.

SynopsisTantilize@lemm.ee on 18 May 01:16 collapse

If you can find one of the optiplex desktops with the T version of Intel processor, those are low powered

MangoPenguin@lemmy.blahaj.zone on 18 May 02:34 collapse

I don’t think those really idle at much less power, so I’d take the performance of the normal variants

SynopsisTantilize@lemm.ee on 18 May 03:44 collapse

Hmmm I’ll have to take your word for it. I’ve had one in my garage running for 2 years straight and I didn’t notice a power bill change.

MangoPenguin@lemmy.blahaj.zone on 18 May 15:33 collapse

They cost about $2/month at the average power rate in the US, so it’s too small to notice I imagine.

rimu@piefed.social on 17 May 20:50 next collapse

The things I paid attention to was

USB3 - you need this otherwise connecting external drives will be a joke
Motherboard needs to accept up to 32 GB of RAM. Mine currently has only 8 but knowing I can upgrade is nice.
Quiet - must be silent when idle.
CPUs of less than 8th? gen will suck at video transcoding due to lacking certain capabilities. Important if running jellyfin, etc.

The beauty of self hosting is it's all about your individual circumstances so you priorities and acceptable tradeoffs will differ.

fluffykittycat@slrpnk.net on 17 May 21:21 next collapse

My jelly fin server is running off of an entry level desktop in 2009, a single core celeron processor. I have to downscale video files to standard definition in order for it to keep up.

suzune@ani.social on 17 May 21:44 next collapse

My preferences are quite different.

You’ll need a lot of RAM for all the containers, 64 GB is nice. A CPU that saves power when idle is fine. You’ll need at least 16 TB storage (32 TB RAID1). SATA HDD is fine, when you have ZFS and cache using SSDs. Never use USB for drives.

It does not need to be quiet. Just put it in the basement and close the door.

pupbiru@aussie.zone on 18 May 01:22 next collapse

i’d modify the CPU requirement and say you can sub that out for a 2nd hand cheap nvidia card if it’s easier

here’s the table of cards with nvenc: …nvidia.com/video-encode-and-decode-gpu-support-m…

i’m running an old af xeon and added a $30 entry level GPU from years ago and it was a great upgrade

natch@lemmy.today on 18 May 13:10 collapse

I have very similar requirements, but I’m currently using a Pi with some external drives since that’s how I started out. Would you mind sharing what you ended up buying? My place is pretty small, so the ‘quiet’ requirement is one I care about a lot. Personally I’d love to get something passively cooled, but I haven’t seen much!

JustJack23@slrpnk.net on 17 May 21:53 next collapse

Had this link in my clipboard for a different comment but it fits here as well: hackaday.com/…/self-hosting-a-cluster-on-old-phon…

In all honesty this may be a bit advanced depending on your experience and more importantly nerves, but any old PC/laptop can be turned into a server.

As for parameters I would suggest you go to the apps you plan on running and check their minimum requirements.

This2ShallPass@lemmy.world on 18 May 01:41 next collapse

A raspberry pi 4 or 5 and some fast USB 3 hard drives.

merthyr1831@lemmy.ml on 18 May 01:40 next collapse

A computer. Seriously that’s it. Of course depends on your use case (media servers usually need more than a web host for example)

pHr34kY@lemmy.world on 18 May 06:23 collapse

My current server is just my previous desktop PC hardware. $0 when you repurpose while upgrading your desktop.

bufalo1973@lemm.ee on 18 May 03:03 next collapse

Even a Commodore 64 can be a server depending on the service it has to give.

zipzoopaboop@lemmynsfw.com on 18 May 03:07 next collapse

I use a random micro PC with Ubuntu installed. 2tb nvme, 16gb ram, not even sure what the cpu is

cecilkorik@lemmy.ca on 18 May 03:37 next collapse

Literally any old PC is likely fine. It may be slow, it may struggle or even fail with some of the very complex software (perhaps you will encounter timeouts, or you will spend so much time waiting for memory to swap in or out to disk that it won’t be worth using) but you can run Linux itself on a potato and if your machine isn’t powerful enough, maybe you can get a second one and run different stuff on each, or just scale down your expectations and don’t try to self-host LITERALLY everything just because you can. Certain services are very intense, others will run on a very small piece of a potato.

Nibodhika@lemmy.world on 18 May 05:31 next collapse

Depends on what you want the server to do. A Minecraft server and a Pihole server have vastly different requirements. As a general rule, any old laptop or desktop will do, think on requirements for your grandma and that should cover most (except gaming servers) needs.

GeorgimusPrime@lemmy.world on 18 May 07:21 next collapse

If the size and low power consumption of the Pi are what appeal to you, you can try a getting a used thin client. Lots of suggestions and specs here: parkytowers.me.uk

MTK@lemmy.world on 18 May 08:57 next collapse

Go wuth what you have. Old laptop? Works! Old desktop? Also works! Old android phone? Might work! (VM/terminal)

If you have a device that can run Linux, start with that. Once you get some usage you can understand if you need an upgrade, and what kind. Maybe you will findout that this old laptop that you had works perfectly and you can sace money on buying a server.

ThunderLegend@sh.itjust.works on 18 May 09:49 next collapse

As everyone have said, it depends on what you want to have in your server. I started with an old lenovo I bought in mercado livre for 200 BRL. It was a DDR2 PC with 4Gb ram. I bought an ssd and installed Debian. Used for years. After that I tried to build a DDR3 PC. Made it with 800 BRL and it’s decent to run my docker containers like an arr stack, nextcloud, VPN, reverse proxy and vaultwarden.

Zwrt@lemmy.sdf.org on 18 May 10:47 next collapse

I highly recommend you try proxmox to get the most potential out of you system. Basically can run many services and vm with little overhead, dynamically sharing the specs.

Now about those specs… what everybody else said really but heres some pointers:

You don’t need a big dedicated gpu unless your doing something that explicitly demands it. They are tricky to setup with virtual machines also.

If you plan on running a minecraft server i recommend at least 8gb ram. Anything else will probably run fine on 4. You can probably run quite a few things on 8gb but ram is cheap and its nice to have some extra room.

For cpu, the more things you do the More sense it makes to have more cores. If you plan on buying then amd ryzen x y z is you best option where.

X is the number you want higher Y is a number you should not care about as much Z is potentialy the letter “G” for graphics, they are often more expensive. Get them anyway because now you dont need a dedicated gpu (and even if you already own a gpu. Trust me you will thank me if that one ever has issues)

If you really want me to draw you something decent up that will give you plenty of freedom to experiment.

Ryzen 7 … G, 32gb ram. Small ssd for os. xTB of performence HDD ideally configured as some raid in proxmox.

It still cannot be said often enough that a (well cared for) second hand unlabeled laptop running ubuntu is all what most people need when they start pondering about home servers.

Jason2357@lemmy.ca on 18 May 12:55 next collapse

Find out if there are any corporate off-lease machines being sold in your area. USFF machines are frequently used as mini desktops or point of sale computers then sold off for peanuts when warranties are done. Especially look at i3-8xxx generation, as they don’t support windows 11 fully.

mic_check_one_two@lemmy.dbzer0.com on 18 May 14:10 next collapse

Any corporate fleet machines, really. Corporate C-suite executives always demand the best laptops on the market… They also demand the newest laptops on the market. Because they can’t be seen with a worse laptop than the graphic artists or the programmers. This means there’s always fresh stock of last year’s corporate laptop hitting the used market. And they’re almost always gently used, because they just sat docked on some executive’s desk for a year, and were only used to answer emails.

Those $2000 laptops often get dropped on eBay for like $250, because the random Accounting person who has to auction them off doesn’t really care how much they sell for; They’re just checking a “was sold to recoup costs” checkbox.

rmuk@feddit.uk on 18 May 14:27 next collapse

One hundred percent go for USFF. Even the cheapest, most basic processor will smash server roles because it’s not having to power desktop applications, graphics, window managers, etc.

yo_scottie_oh@lemmy.ml on 18 May 20:29 collapse

How does one find such retired laptops? As an individual hobbyist in the US, would I just monitor eBay, Craigslist, or Facebook?

Jason2357@lemmy.ca on 21 May 21:14 collapse

Yes. EBay and Amazon have a certified refurbished thing with warranties for a little more money, or monitor local classified sites if you can inspect them. I’ve bought a couple off Kijiji here in Canada, which is a bit like Craigslist and Facebook marketplace. The sellers didn’t advertise that they were a business selling off-lease stuff, but you can tell by the number of laptops they post.

kokesh@lemmy.world on 18 May 14:07 next collapse

I’m running an old Igel M340C thin client to run a lot of stuff, from Jellyfin to AdguardHome. Perfectly enough.

jagged_circle@feddit.nl on 18 May 14:32 next collapse

The one you already have.

Human01001100@lemmy.ml on 19 May 14:10 collapse

That’s the thing, when I buy new devices, my old ones usually go to my parents or for donation. So I have no old tech laying around, sadly. I’ll have to buy, that’s the reason for the post.

jagged_circle@feddit.nl on 20 May 12:42 collapse

You dont have to buy new. Go to a thrift store and buy used if you have nothing lying around.

ABetterTomorrow@lemm.ee on 18 May 14:35 next collapse

The one you already have and/or if a raspberry pi 2 (all) can do it…. So can you. It’s not a game, you don’t need a RTX 9090Ti Super Omega Beta Pizza to run it.

DieserTypMatthias@lemmy.ml on 18 May 15:48 next collapse

Basically none. Grab whatever device you have on hand and install Docker on it.

Landless2029@lemmy.world on 18 May 16:38 next collapse

This specifically depends on what you want to run.

I’d say grab any unused PC in your home or off the street and it’ll work. Raspberry Pi are good for low wattage so it’s not expensive to run 24/7/365.

The electricity savings would pay for itself over time vs a 10 year old random desktop.

utjebe@reddthat.com on 18 May 19:12 next collapse

Take what you have, start small and learn from it.

Old laptops are great, because they have low power consumption and even pretty used up battery will give you power redundancy.

Even a 10yo laptop is something with 4-5th gen Core cpu and that has plenty of power to get you started.

FrederikNJS@lemm.ee on 18 May 19:39 next collapse

As long as it’s capable of booting into Linux, then you can start building a homelab…

Initially I had a 2-bay Synology NAS, and a Raspberry Pi 3B… It was very modest, but enough to stream media to my TV and run a bunch of different stuff in docker containers.

In my house, computer hardware is handed down. I buy something to upgrade my desktop, and whatever falls off that machine is handed down to my wife or my daughter’s machines, then finally it’s handed down to the server.

At some point my old Core i7-920 ended up in the server. This was plenty to upgrade the server to running Kubernetes with even more stuff, and even software transcoding some media for streaming. Running BTRFS gave me the flexibility to add various used disks over time.

At some point the CPU went bad, so I bought an upgrade for my desktop, and handed my old CPU donown the can, which released an Intel Core i5-2400F for the server. At this point storage and memory started to become the main limiting factor, so I added a PCI SAS card in IT mode to add more disks.

As this point my wife needed a faster CPU, so I bought a newer used CPU for her, and her old Intel Core i7-3770 was handed down to the server. That gave quite a boost in raw CPU power.

I ended up with a spare Intel Core i5-7600 because the first motherboard I bought for my wife was dead, so I looked up and found that for very cheap I could buy a motherboard to match, so I upgraded the server which opened up proper hardware transcoding.

I have since added 2 Intel NUCs to have a highly available control plane for my cluster.

This is where my server is at right now, and it’s way beyond sufficient for the media streaming, photo library, various game servers, a lot of self-hosted smart home stuff, and all sorts of other random bits and pieces I want to run.

My suggestion would be to start out by finding the cheapest possible option, and then learn what your needs are.

What do you want your server to do? What software do you want to run? What hardware do you want to connect to it? All of this will evolve as you start using your server more and more, and you will learn what you need to buy to achieve what you want to.

Human01001100@lemmy.ml on 18 May 22:29 collapse

How complex is migrating the whole thing for a the new setup when upgrading? The best I can get with my current budget probably resembles the “quality” of your second server(first upgrade).

While on your firstly upgraded server, were there limitations to any of your self-hosting desires? Things that were only possible on your following upgrade? That’s my main concern. I’m probably over thinking things, it will be my first home server, I’ll probably stick the simple stuff at first.

Right now I want to host movies, photos, automatic backups, files in general. Also use it for the smart home that I’m slowly putting together, basic stuff… for starters.

FrederikNJS@lemm.ee on 18 May 23:31 collapse

The only true “roadblock” I have experienced was when running on the raspberry pi, where the CPU was too slow to do any transcoding at all, and the memory was too small and unupgradable to be able to run much at the same time.

As soon as I had migrated to a proper desktop (the i7-920) I could run basically everything I would regularly want. And from then on it was a piece of cake upgrading. Shut the machine down, unplug, swap the parts, plug in, turn on. Linux has happily booted up with no trouble with the new hardware.

Since my first server was a classic bios, and the later machines was UEFI, then that step required a reinstall… But after the reinstall, I actually just copied all the contents of the root partition over, and it just worked.

The main limiting factors for me has been the amount of memory, the amount of SATA connectors for disks, and whether the hardware supported hardware transcoding.

For memory, ensure the motherboard has 4 sockets for memory, that makes it easy to start out with a bit of memory and upgrade later. For example you could start out with 2x 4GB sticks for a total of 8GB, and then later when you feel like you need more, you buy 2x 8GB sticks. Now you have a total of 24 GB.

For SATA ports, ensure the motherboard has enough ports for your needs, and I would also strongly recommend looking for a motherboard with at least 2 PCIe 16x slots, as that will allow you too add many more SATA or SAS ports via a SAS card.

Hardware encoding is far from a must. It’s only really necessary if you have a lot of media in unsupported formats by the client devices. 95% of my library is h.264 in 1080p, which is supported on pretty much everything, so it will play directly and not require any transcoding. Most 1080p media is encoded in h.264, so it’s usually a non-issue. 4k media however often come in HEVC (h.265), which many devices do not support. These files will require transcoding to be playable on devices that do not support it, but a CPU can still transcode it using “software transcoding”, it’s just much slower and less responsive. So I would consider it a nice convenience, but definitely not a must, and it depends entirely on the encoding of the media library.

EDIT: Oh, I just remembered… Beware of non-standard hardware. For example motherboards from Dell and IBM/Lenovo. These often come with non-standard fan mounts and headers, which means you can’t replace the fans. They also often have non-standard power supplies, in non-standard form factors, which means that if the power supply dies, it’s nearly impossibly to replace, and when you upgrade your motherboard you are likely forced to replace the power supply as well, and since the size of the power supply isn’t standard, the new power supply will not fix in the case… Many of their motherboards also have non-standard mounts for the motherboards, which means that you are forced to replace the case when upgrading the motherboard… You can often find companies selling their old workstations for dirt-cheap, which can be a great way to get started, but often these workstations are so non-standard that you practically can’t upgrade them… Often the only standard components in these are harddrives, SSDs, optical disc drives, memory, and any installed PCIe cards.

Human01001100@lemmy.ml on 19 May 14:01 collapse

Thanks for the response, it pretty much answers all questions I had in mind (I think…😅).

callyral@pawb.social on 18 May 21:29 next collapse

I live in Brazil too and bought a R$120 old HP computer running Windows XP on MercadoLivre. Works decently enough for a Minecraft server after an upgrade (4 to 8GB of RAM). Old computers are great for price and they’re good if you can upgrade them.

For general purposes, get something better than what I bought since it is not the fastest (even though it runs the Minecraft server software alright, it still lags). Maybe upgrading with an SSD would help performance.

muusemuuse@lemm.ee on 18 May 21:45 next collapse

It depends what you want to do with it. What do you want the server to do?

Human01001100@lemmy.ml on 19 May 14:07 collapse

Right now I want to host movies, photos, automatic backups, files in general. Also use it for the smart home that I’m slowly putting together, basic stuff… for starters.

Someone mentioned that if I want to host 4k content I should go for a 7th gen Intel CPU or newer for HVAC support, something I didn’t know, but that showcases exactly the sort of restrictions that I had in mind when I submitted this post.

Sorry it took me a while to respond, didn’t expect to have this many responses.

muusemuuse@lemm.ee on 19 May 14:40 collapse

So yes and no on that recommendation. If you are just hosting content for local consumption, transcoding is unnecessary since you have the network bandwidth to just throw the data directly to whatever is playing it. So weaker hardware is perfectly fine. If you are doing lots of concurrent streams or there is network access outside the house, the limited bandwidth can become an issue so transcoding suddenly matters and more powerful hardware comes into play.

I have used many ARM SBCs and a few low-power Intel boards like my current N100 and they’ve all been fine. While I generally dislike Intel their quicksync is very useful in media server configurations. If you are going to be doing a lot of live transcodes, I would consider throwing an ARC GPU in there and having jellyfin utilize the transcode capabilities of the Intel GPU instead of the CPU as it can handle more simultaneous streams. Beware the xe driver as there are issues with it in certain configurations. Same with HuC/GuC. The older standard driver is more likely to just work. Jellyfin and the archlinux wiki have great documentation on this.

NVIDIA used to be top tier here but their transcode tech is pretty old by this point and the quality, while acceptable, isn’t the best. Intel beats them. AMD, generally a preference for me, has a terrible media transcoder. Easily the worst quality of all of them. For raw compute and pushing pixels, AMD all the way but for transcode I would pass.

So to summarize: cheap out if it’s just local access. Transcode is pretty much unneeded. If it’s outside the home and/or had many streams at the same time, Intel for the GPU and AMD for the CPU.

spv@lemmy.spv.sh on 18 May 21:59 next collapse

depends on what you want to host. a lemmy or pleroma instance could run on an old laptop – that’s often where people start. a small minecraft server too. email can be a bit more resource intensive, but it’s not that bad. mastodon can be a pain in the ass. peertube’s main bottleneck tends to be upstream bandwidth. jellyfin doesn’t require too much power, but if you want to transcode a “decent” GPU is preferable. i threw my old 1650 in there and it works fine for a stream or two.

kieron115@startrek.website on 18 May 22:33 collapse

EDIT: I meant QSV Gen 7, which would be intel Gen 11. Kaby Lake and up can still handle HEVC in hardware but they have to use software as well for 4K.

worth mentioning that any intel cpu with an iGPU from generation 7 (kaby lake) and up can handle 4k hevc transcode in hardware. i just upgraded my plex box to an i7 8700K and it works quite well. an old office workstation with like a 9th or 11th gen intel cpu would probably rip through transcodes.

spv@lemmy.spv.sh on 18 May 23:19 collapse

oooooooooooo, shit

i’ve got an 8350k sitting around as an email server, might be time for some migrations! tho hwenc tends to be worse than sw (nvenc certainly is, but the performance makes up for it) so i might just keep it as is for now…

kieron115@startrek.website on 21 May 01:17 collapse

For sure the quality will be worse than software but typically if I’m away from home I’m watching on an ipad and then you really can’t tell the difference.

_cryptagion@lemmy.dbzer0.com on 19 May 11:52 collapse

I run about thirty services off of an old Dell workstation that I “acquired” from my last corporate job. That includes a full Servarr stack. I’m pretty sure whatever you have will probably do the trick.