What to look for in building/buying a server?
from Zagorath@aussie.zone to selfhosted@lemmy.world on 02 Jan 08:28
https://aussie.zone/post/28225727

So after months of dealing with problems trying to get the stuff I want to host working on my Raspberry Pi and Synology, I’ve given up and decided I need a real server with an x86_64 processor and a standard Linux distro. So I don’t continue to run into problems after spending a bunch more, I want to seriously consider what I need hardware-wise. What considerations do I need to think about in this?

Initially, the main things I want to host are Nextcloud, Immich (or similar), and my own Node bot @DailyGameBot@lemmy.zip (which uses Puppeteer to take screenshots—the big issue that prevents it from running on a Pi or Synology). I’ll definitely want to expand to more things eventually, though I don’t know what. Probably all/most in Docker.

For now I’m likely to keep using Synology’s reverse proxy and built-in Let’s Encrypt certificate support, unless there are good reasons to avoid that. And as much as it’s possible, I’ll want the actual files (used by Nextcloud, Immich, etc.) to be stored on the Synology to take advantage of its large capacity and RAID 5 redundancy.

Is a second-hand Intel-based mini PC likely suitable? I read one thing saying that they can have serious thermal throttling issues because they don’t have great airflow. Is that a problem that matters for a home server, or is it more of an issue with desktops where people try to run games? Is there a particular reason to look at Intel vs AMD? Any particular things I should consider when looking at RAM, CPU power, or internal storage, etc. which might not be immediately obvious?

Bonus question: what’s a good distro to use? My experience so far has mostly been with desktop distros, primarily Kubuntu/Ubuntu, or with niche distros like Raspbian. But all Debian-based. Any reason to consider something else?

#selfhosted

threaded - newest

Eyekaytee@aussie.zone on 02 Jan 09:08 next collapse

So after months of dealing with problems trying to get the stuff I want to host working on my Raspberry Pi and Synology

I take it ARM still not there package wise? Sucks to hear, I was really hoping we’d be further along by now

i just use a second hand laptop I got from “hock and go” down on gold coast, it has an ethernet port :O AMD stuff, I always generally stick with AMD for graphics as a lot of people complain about nvidia on linux, when I was in the store looking at them all did some pretty extensive searching on network driver compatibility, it has been a complete bitch in the past to deal with (ESPECIALLY wifi drivers), it seems to be a bit better these days

got it home, stuck a 2tb sata ssd in it, installed just regular ubuntu 24.04 lts, works well, i have the desktop version installed but 99% of the time I’m just sshing in

use it for immich and qbittorrent and a few other things

Works well enough for me, even though this might be the highest idle cpu usage I’ve ever seen (it’s not a fast cpu):

Btop: files.ikt.id.au/6c8kwp.png

My other servers are idling at like 0.1:

Htop: files.ikt.id.au/4uvrht.png

But I haven’t noticed any issues outside of immich taking longer if I go like, recheck all photos or starting up services, not a problem for me

was interested in this as well: www.ozbargain.com.au/node/934940

Seagate Expansion External Hard Drive HDD 24TB US$309.02 (~A$478.61) / 28TB US$353.02 (~A$546.76) Delivered @ B&H Photo Video

But haven’t dealt with USB attached storage before, I assume it would be fine but I’ll wait till I’m a bit closer running out of space

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       1.8T  164G  1.6T  10% /
/dev/sda1       1.1G  6.2M  1.1G   1% /boot/efi
Valmond@lemmy.world on 02 Jan 09:18 collapse

In the same vein, used thinkcentres are dead cheap and good, easy to tinker with physically, and for what I know no problems when it comes to linux (nvidia drivers are probably as on any other platform). Got a ussf m920q IIRC, added som ram, changed the CPU and swappyd out the SSD for a big one and it became my main driver (also have some 710 and a tower for more inside space, GPU, …) low power draw and “it just works”.

Eyekaytee@aussie.zone on 02 Jan 09:34 collapse

100%, thinkcentres are the most well supported of the major brands iirc

the battery is a nice little in built UPS feature, bit underrated if you get a second hand laptop with a working battery

illusionist@lemmy.zip on 02 Jan 09:17 next collapse

N100 is a very good choice. Used can be top or flop. Up to you if you want to take the risk/chance.

ubuntu is a solid distro, especially since you have knowledge with it.

When I bought a N100 I installed fedora and love it much more than ubuntu because of auto updates without problems, cockpit, podman and selinux.

If your proxy works, then let it work. If you have to maintain it, or set up a new system, I recommend switching to caddy because it’s just so easy.

Bronzie@sh.itjust.works on 02 Jan 10:54 next collapse

I second this.

Bought a $150 NGKTech from Aliexpress with 16 GB of RAM a couple of years ago, and it’s been such a beast with Proxmox.
Extremely low power consumption, no fan noise, barely any heat and chugs through Jellyfin transcoding, Minecraft/Valheim servers, HA OS and so many more small containers.
Just remember to set the C-state in BIOS and re-paste the CPU before you fire it up. The stock stuff is crap.

I was expecting to outgrow it quite quickly, but it just powers through it all.
I can’t see any reason to get anything more powerful at all.

PatrickYaa@feddit.org on 02 Jan 11:12 collapse

I would switch ubuntu for debian, but that is more personal preference. As they are mostly the same architecture, there is not much of a learning curve.

illusionist@lemmy.zip on 02 Jan 11:50 collapse

What does debian have what ubuntu hasn’t?

Out of curiosity. I’ve got a debian bookworm running but I couldn’t tell a noticable difference between the two

JASN_DE@feddit.org on 02 Jan 09:53 next collapse

I had good results with SFF (Small Form Factor) machines, mostly Dell Optiplexes. More space inside while manageably small. Usually a lot of them around as former leasing machines.

TwoTiredMice@feddit.dk on 02 Jan 10:15 collapse

I have nothing to compare to, but I recently bought a Dell OptiPlex 9020 for $15/£13. It works wonders. I run a handful docker containers and a VM and haven’t experienced any issue since I bought it. It’s my first time experimenting with a home lab setup.

Limerance@piefed.social on 02 Jan 10:18 next collapse

HP Microserver

db_geek@norden.social on 02 Jan 08:45 next collapse

@Zagorath

I personally use my previous desktop PC with an i7-4790T CPU and 32GB Ram for selfhosting.

@jwildeboer shows his homelab in his blog using some Mini-PCs.

https://jan.wildeboer.net/2025/05/Cute-Homelab/

I would suggest, when you don't need HDDs for storage reasons, to go with a refurbished Mini-PC with as much RAM as possible.

androidul@lemmy.world on 02 Jan 10:56 collapse

While I like his setup, I’m not a big fan of 3D printed components being added to the whole setup primarily because not everyone has a 3D printer lying at home …

The cost though it’s actually quite good I have to say.

db_geek@norden.social on 02 Jan 11:14 next collapse

@androidul I would say, selfhosting is doing the best out of available possibilities.
For me it is just an 11 years old PC, which was much to good to put to waste.

My intention with the example from @jwildeboer was more about the usage of Mini-PCs than about their rack mounting.

But it also shows, what could be possible with more ressources.

jwildeboer@social.wildeboer.net on 02 Jan 11:17 collapse

@androidul Agreed. The 3d printed mounts are optional. But nice ;) My main point is that with these refurbished little machines you have redundancy and avoid the single point of failure. @db_geek

just_another_person@lemmy.world on 02 Jan 11:21 collapse

Anything can be a “server” in your use-case. Something low idle will not cost an arm and a leg to run, and you can always upgrade later if you need more.

Check the Minisforum refurb store and see what you can get for under $150.