this post was submitted on 21 Jun 2023
48 points (94.4% liked)

Asklemmy

43971 readers
1167 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

I'm not seeing any ads, and these servers certainly have a cost.... So is this place entirely donation based, or what?

you are viewing a single comment's thread
view the rest of the comments
[–] Zelda@lemmy.ninja 1 points 1 year ago (1 children)

Also, where can I start my own server for funsies? Ive got trueNAS, unsure if I can run it from there.

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago* (last edited 1 year ago) (2 children)

I probably can't help much when it comes to TrueNAS, all of my experience is running it on Docker in Linux. AFAIK there is no plugin/jail for it out of the box, the easiest would probably to run a Linux VM on it and follow one of the official lemmy install guides using either Ansible or Docker (compose). I am sure you could figure out a way to install it from scratch in a jail, but that is beyond my experience with BSD.

In addition to the setup of the server itself you'll want a domain, DNS, SSL and to figure out port forwarding (assuming your TrueNAS box is at home) at a bare minimum. Someone asked a similar question earlier and you can read a slightly longer response for these things [in my response to them in !lemmy_support@lemmy.ml](https://lemmy.nrd.li/comment/126236). I also suggest there that a cloud provider like digitalocean or linode would probably be more reliable and easier for some things and could be done (in a way that supports at least a small instance) on a budget of <$10/mo.

If you have any questions or want a more opinionated answer as to how I would set it up let me know.

[–] Zelda@lemmy.ninja 1 points 1 year ago

Thanks a bunch! I forgot to mention I have TrueNas Scale, which is debΓ­an based and supports Docker. I'll have a read at the official docs, thanks again!

[–] Zelda@lemmy.ninja 1 points 1 year ago (1 children)

Oh and I like the suggestion for the digital providers. I currently have a local box but I'm open to anything really. Just need to dip my toes

[–] terribleplan@lemmy.nrd.li 3 points 1 year ago (1 children)

Yeah, regardless of your choice you'll still need to buy a domain so I would do that first. Choose something you like, and look at all the fun different TLDs out there beyond just .com. Be careful though, some of them are trying to be exclusive so can be surprisingly pricey.

If you choose to do this relatively simply in a cloud provider... you can set up the domain to use their DNS servers (usually free) which would make things easier since most of the stuff you are doing for lemmy is all in one place. From there launch an instance (I would choose one of the ones priced around $10/mo and enable backups which costs another buck or two) and point your DNS at it. Then use the official ansible install method which will get you the rest of the way there, including taking care of the gruntwork of SSL/Let's Encrypt.

There are all sorts of different ways you could do this to make your stuff more reliable in case the machine on the cloud provider, disks, entire datacenter (it happens) has a problem, but this is reasonably robust, especially for such a low price point.|

Again, if you have any specific questions or trouble, let me know.

[–] Zelda@lemmy.ninja 1 points 1 year ago (1 children)
[–] terribleplan@lemmy.nrd.li 1 points 1 year ago

Oh, one really important thing once you have Lemmy up and running is to make sure your instance is not set to open registration (have it closed or application-only), and if possible set it up to do email verification (which is a little complex since you need to set up your instance to send emails). There is a huge wave of bot signups happening. Captcha, application-based (or closed) signup and email validation were the only ways to fight back against this wave, and sadly the latest release of Lemmy removed the captcha feature as it was deemed ineffective and not friendly for accessibility reasons (e.g. vision impairments).