this post was submitted on 23 Jun 2023
12 points (100.0% liked)

Self Hosted - Self-hosting your services.

11452 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Out of curiosity I'm currently considering to self-host a Lemmy and a Mastodon instance. Just for me (and maybe 2-3 close friends) privately. The proposition of having full control over my social media sounds appealing to me.

However, I'm not a software developer and I have next to no experience in self-hosting anything. Also, I don't plan to make self-hosting a hobby of mine.

Given these circumstances - how much time investment do you think is needed to keep everything running smoothly. I wouldn't mind spending 1-2 hours a week, but if it's more like 1-2 hours a day, I would stay clear.

Also, are there resources for troubleshooting available? I found the installations guides and some seem to be quite good for a layperson, giving step-by-step advice, however where to go if it doesn't work?

I'm trying to make up my mind if it would be worthwhile to try or if I set myself up with wasting a lot of time :) So, any advise is welcome.

you are viewing a single comment's thread
view the rest of the comments
[–] marius851000@lemmy.mariusdavid.fr 5 points 1 year ago* (last edited 1 year ago) (3 children)

Usually, maintaining a server doesn't take much time once set-up. I personally use NixOS to manage my server, but it's very complicated, and I would not recommend it to a non-developer. However, there is tools/OS called YUNoHost, that is able automatically set up a bunch of services including lemmy and mastodon.

They also provide a free third level domain name (or can use your own, but do it before installing Mastodon or Lemmy, as it'll break federatio.), but you'll need to provide a server. You can rent one (I use an OVH VPS), but you may also just use a spare computer at home, or buy a cheap one (Everything that isn't a slow HDD should work well). I'm unsure about what capacity you need to plan for storage thought.

You should also probably make sure your ISP provide a static IP (that may disabled by default) and that they allow to configure port forwarding (can be found in the router settings usually).

Also, don't forget to set up an automatic backup system. YUNoHost probably recommend something in that matter.

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

This. Also, regarding the time it will require, it's usually (for anything self-hosted, I haven't tried those two) a downward curve : it takes a lot of time to understand how things work initially, and after that it takes less and less time, to the point where the only things you have to do is to manage updates once in a while. With an occasional big day because something broke. Of course, I'm saying this because you said it's just for you and your friends, if you start doing moderation, the time required quickly explode up. :)

A note regarding self hosting at home : even if you figure you do have a static IP and can route traffic to your host, it's a bit of a roulette, because ISPs consider that high incoming traffic on listening ports is a suspicious activity which probably means you're a terrorist or something, normal people don't do that, how dare you. I've had a ISP block traffic between friends and me with no warning and a laughably ignorant support (if anyone is from France, it's SFR ; don't use them for self-hosting with external access) before giving up and subscribing to a professional ISP (one meant for businesses). Your mileage may vary, but the annoying thing is that you won't know it before you've got used to your services.

[–] Valmond@lemmy.ml 1 points 1 year ago (1 children)

I feel you, I don't know a single person using SFR(mobile mostly but also internet access) who hasn't had ridiculous problems with them.

Free has never let me down (static IP, port forwardings etc), or ofc OVH if you go the more "pro" way.

Bonne weekend !

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

Yeah indeed, I went with OVH. :) At the beginning of 2023, I switched to FDN, though (an associative ISP) since they finally offered fiber subscription. They are activists for freesoftware and net neutrality, so I feel safe with them. Fun fact : they actually outsource the handling of the pipes to KOSC, just like OVH (which explains why the prices are basically the same at OVH and FDN). Have a nice week-end too. :)

[–] Solvena@lemmy.world 2 points 1 year ago

I just checked out YUNoHost, which sounds like an excellent stepping stone, thanks for the recommendation! I'll go with a VPS, so ISP shouldn't be a concern. I think, I'll just try it out - at worst I'll lose a couple of hours of my time ;)

[–] schmurian@lsmu.schmurian.xyz 1 points 1 year ago

I started with YUNOhost to gain some experience with selfhosting. Along with that I would recommend to read through some security best practices to cover some basic pitfalls.