this post was submitted on 04 Jul 2023
1510 points (96.3% liked)

Selfhosted

40347 readers
386 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] LessQuit@feddit.nu 7 points 1 year ago (2 children)

I want to self-host but don't know how to code etc so not sure where to even start

[–] mim@lemmy.sdf.org 25 points 1 year ago* (last edited 1 year ago) (1 children)

Never self-hosted Lemmy, but have self-hosted other things in the past. While you don't necessarily need to code, you need a fair amount of code-adjacent skills. If you ever want to get into self-hosting, you should have a look into (at least):

  • the linux command line
  • ssh
  • how ports work
  • VPS providers
  • DNS registrars
  • nginx
  • docker (while you don't need it to host things, it makes your life 10x easier)
[–] tool@r.rosettast0ned.com 4 points 1 year ago (2 children)

docker (while you don't need it to host things, it makes your life 10x easier)

...until you have a single extra space character hiding 20 lines into your compose file and the whole thing falls over the next time you try to bring the containers up.

Lint your code and configs every time!

[–] mim@lemmy.sdf.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

VScode with "format on save" enabled. Literally never had an issue.

It's the editor that finally made me move away from vim

[–] tool@r.rosettast0ned.com 2 points 1 year ago (1 children)

I've been using vscode since it was released and I never knew that was an option. Thank you!

[–] mim@lemmy.sdf.org 2 points 1 year ago

You're welcome!

[–] Opeth@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

Xml wasn't great but yaml is 2 steps backwards

Edit: tfw 3months ago

[–] lemmy@linkopath.com 2 points 1 year ago

If you are wanting to self-host outside of your home-lab and use a VPS, it is pretty simple. Ubergeek77 has compiled a docker image to easily install it all in like 5 steps. Take a look, https://github.com/ubergeek77/Lemmy-Easy-Deploy

#Lemmy-Easy-Deploy @ubergeek77@lemmy.ubergeek77.chat