selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

originalucifer, in Am I in over my head? Need some encouragement!
@originalucifer@moist.catsweat.com avatar

start small, and you should be able to do it no problem.

first off, ignore the wd. its storage. you dont want your storage and your processing mixing (i wouldnt anyway)

  • find yourself an old, shitty pc with >=4gb of ram, processor irrelevant.
  • slap a small ssd in, or dont. install linux
  • install docker
  • start installin containers

lots of available, preconfigured containers with instruction over at:
https://hub.docker.com

when you get your containers functional you can connect your media software (jellfyin) to the wd storage

andrew,
@andrew@lemmy.stuart.fun avatar

Mixing storage and processing is now cool again. It’s just called hyper converged infrastructure.

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

old, shitty pc

processor irrelevant

I knew this day would come! blows the dust off my gateway machine with a P4 @ 1.6GHz Look, it’s even got a fdd, perfect for backup duty! If I could only find that Zip drive though…

originalucifer,
@originalucifer@moist.catsweat.com avatar

id be shocked if that p4 had 4gb of ram though

wreckedcarzz, (edited )
@wreckedcarzz@lemmy.world avatar

It can do 2 sticks of 2gb, though it’s not 64bit capable

BeatTakeshi,
@BeatTakeshi@lemmy.world avatar

My Pentium III had a turbo switch… Nostalgia

jws_shadotak, in Am I in over my head? Need some encouragement!

Seconding the other user’s post, it’s just storage. You can use it temporarily for the Plex server but I highly recommend offloading that task to a real computer.

A used Optiplex is usually the go-to because it’s low power and capable of doing the job. Just make sure it has enough RAM to handle the containers you wanna put on it.

Docker is a little bit of learning but you’ll get the hang of it. I found docker-compose to be much easier to learn. Portainer or Dockge can help by giving you a GUI, if that’s your preferred style (like me).

sailingbythelee, in Am I in over my head? Need some encouragement!

I’m a Linux newb and I managed to set this up a couple months ago. Despite being new to servers and containers, I did not find it too difficult.

Here is the guide I used: zerodya.net/self-host-jellyfin-media-streaming-st…

The guide above doesnt include Audiobookshelf installation, but you will quickly see that adding Audiobookshelf to the basic setup is very easy. There are two things I’ve learned since the initial setup, which are worth a deviation from the guide above.

First, the recommendation in the guide to use a separate userid and groupid (1001) for the docker containers vs. your own userid/groupid (1000) is a royal PITA and not necessary for most basic use cases.

Second, and much more important, you MUST set up your VPN in a Gluetun container and then make your torrent client container a “service” of the Gluetun container. Yes, I know, that sounds like some advanced-level abstraction, but it is actually extremely easy to do and it will save you from getting a nastygram from your ISP when your VPN loses connection. The MPIAA is extremely active with automated detection and processing of torrenting data, but if you set up your VPN with Gluetun, you have a perfectly effective kill switch when your VPN connection drops. And, no, the built-in killswitch on your VPN client won’t work with containers.

Here is the guide I used to make that modification to the initial setup: www.smarthomebeginner.com/gluetun-docker-guide/

Good luck! It was fun to set up, and even more fun to use.

ArbiterXero, in Anyone tried this 4x 10gbe + 5x 2.5gbe router?

I bought an older model from this company and it’s been spectacular.

I only reboot it when the power dies, unbelievably reliable and quality build

Bluefruit, in Exposing Myself (with Filebrowser)

I’m not super familiar with docker so im sorry im not much help there but i noticed that you mentioned a ATnT router. Are you using them as an Internet provider?

If so, you might have a carrier grade nat which makes reverse proxy like this not possible even if you do get caddy server working. I had a similar situation with my jellyfin server.

I had caddy server working but when i moved and started using a mobile internet provider, i had to use a vpn tunnel like cloudflare or zerotier to get around it.

All this to say, id recommend finding that out so if that is the case you dont spend anymore time on caddy.

Good luck either way.

butt_mountain_69420,

I’m betting you’ve nailed it. It doesn’t make sense to me why it won’t work. You’re also the second one to mention cloudflared. It is easy to set up?

Bluefruit,

ATnT should be able to tell you for sure. I remember reading about another person facing a cgnat using ATnT on reddit while i still went there so it very well could be.

And fairly easy setup yea. I did mine using a windows pc for testing as i was kinda in between places at the time and thats what i ended up using for jellyfin as well. Just lives on my media pc at the moment. The docs are pretty straight forward.

I recommend that or zero tier which is even more dead simple. Both are good but cloudflare does care about how much bandwidth you’re using so just bear that in mind if you think you’ll use the server for anything else.

Both are vpn tunnels so either should work just fine.

developers.cloudflare.com/…/connect-networks/

www.zerotier.com/pricing/

Self hosting can get pretty overwhelming but i find that using docs in addition to youtube videos helps a lot. I also recommend giving Linux a go when you feel up to it. It can be a very nice option if you’re working with older hardware.

butt_mountain_69420,

I’ve been messing with Linux on and off since 2005. Anything beyond normie operations usually ends in frustration.

butt_mountain_69420,

Oh I’m not calling those bastards at ATT- fuggin hate 'em

https://lemmy.world/pictrs/image/b0144fd7-4197-4752-8557-f093ccd07ca5.png

TheHolm, in Anyone tried this 4x 10gbe + 5x 2.5gbe router?
@TheHolm@aussie.zone avatar

Specks lookg good, Intel NIC, semi decent CPU. I would say it is even overspec for a router.

Crack0n7uesday, in I'm new to networking and self-hosting and have no idea where to start.

Networking will take you from being “they guy that fixes computers” to full blown Telco engineer. It’s a lot though, more than I can explain. Get managed switch and start having LAN parties.

scrubbles, in Anyone tried this 4x 10gbe + 5x 2.5gbe router?
@scrubbles@poptalk.scrubbles.tech avatar

I haven’t tried this one, but be cautious. 10g gets HOT. anything that’s passively cooled id be suspicious about.

ShortN0te, in Anyone tried this 4x 10gbe + 5x 2.5gbe router?

I run a Qotom model with 5 2.5 Gb. Works with OPNsense out of the box and had no problems so far.

willybe, in Am I in over my head? Need some encouragement!

Docker is a moderately sized step beyond VM.

I might recommend setting up VMs with something easy like VirtuaBox. When you have that figured out move on to Docker.

If your a casual user VMs are likely sufficient.

PlexSheep, in 13 Feet Ladder

So ist this an http proxy? I don’t quite get it.

zzzz, in Anyone tried this 4x 10gbe + 5x 2.5gbe router?

Can a device like this act as my router?

FutileRecipe,

It’s just hardware. Almost any device can act as your router if you put the proper OS and/or software on it.

zzzz,

Fair enough.

Lem453,

That’s pretty much exactly what this device is supposed to do. But just to be clear, any computer with a NIC (ethernet port) can be a router.

Do make a useful router for your home, you need a Intel or AMD CPU (x86) and 2 NICs.

This device is specifically designed for someone who wants to setup 10gbe networking.

You also need software.

OPNsense is a great example of software like this. Many home labbers use something like OPNsense installed on a device such as this for their router.

zzzz,

Thank you for the detailed response! I’m going to give it a try! This will be a step up from OpenWRT on a cheap router, I’ll bet!

equidamoid, (edited ) in Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose?

I’d go for HLS due to its simplicity: just files over http(s). VPN or not - depends on your network. If your machine is accessible from the internet, just putting the files into a webserver subdirectory with a long random path and using https will be secure enough for the usecase. Can be done with an ffmpeg oneliner.

The downside of HLS is the lag (practically – 10s or more, maybe 5 if you squeeze it hard). It is in no way realtime. Webrtc does it better (and other things too), but it is also a bigger pain to set up and forward.

Also, just in case, test that the webcam works fine if left active 24/7. I had (a cheapo) one that required a powercycle after a week or so…

vegetaaaaaaa, (edited ) in Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose?
@vegetaaaaaaa@lemmy.world avatar

I recently set up a personal Owncast instance on my home server, it should do what you’re looking for. I use OBS Studio to stream random stuff to friends, if your webcam can send RTMP streams it should be able to stream to Owncast without OBS in the middle - else, you just need to set up OBS to capture from the camera and stream to Owncast over RTMP.

the communication itself should be encrypted

I suggest having the camera/OBS and Owncast on the same local network as RTMP is unencrypted and could possibly be intercepted between the source and the Owncast server, so make sure it happens over a reasonably “trusted” network. From there, my reverse proxy (apache) serves the owncast instance to the Internet over HTTPS (using let’s encrypt or self-signed certs), so it is encrypted between the server and clients. You can watch the stream from any web browser, or use another player such as VLC pointing to the correct stream address [1]

it seems that I might need to self-host a VPN to achieve this

Owncast itself offers no authentication mechanism to watch the stream, so if you expose this to the internet directly and don’t want it public, you’d have to implement authentication at the reverse proxy level (HTTP Basic auth), or as you said you may set up a VPN server (I use wireguard) on the same machine as the Owncast instance and only expose the instance to the VPN network range (with the VPN providing the authentication layer). If you go for a VPN between your phone and owncast server, there’s also no real need to setup HTTPS at the reverseproxy level (as the VPN already provides encryption)

Of course you should also forward the correct ports (VPN or HTTPS) from your home/ISP router to the server on your LAN.

There are also dedicated video surveillance solutions.

aniki,

I second RTMP. I used to use it to send video all over the internet back in the covid days.

fab, in Am I in over my head? Need some encouragement!
@fab@discuss.tchncs.de avatar

Linux is fun! Of course it’s doable. At first you’ll have a hard time and need to look up everything at ddg or whatever. But you’ll learn a lot. Go in small steps. One thing at a time. And envision the feeling you’ll get when you succeed!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #