this post was submitted on 15 Jan 2025
39 points (93.3% liked)

Selfhosted

41132 readers
705 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 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/24823173

Hi folks, looking for a bit of steer to get off the ground with self hosting. My goals to start with are pretty straight forward:

  • I want to set up Home Assistant to move my smart devices off the cloud and fully contained within the walls of my home.
  • I want to set up my own little Pixelfed server for my family's use, along with some other federated socials.

From what I was looking at, I think my easiest route to doing both of these things is with a Home Assistant Yellow (built-in Zigbee and Thread system) with a Raspberry Pi 4.

I've never done anything like this before but I'm interested in learning. If anyone more experienced has any insight or direction, I'd really appreciate it! Cheers!

you are viewing a single comment's thread
view the rest of the comments
[–] tofuwabohu@slrpnk.net 2 points 1 day ago (1 children)

Yes! Mostly having a plan on how to make your service reachable in the internet while keeping the rest of your local stuff shutdown.

Many people recommend cloudflare, but I don't think it's necessary. If you get a public IP from your ISP, it's relatively easy with dyndns. Personally, I have a virtual machine running nginx as a reverse proxy and configured the router to forward port 80 and 443 to that machine.

[–] wil_yam_sai@lemmy.ml 2 points 1 day ago (1 children)

Cool! Good to know! Will definitely be back to this post to follow up once I make some prog!

[–] ikidd@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Try to stay away from exposing applications via proxy or port forwarding. Learn how to use Tailscale and use applications via VPN instead. It installs on any pretty much any device, so it's not difficult to keep everyone behind the walls and not leave any backdoors for the barbarians.

[–] wil_yam_sai@lemmy.ml 1 points 1 day ago (1 children)

Thanks! Any trusted resource you'd recommend (text or vid) to learn more on the topic?

[–] ikidd@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Awesome Open Source youtube channel isn't bad. He's fairly good at explaining a lot of the concepts. I wouldn't say I'd use everything he recommends but he gives you enough info to make some judgement calls.

I'd also highly recommend the Selfhosted podcast from Jupiter Broadcasting. Alex, the main host is with Tailscale these days, but don't let that put you off, he's been doing the podcast (and recommending Tailscale) since long before he started working with them. I imagine there's a YT channel for the show, but I've only ever listened to the podcast.

Also, 2.5 Admins from Late Night Linux group of podcasts has Jim Salter and Alan Jude, both long time sysadmins and developers that have a lot to talk about that's of interest to self-hosters and professionals alike.

I'd also highly recommend getting boned up on basic Docker usage, and would point you towards starting right from the beginning to use docker compose with local bind mounts, and ignore these one-line docker commands to start containers. There are helper apps like Lazydocker to assist using Docker from the command line. While you can use GUI apps like Portainer, honestly you'll just end up more confused than pasting stuff into a compose file and watching it with Lazydocker.

And feel free to ping me if you get confused, I've helped a few people sort out what they want to accomplish and point them the least-effort direction, or at least what I consider such.

[–] wil_yam_sai@lemmy.ml 2 points 1 day ago

Holy moley!! Seriously, really appreciate all those resources and the time it must have taken to write that!! Super excited to get stuck into this so will absolutely be making my way through all of these!!