this post was submitted on 27 Jul 2023
24 points (92.9% liked)

Selfhosted

39273 readers
268 users here now

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!

founded 1 year ago
MODERATORS
 

Hello everyone New to Linux, new to self hosting, and struggling a bit but making progress.

I have two questions: 1 Is there a YouTube channel or a website with tutorials and explanations for the dummies like me? Something eli5 with easy words to start with and understand the basics.

2 I see a lot about nginx and reverse proxy and not sure I need it. I want to run a couple apps on my local network to be able to access it on any computer inside the house and, for now, nowhere else. Do I need nginx? What about port security? I'm worried my lack of understanding regarding ports would make my home network vulnerable. But since for now I only use 192.168.1 , i'd say I'm safe from intruders?

I acknowledge it's all surely basic but I'm not sure where to find a comprehensive source of learning instead of googling bits and pieces.

Thanks

top 9 comments
sorted by: hot top controversial new old
[–] ehrenschwan@feddit.de 6 points 1 year ago* (last edited 1 year ago)

Some Youtube-Channels I can recommend, but with varying levels of “noob”-friedlieness. Just watch a few and decide for yourself which can help the most:

https://youtube.com/@DBTechYT

https://youtube.com/@christianlempa

https://youtube.com/@TechnoTim

https://youtube.com/@LearnLinuxTV

https://youtube.com/@linode

As for a reverse proxy, it depends how you want to access your services. If you’re just gonna host your services on docker and then publish ports on the host you can just access them that way. But that way they are of course not encrypted, which in your home LAN can be fine. To really use a reverse proxy you also need to have a way to rewrite or add dns entries in your local network. All the domains and subdomains you’d want to use must point to the reverse proxy which would then forward the requests to the services.

The way I have it configured right now is that I have a reverse proxy on my docker host which has the ports 443 and 80 published on the host, while all the services I use in docker on that host do not have published ports. They’re all then in a network with the reverse proxy so it can forward the requests to the services. That way I can encrypt everything with SSL/TLS and have trusted certificates on everything. I use nginx proxy manager which also handles my certificates.

The really vulnerable open ports are the ones you forward to your router. But you only need those when you want to access services from outside your network. But I would wait on that until you feel comfortable.

[–] Markiboj97@discuss.tchncs.de 2 points 1 year ago

For self hosting plex, sonarr and radarr etc... I recommend the trash guides. https://trash-guides.info/ When you don't want your self hosted apps available from outside your network you don't need nginx. And for the port security, as long as you are not port forwarding there is no security issue. Keep in mind that when you host things on your local network that other people on your home network could be able to access your apps. Which is not a big deal when living with family or on yourself.

[–] selawdivad@lemm.ee 2 points 1 year ago (1 children)

Depends what you're trying to learn, and how much of a beginner you are. If you want to learn the shell, try the Software Carpentry tutorials:

If you know the basics, you might try honing your skills with CLI Mystery (murder mystery puzzle).

You'll probably want to learn how to use the following:

  • SSH
  • Command-line text editor. Choose one of the following:

The final tip is: It's usually better in the long run to spend 2 hours reading the documentation than 2 minutes searching the web. Reading the documentation helps you to understand the big picture, and gives you a much better foundation. Of course, if you're reading the documentation and don't understand something, searching the web is an OK way to figure it out.

[–] PipedLinkBot@feddit.rocks 1 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=wlR5gYd6um0

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] metaStatic@kbin.social 2 points 1 year ago

just messing around on https://shell.cloud.google.com is good for a beginner to unix enviroments.

[–] ChrislyBear@lemmy.world 1 points 1 year ago

I learned a lot from the tutorials of https://ibracorp.io/

You'll find rather advanced things there, but they are easy to follow and well explained.

[–] Onion6068@feddit.de 1 points 1 year ago
load more comments
view more: next ›