this post was submitted on 14 Jun 2023
94 points (100.0% liked)

Self-hosting

2769 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 2 years ago
MODERATORS
 

Hey Everyone!

I'm new to this whole Lemmy/SLRPNK.net world. However I am a seasoned old-timer when it comes to having a computer constantly on in the corner of my house doing things. I came to visit this community and thought I’d throw my 2c out here for any potential new people who come snooping around.

In the world of self-hosting, there are like 100 things you can do, everything from a smart home, to a multiple rack mount server setup. I am here to introduce any new people to a concept that I think should be getting more attention. After I heard about the spike in new sign up’s after Netflix pulled their no-password sharing shenanigans, I thought hey, people must not know that this is an option. Self-hosting a media server might be the most simple, yet biggest rebellion against this culture of constant targeted consumption.

Yes yes, I know that most of you long time nerds have had home servers for years, but what about the people who don’t?

So.. What is it?

Think of Netflix, except you get to decide what is on it. No fees, no rules, no taking things off. You can watch stuff from your phone on the train, or even get your mother-in-law that show she’s been struggling to find.

How can I have all these cool things at my fingertips? Well, you’ll need two things.

1. A home server of some kind. If you already have one, excellent! If not, this is unfortunately not a guide on how to get started with self hosting, but a raspberry pie (or one of the alternatives, rockpie, pine64,orangepi) or any old computer, yes even a laptop, is a fine place to start. Give it the OS the manufacturer recommends. If you want more than that,I am sure the many lovely members of this community would love to help you out.

2. A media server software.PLEX, Emby, or Jellyfin are your “real” options. Plex is robust, mostly free, and constantly gets updates. Emby is a fork of plex that happened before the devs started to get greedy and make a premium tier. Jellyfin is the fully free open-source alternative. All three will have apps for your smart TV, or phone. (although plex supports the most, eg xbox, playstaion, Samsung tv, lg tv’s, android and ios)

Now that you have your server, follow the setup guide given by your app of choice, and put some media on your server. You can use a USB, or some kind of remote connection to do this.

Where do you get your media?

Most Blueray or DVD purchases will give you a code inside to get a digital download. Personally, I have no issues with encouraging you to sail the high seas. However for those wanting to walk the straight and narrow, many libraries offer the ability to rip VHS content to digital... and well, CD/DVD drives aren’t hard to find.

Now run yourself a bath, grab some wine, and watch that obscure 1990’s anime in peace, knowing that no woke or conservative mob will every be able to stop you from enjoying ~~jiggle physics~~ Dragon Ball.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

I’ve been debating moving from my Plex setup without any lidarr/etc automations to jellyfin plus all of those things, but it seems fairly intimidating. How long did it take you to set it all up?

[–] [email protected] 7 points 1 year ago (2 children)

I would recommend just starting with migrating your Plex setup to Jellyfin. You can get that done in 30 minutes to an hour.

Setting up all of the arr's takes hours, depending on how intense you want the automations to be (hours to days). I started with Sonarr for TV/Anime direct installed on Windows. Once I knew I liked it and wanted to keep using it, I bought a small form factor PC and installed Ubuntu Server and Docker (which takes a lot longer).

If you can follow guides on the internet, there are tons out there. What OS are you running?

[–] [email protected] 4 points 1 year ago

I second the suggestion to focus on setting up Jellyfin first.

One nice thing is that you can run Jellyfin and Plex concurrently until you feel comfortable swapping! I currently run both to give myself options.

[–] [email protected] 3 points 1 year ago (2 children)

Thanks for this! I had downtime at work yesterday, and this post inspired me, so I drug out the sff pc I had lying around for this purpose, set it up with Ubuntu server and managed to get jellyfin set up in a docker container without too much trouble. Right now it’s local network only vs Plex and I’ll probably keep both up for now. Plex is running on a windows gaming desktop though, so it will be nice to turn that off more often and save some electricity when I don’t need it. How are you handling access outside the house? Port forwarding? Vpn to the home? I think today if I have the time I’ll look into portainer before moving on to sonarr. But, I have noticed much of my video files aren’t in the H.264 format that Jellyfin likes, which is causing playback issues/lag in Firefox. So I may also start looking into a way to start converting all my files instead. Thanks everyone for convincing me to get my stuff together!

[–] [email protected] 3 points 1 year ago (1 children)

Oh one suggestion for external access that I have is Tailscale -- it's a dead simple wireguard VPN. You don't need to do any kind of port forwarding or configuration, you literally just install the binary and run it. It even has support for custom domains so if you have a website, you could set your jellyfin server as a tailscale only subdomain. 10/10 recommend

[–] [email protected] 1 points 1 year ago

I think I saw this mentioned somewhere else recently too. I'll check it out. Thanks!

[–] [email protected] 2 points 1 year ago (1 children)

I use a reverse proxy (NginxProxyManager). I got so addicted to self hosting I bought a 14 bay server and put UnRaid on it. My job gives me access to decommissioned hard drives, so I filled it up lol. UnRaid makes setting these services up a cakewalk, but it helps to understand Docker to keep it running correctly.

As for video re-encoding, you have Compressarr, tdarr, unmanic, and handbrake mostly. I use handbrake most of the time, but it is manual. I will often times just re-download them in the format that I want. Once you are deeper in the weeds with Sonarr, there are ways to configure it to only download certain formats of video.

Good luck!

[–] [email protected] 1 points 1 year ago

I'll look into all of these, for sure. Thank you!

[–] [email protected] 3 points 1 year ago

Honestly, it took a little while because I was learning a lot of it on the fly. If I had to put a hard number on it, maybe like a week of actual work with tuning and permissions but a lot more time in terms f reading how things should all plug in together. Right now, if I had to set it up, maybe an hour of actual work? But that's because I know how to write a docker compose file, how to tunnel the traffic through a vpn in a docker container, how volume mounts work, etc. etc.

It's really intimidating to start with but there's a fair number of really good guides on the internet for basic setups. I kind of started it one thing at a time -- set up a docker container for jellyfin to point to my existing media, then setup Sonarr to manage only the TV shows, then this one, then that one, yadda yadda. Incrementally doing it is really the way to go so you can test what works, what breaks, and what is actually something that you need.