With all this migration i’ve been inspired to start self hosting some services.

I am looking for a mini pc to ideally run linux and host a media server with radarr and sonarr, pihole and some other stuff as i start getting more into self hosting.

Any recommendations / experiences that you can give? Or some general guidelines on what i should look for or things to avoid.

Thank you!!

1 point

I would head over to https://forums.serverbuilds.net/ and chat with the nice people there. They specialize in used hardware, both consumer and server-grade stuff.

There’s lots of ways you can take this, but from my perspective the best place to start is a NAS (preferably one with Docker and VM capabilities like Unraid). That will open up a big rabbit hole for you to explore.

permalink
report
reply
1 point

My worries with a NAS is their very small RAM (on NAS of reasonable price). When running several docker containers i fear that might be an issue if suddenly several *arr are downloading, pihole, tailgate… all running at the same time might mean that the NAS with 1GB (and t these are already expensive, most I’ve seen more on my budget are half of that) of memory might not be enough (i think).

permalink
report
parent
reply
1 point

Ah, yeah, I suppose if you’re talking about an off-the-shelf NAS, that would be a concern. I’m more talking about a custom build like the NAS Killer line from serverbuilds.net (https://forums.serverbuilds.net/t/guide-nas-killer-5-0/3072)

It’s really a proper server that includes NAS functionality along with whatever else you want to do with it.

permalink
report
parent
reply
13 points

Make sure you have a plan for hard drive space. Mini computers tend to not have as many bays for hard drives. And since you’re doing the media server thing, you’ll want to be able to easily drop in more drives at a later time. You could do this with like an external USB hdd enclosure with multiple bays, but if you go with a desktop form factor that wouldn’t necessarily be required.

Speaking of hard drives, checkout MergerFS, you can use this to pool multiple hard drives into a single mountpoint so you don’t have to worry about moving files around to maximize disk usage. Also, the nice thing about mergerfs opposed to say RAID is all of the drives can be different manufacturers and sizes.

Also, I would personally recommend going with proxmox as your baremetal install and then spin up VM’s for the various things you plan to run.

And if you think you might get more into the *arrs (like readarr or lidarr), it’s probably worth your time to setup prowlarr.

And if you haven’t yet, I recommend learning how to use Docker and docker-compose. There’s a bit of a learning curve to start, but you’ll save a lot of time and headaches in the long run. Linux-server has some good docs and images to get you started: https://docs.linuxserver.io/

And don’t expose your *arrs to the internet, if you plan to share your Plex/jellyfin, then setup Overseer to support requests for new content.

Hopefully this all helps. Feel free to ask me any follow up questions as I have a similar setup (albeit with a bit more going on).

permalink
report
reply
3 points

You could use a network drive for this. My server only has 250GB of storage, but I have an 8TB RAID that stores my media. This gets mounted to my server at boot using samba. I did this by adding an entry in /etc/fstab. The network drive (Synology) and my server are connected via a 2.5 Gbps switch.

permalink
report
parent
reply
1 point

You’re essentially paying for an extra server though.

permalink
report
parent
reply
1 point

Ah, I suppose so. For me, it was something I already had for other purposes.

permalink
report
parent
reply
1 point

Thank you for the comprehensive answer! I can see that storage is going to be a big issue here for all the media, I’ve been recommended in this thread to go for a NAS but their low RAM/high cost plus having to use their proprietary software is holding me back. Is a mini PC attached to a HDD enclosure a good solution? Won’t the USB speed be too slow or that isn’t an issue for a media server and the other utilities (I’m more focused on the media server as I am assuming that is the more taxing use case)

permalink
report
parent
reply
1 point
*

Regarding the NAS; I totally agree. Pretty much the same reason I didn’t go with one. Maybe it makes sense for folks who aren’t comfortable with the Linux command line, but that’s really the only time I would recommend a NAS over a regular computer of some sort.

As for speeds over USB, I’ve been using an external USB drive bay for a few years now and haven’t had any issues, and I even stream 4k Blu-ray remuxes over the LAN from it. But it’s worth mentioning that my enclosure supports USB 3.2 and wasn’t exactly cheap. Link to the one I’m using is below: https://www.amazon.com/gp/aw/d/B07ND3JNZ6

Oh and regarding the taxing part: yeah, pihole is going to be pretty lightweight (it’s designed for raspi after all). Sonarr and radarr aren’t too bad either, but probably a bit heavier than pihole. You can certainly expect a lot of reading and writing from whatever your *arrs will use for downloading (nzb or torrent client). And I’m assuming you’ll be using Plex or jellyfin, these will probably be heavier than any of the rest, again you’ll have a lot of disk I/o activity, but even more so, if you end up needing to transcode your media. Plex/jellyfin by default does this on the fly and will be massively CPU intensive. UNLESS you’re able to setup hardware transcoding. You’ll want to check Plex/jellyfin’s support for hardware transcoding and make sure you get a CPU that is supported by either or plan to get a supported GPU. In the case of Plex I think you’ll need the Plex pass or whatever. Otherwise, you can just make sure your media and whatever device you’re streaming to support direct playback, but I wouldn’t rely too heavily on that, especially if you’re sharing access with friends/family.

permalink
report
parent
reply
1 point

If you just want something small and fun to play with Linux and containers try looking for used Chromeboxes. Just bear in mind that going down the *arr app rabbit hole usually means building something with more storage.

permalink
report
reply
4 points

A few years old prebuilt for the office can work well, I have an HP 290 and HP S01 that work great as servers.

permalink
report
reply
1 point

That’s what I did as well. Got one with a sixth gen i7 for $100 on eBay a few years ago. It’s been chugging along nicely.

permalink
report
parent
reply
1 point

Same here. I have everything running on an ex-lease HP EliteDesk. Small footprint, and quite upgradable. Think I paid about £150 for it and it’s been running quite happily for a couple of years. Runs everything I can throw at it.

I don’t know why people buy RPIs anymore, unless the tiny form-factor is a must have.

permalink
report
parent
reply

https://techmikeny.com/

Depending on where you’re at in the IT space it’s entirely possible to start with an old desktop system and build from there. If you get into things heavily though memory space can quickly become a bottleneck. I just recently upgraded a couple parts of mine so the principal host is a Dell R820 which has the potential for 4 multi-core processors and around 1.5TB of memory, should cover everything for a while outside of the storage and security side of things. Going to a place like the site above is a fine way to get some low cost hosting gear custom built to your specs. I think with reusing the drives I had already it was under $800 all told and has plenty of room to grow.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.4K

    Monthly active users

  • 3.4K

    Posts

  • 77K

    Comments