I made a guide on how to go from zero to hero: Self hosting a lemmy server. All you need is an old pc, a thumb drive, and some time.

Please let me know if there are errors. This is the first draft. Thank you!!!

  • jeff@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Minor point I noticed is that you referenced Google domains. Google is killing this service so you might want to replace it with something else.

    Why not Debian 12 as it has been released officially? Is it not compatible with Lemmy?

    You should use a static IP address for a server. DHCP is OK as long as it always gets the same IP.

    I would suggest putting in either screenshots or example output of the terminal commands so that people can ‘see’ what’s going on or what to expect to happen. Remender that your audience might be very new to Linux.

    Hopefully you’ll find these suggestions helpful. I didn’t actually perform each step myself, so don’t take this as a thorough review. 😉

    • Eddie@lemmy.lucitt.social
      cake
      OP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I referenced Google domains because that’s what a lot of people are currently using. I thought about not mentioning it but it doesn’t really matter which registrar you’re using at the end of the day.

      I chose Debian 11 for stability and compatibility with other user friendly hosting options, such as Yuno Host. As far as I’m aware, Yuno does not currently support 12 yet. (I don’t recommend installing Lemmy through YH as it’s on an ancient version and doesn’t support photo uploads nor phone apps)

      You do not need to use a static IP with cloudflare as long as you use ‘localhost’ instead of 192.xxx.x.xx because cloudflared (the cloudflare tunnel software) runs on the server locally, and can detect changes in IP.

      I’ll probably add screenshots if I get a second request for them. Screenshots require performing the actions proper and I didn’t have a test environment ready when I wrote this. Might make a video and add screenshots from that, we’ll see.

      I found your suggestions incredibly helpful! Thank you for taking the time to share them with me!