DevOps as a profession and software development for fun. Admin of lemmy.nrd.li and akkoma.nrd.li.

Filibuster vigilantly.

  • 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle





  • Asklemmy isn’t really a place to ask about lemmy, it’s for asking general questions to users of lemmy, jut like you wouldn’t ask for Reddit support in /r/askreddit.

    Regardless, this question gets asked and talked about in the !selfhosted@lemmy.world community fairly often, here is a (slightly edited) comment I made a while back.

    You will need a domain name, you can buy one from a registrar such as hover or namecheap (for the love of all that you consider holy do not use godaddy).

    You will need a way to expose the server that you set up via port forwarding or similar on your network.

    You will need to set up DNS records on the domain you buy to point to your home IP. You may want to figure out a different way to avoid just handing that information out, cloudflare can help with that. You will want to make sure the DNS records get automatically updated if your IP address changes, which is not uncommon for residential ISPs.

    You will need to figure out how to get an SSL certificate, Let’s Encrypt will issue them for free, cloudflare gives you one if you use them as a reverse proxy.

    Some of this would likely be easier to do on a cloud provider like digitalocean or linode and could be done reasonably cheaply.

    These are all common things for setting up any website, so lemmy docs won’t cover them. In addition to those (this answer was just addressing “how to get a URL”) you will need to install and configure lemmy, lemmy-ui, postgres, and pictrs somewhere (the join-lemmy docs cover this well).

    If you want your instance to send emails you will have to figure out how you want to do that (too many options to cover in this answer).

    When 0.18.1 gets released if you want captcha you’ll probably have to figure out an mCaptcha provider or set that up yourself.

    Not to mention thinking about backups, high availability, etc, etc.

    Best of luck.



    1. Up to you, I would just avoid big instances like .world or .ml. People do congregate on big instances in most of the fediverse, so IDK that “professional” enters into it. It’s not as if you’re running a law firm on a @hotmail email address. I like hosting stuff for myself, so I am running my own instance.
    2. For yourself you could get away with spending around $5-$10/mo, plus ~$10/yr for the domain name. More users/load would need more resources, .world is spending >$150/mo for the server(s) alone, and that will only grow as the instance grows.
    3. Big thing would be site-wide moderation and managing federation. Dealing with reports, illegal content, communities that break server rules, users that are harassing others, etc. If you slack too much on that (or have overly lax policies) you may end up defederated by instances. Making the decision to defederate other instances. Etc.
    4. Entirely gone.
    5. Mostly just changes what you’d see on local. Federation can be wonky/slow at times, but that is true of federation between big instances as well, it’s just something you have to get used to when using Lemmy.


    1. Yes.
    2. Yes.
    3. You can do it quite cheaply. It is feasible to run on a ~$5/mo VPS (Vultr, Linode, DigitalOcean, Scaleway, etc) if you are willing to suffer potential downtime if things go wrong on that one machine. Eventually you might run out of image storage, but that can offloaded to any object storage provider such as those offered by the cloud hosts I listed or ones run by e.g. AWS (S3), Wasabi, Cloudflare (R2), etc.
    4. If you know nothing about servers, linux, docker, postgres, reverse proxies, netwroking, http, etc. then it may not be worth it to you. I like the idea of having complete control over what servers I federate with. I like the idea of having a built-in archive of everything I read and write on Lemmy. Running an instance is of minimal cost to me because I already run software (including postgres, the database Lemmy uses as well as my own email server) for myself so it is low impact to add just one more service. Ultimately there are so many variables that you have to decide it for yourself.

    If you want some general advice on how to set things up or certain things you need to make sure are done right so your instance works feel free to reach out. If you want to check out a smaller instance (I am the only regular user, but have a few friends that use my instance from time to time) feel free to sign up for mine to see what it might be like.