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

Filibuster vigilantly.

  • 0 Posts
  • 27 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle
  • Laptops/desktopes: no real naming scheme, they use non-static DHCP leases anyway.

    Physical servers: NATO phonetic alphabet. If I run out of letters something has gone terribly wrong right.

    VMs: I don;t have many of these left, but they are named according to their function and then a digit in case I need more. e.g. docker1, k3s1. This does mean that I have some potential oddities like a k3s cluster with foxtrot, alpha, and k3s1 as members, but IMO that’s fine and lets me easily tell if something is physical or virtual. I am considering including the physical machine name in the VM name for new things as I no longer have things set up such that machines can migrate… though I haven’t made a new VM in some time.

    Network equipment: Named according to location and function. e,g, rack-router, rack-10g, rack-back-1g, rack-ap, upstairs-10g, upstairs-ap. If something moves or is repurposed it is likely getting reconfigured so renaming at that point makes sense.




  • I switched from Plex to Jellyfin several years ago and haven’t really looked back. Overall I just didn’t like the direction plex kept going (pushing shit streaming services, central auth, paywalling features), and dropped it even though I grabbed a lifetime plex pass back in the day. The only thing I miss about plex was the ease of developing a custom plugin for it since you could pretty much just drop python scripts in there and have it work, though their documentation for plugin development was terrible (and I think removed from their site entirely).






  • Nope, not from a DNS level. All the posts you are reading are cached by whatever instance your account is on. Basically the only thing served from the remote instance is full-size media uploaded to that instance. Even thumbnails are served from whatever instance you use. Mastodon/Akkoma/etc can be set up to even proxy full-size media for users, which is a feature I imagine will eventually make its way into Lemmy. Your best bet at the moment would be to find an instance that defederates those you don’t want to see (or run your own and do so yourself). I know “blocking” an instance is an often-requested feature, so that may end up a feature in Lemmy itself at some point.




  • 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.


  • terribleplan@lemmy.nrd.litoFediverse@lemmy.worldCommunity Federation Status
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    3 years ago

    Exactly, your instance stores what you post (local) on it and what gets federated to it (cache, basically). You search those local and cached things. To do it some other way would basically man that either all instances somehow discover each other and send everything to each other all the time or your instance somehow discovers and searches all other instances when you do a search.

    There has been talk about something that should make things better as far as “couldnt_find_community” more or less auto-searching a remote community when you go to a /c/community@example.com sort of link so the experience is less jarring and doesn’t require you to know you have to do a search.