this post was submitted on 01 Dec 2024
50 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

1455 readers
35 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

So as I look to build my first dedicated media server, I’m curious about what OS options I have which will check all the boxes. I’m interested in Unraid, and if there’s a Linux distro that works especially well I’d be willing to check that out as well. I just want to make sure that whatever I pick, I can use qbittorrent, Proton, and get the Arr suite working

top 50 comments
sorted by: hot top controversial new old
[–] PerogiBoi@lemmy.ca 24 points 1 month ago (1 children)
[–] WeirdGoesPro@lemmy.dbzer0.com 15 points 1 month ago

Always Debian.

[–] cybirdman@lemmy.ca 14 points 1 month ago* (last edited 1 month ago) (5 children)

I use Unraid and I'm loving it. Super stable, easy to manage, set up dockers, let's me pool my hard drives and set up parity. Highly recommend. Only thing that I've had a hard time with is finding a stable flash drive - you'd be surprised how many start to fail when used 24/7

[–] maxprime@lemmy.ml 5 points 1 month ago

Came here to suggest unraid as well. There are probably better options, but for a first timer, I can’t imagine a better solution. The ability to just add a hard drive to the array with virtually not configuration, as well as adding up to two parity disks is great. Caching is super easy too.

Plus they now support zfs so there’s that.

[–] _cryptagion@lemmy.dbzer0.com 2 points 1 month ago (1 children)

The thumb drive isn’t used all the time. I’ve been using a cheap USB drive that cost me like $12 several years ago, and haven’t had any issues yet. It’s been running constantly for the last year or two.

[–] cybirdman@lemmy.ca 1 points 1 month ago

I had an issue recently where my usb drive was "disconnecting" which triggered unraid to give read errors and then panicking. I had checked though and it wasn't being regularly read or written to but still caused my whole server to crash. Changing usb drive has since fixed it, for now 😄

[–] Kettrick@feddit.nl 2 points 1 month ago

Unraid would be a very good choice for someone who is reaching out and asking this question. Debian can do the same but I suspect it’ll be easier to setup and manage on unraid.

Disk management in unraid is also great.

load more comments (2 replies)
[–] Appoxo@lemmy.dbzer0.com 11 points 1 month ago

Using debian 12.

[–] cyberpunk007@lemmy.ca 7 points 1 month ago (1 children)

Easy, Linux. I prefer Arch based because of AUR.

[–] Fisch@discuss.tchncs.de 13 points 1 month ago (1 children)

I wouldn't use Arch on a Server. Everything you install will probably be in a docker container anyway, so fast updates for system packages isn't important compared to stability. Good choices would be Debian or Fedora Server. I personally use Fedora but the reason is just that I use Fedora on Desktop too, so I know they have really good defaults (They're really fast in adopting new stuff like Wayland, Pipewire, BTRFS with encryption and so on) and it's nice that Cockpit us preinstalled, so I can do a lot of stuff using a WebUI. Debian is probably more stable tho, with Fedora there is a chance that something could break (even though it's still pretty small) but Devian really just works always. The downside is of course very outdated packages but, as I said, on a Server that doesn't matter because Docker containers update independetly from the system.

load more comments (1 replies)
[–] catloaf@lemm.ee 7 points 1 month ago* (last edited 1 month ago) (1 children)

I use Alma because RHEL is designed for enterprise stability. Debian is also a good option.

Just don't use Ubuntu. They do too much invisible fuckery with the system that hinders use on a server. For basic desktop use it's fine, but never for a server.

Edit: but you should be doing most stuff in Docker anyway, so the actual OS isn't going to matter too much. If you're already comfortable with one base (Debian, RHEL) just use that one or a derivative.

[–] hedgehog@ttrpg.network 4 points 1 month ago (2 children)

Just don't use Ubuntu. They do too much invisible fuckery with the system that hinders use on a server.

Would that warning also apply to Mint, since it’s based on Ubuntu, as well as other Ubuntu-based distros?

[–] Chewy7324@discuss.tchncs.de 7 points 1 month ago

I wouldn't use Mint or other desktop-focused OS for a server. Ubuntu's advantage of newer packages gets largely negated by how long Mint takes to release a new major release, so I'd rather use Debian.

I do think Ubuntu is fine for servers too, like almost any other point release distro.

[–] catloaf@lemm.ee 4 points 1 month ago

Probably. I don't know what Mint or others do under the hood, but I do know they're definitely targeted at desktop use.

[–] Dempf@lemmy.zip 6 points 1 month ago (1 children)

Now that Truenas Scale supports just plain Docker (and it's running on Debian) I think it's a great option for an all-in-one media box. I've had my complaints with Truenas over the years, but it's done a really great job at preventing me from shooting myself in the foot when it comes to my data.

I believe raidz expansion is also now in stable (though still better to do a bit of planning for your pool before pulling the trigger).

[–] DonnieDarkmode@lemm.ee 1 points 1 month ago (1 children)

The raidz stuff, as I understand it, seems pretty compelling. A setup where I can lose any given drive and replace it with no data loss would be very ideal. So I would just run TrueNAS scale, through which would manage my drives, and then install everything else in docker containers or something?

load more comments (1 replies)
[–] undefined@lemmy.hogru.ch 5 points 1 month ago

I use Alpine Linux for server-based stuff because it’s so light and the packages are kept up-to-date.

[–] nafzib@feddit.online 4 points 1 month ago (1 children)

Like others in here, I also set mine up with Debian and docker compose. Since it's an always on server I wanted maximum stability. I don't use unRAID, so not sure about compatibility for that.

[–] DonnieDarkmode@lemm.ee 4 points 1 month ago (2 children)

Data protection is a big concern. Is that something you have in your setup?

[–] nafzib@feddit.online 2 points 1 month ago

Unfortunately not in my setup, but that's just because I don't have the money to upgrade it at the moment and nearly everything I have is stuff I can easily redownload.

Once I can save up for it I will up my storage and get some back ups set up.

[–] Darkassassin07@lemmy.ca 2 points 1 month ago (1 children)

I run nightly archiving backups using Borg Backup.

It's compression + de-duplication algorithms have me able to store 18 historical backups of about 422gb ea, in only 367gb of disk space.

That then gets mirrored to a cold storage drive manually every few months.

[–] DonnieDarkmode@lemm.ee 1 points 1 month ago (1 children)

Ooh so I could do this to my media library?

[–] Darkassassin07@lemmy.ca 1 points 1 month ago

If you want and have somewhere to store it.

I'm not all that concerned about the media drives; I don't have a spare 30tb to stuff that backup in, and that can be re-acquired if push comes to shove. I tend to just backup metadata + server config/database files along with everything in /home, /root, and /var.

[–] communism@lemmy.ml 4 points 1 month ago

I assume any Linux or *BSD distro will work, especially one with Docker (which is most/all of them?) so you don't have to worry about things being packaged for your distro so long as there's a docker image. My server is Alpine Linux.

[–] pr06lefs@lemmy.ml 3 points 1 month ago (1 children)

I dunno what the best is, but if you choose nixos configure openvpn instead of trying to use the protonvpn package.

[–] Fisch@discuss.tchncs.de 4 points 1 month ago (2 children)

Just wanted to add that Wireguard is better than OpenVPN in every way and you should use that except when you want to use it for torrenting. I don't know remember the reason but that's the one time when you should be using OpenVPN. I think it had something to do with OpenVPN supporting TCP and Wireguard being UDP only or something like that.

[–] Chewy7324@discuss.tchncs.de 3 points 1 month ago (1 children)

Wireguard uses UDP which results in better latency and power usage (e.g. mobile). This does not mean Wireguard can't tunnel TCP packets, just like OpenVPN also supports tunneling UDP.

I'm using Wireguard succesfully for torrenting.

[–] Darkassassin07@lemmy.ca 3 points 1 month ago (1 children)

As a note: while UDP is preferable for stability/power usage, UDP VPN traffic is often blocked by corporate firewalls (work, public free wifi, etc) and won't connect at all. I run OpenVPN using TCP on a standard port like 80/443/22/etc to get through this, disguised as any other TLS connection.

[–] Chewy7324@discuss.tchncs.de 1 points 1 month ago

Good point. Setting up shadowsocks and tunneling wireguard through is on my to-do list. I believe ss also works over TCP so it should work reliably in filtered networks.

[–] pr06lefs@lemmy.ml 1 points 1 month ago (1 children)

interesting. proton has example openvpn configs on their site which was hugely helpful to me. dunno if they have wireguard equivalents, or if those are needed.

[–] Fisch@discuss.tchncs.de 2 points 1 month ago (1 children)

I'd be weird if they didn't have Wireguard configs, Wireguard is basically the standard nowadays. It's faster and safer (the code base is way smaller, so the chance of there being security vulnerabilities is a lot lower and can be fixed more easily).

[–] pr06lefs@lemmy.ml 1 points 1 month ago (1 children)

Looks like they do have both openvpn and wireguard configs. Is it true that for torrenting openvpn is preferred? That's basically the only reason I use vpn.

[–] Fisch@discuss.tchncs.de 1 points 1 month ago

I think so. The main reason I use OpenVPN for that is just that that's what Gluetun uses. You should search that up online tho, I don't really remember why OpenVPN is better.

[–] w3dd1e@lemm.ee 3 points 1 month ago

I have been fighting with Docker and Fedora on these exact items all weekend. Good luck

[–] nis@feddit.dk 3 points 1 month ago (2 children)

I use Unraid on my NAS. I like it for storage, I don't like it for running services. It's still running my media stack, but only until I get that moved to a Debian server.

Depending on how involved you want to be and what you want to learn, Unraid might be a good fit for you. It's easy and mostly just works.

[–] _cryptagion@lemmy.dbzer0.com 2 points 1 month ago

I second UNRAID, but also for your media stack. I have my home server running UNRAID and around 20 services, with zero issues.

[–] DonnieDarkmode@lemm.ee 1 points 1 month ago

How do Proton VPN and QBitTorrent play with that setup, if you know?

[–] DesolateMood@lemm.ee 2 points 1 month ago (2 children)

I'm sure any server oriented Linux distro will do fine. I use Debian.

I will note, I don't know if you're planning on having remote access (e.g. through tailscale or reverse proxy), but if you are, I found it quite a challenge to get proton to play nice with them

[–] Chewy7324@discuss.tchncs.de 3 points 1 month ago (1 children)

For newcomers I'd recommend docker and images like gluetun for setting up the VPN. It makes it easy to forward ports (for remote access) while keeping the torrent client behind the VPN.

load more comments (1 replies)
[–] DonnieDarkmode@lemm.ee 1 points 1 month ago (1 children)

What did you end up using instead? It’s not a necessity, but remote monitoring and access has come in very handy in the past

[–] DesolateMood@lemm.ee 5 points 1 month ago

For a while I split tunneled tailscale through an openvpn .conf file, but recently switched to using qbittorrent in docker with gluetun. Qbittorrent is realistically the only service that needs to be behind a vpn so it works out well

[–] rexum@gnu.gl 2 points 1 month ago

@DonnieDarkmode any linux distro you want with docker on it.

[–] merthyr1831@lemmy.ml 1 points 1 month ago (1 children)

Depends on your experience, hardware, and other stuff.

You could easily use Debian or Ubuntu server and install Docker if all you want is those listed services installed on unRAIDed drives.

You could try something like Dietpi (which is what Ive used since I started self hosting) which simplifies a few things and gives some helpful scripts on top of a basic Debian installation. It's a simple setup but still just plain ol' Debian so easy to set up however you like.

You could use something like CasaOS or ZimaOS which offer Web interfaces and integrate with docker for those with a "no tech" background up to technical users.

ProxMox is an option, but takes a lot of learning proxmox-specific stuff and IMO might be a bit overkill for your first server.

Personally, I'd go for something accessible to your tastes because everything nowadays has some kind of "easy setup" path for Plex/Jelly + Arr. Once it's set up, use it! Then once you need a big change for better hardware or more bespoke software setups then start digging into more fancy setups.

[–] DonnieDarkmode@lemm.ee 1 points 1 month ago (1 children)

I actually want to prioritise the data protection of some sort of RAID setup, and support for torrenting and whatnot would be secondary to that. Really what I’m trying to avoid is installing and setting up my system only to find out that the OS I’ve picked is terrible for torrenting afterwards.

I have a workable setup on consumer Windows 11 right now, so I see the next step as having a dedicated Media Server box which can give me plenty of storage, data protection (right now a drive failure would wipe out half my server), and room for future expansion. Once that’s sorted, then I’ll look into the Arr suite and more advanced torrenting stuff. I want to pick something good for that stuff now, though, so I don’t have a ton of headache down the road

[–] merthyr1831@lemmy.ml 2 points 1 month ago

I think there's some deffo better OSes than my suggestions for RAID setups and stuff, bar ProxMox. Maybe it is worth you looking into those options!

That being said, any OS can torrent shit just fine. If it can run Docker or other containers (so 99% of suggestions here) you're set.

Maybe if you can spare the hardware try setting up a RAID on a couple of different ISOs to test em. That'll be the harder, or more permanent, aspect of the setup I think.

[–] Imprint9816@lemmy.dbzer0.com 1 points 1 month ago* (last edited 1 month ago) (1 children)

I'd assume its probably Linux even if it's the worst in terms of Proton support but, its not like you need all the bells and whistles.

[–] DonnieDarkmode@lemm.ee 2 points 1 month ago (1 children)

Yeah I’m not surprised. Weak Proton support sucks, but for a dedicated media server it’s not the priority

[–] Imprint9816@lemmy.dbzer0.com 2 points 1 month ago

Yeah I mean its understandable why Proton does not prioritize Linux but its a bummer.

[–] Jz5678910@lemdro.id 1 points 1 month ago

I'm sure there are better options, but I'm running proxmox as my host and a windows server VM for my suite.

load more comments
view more: next ›