How to host your own Fediverse instance?: Difference between revisions

Added Lemmy
mNo edit summary
(Added Lemmy)
 
(47 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<translate>
== Using managed hosting == <!--T:1-->
<!--T:2-->
You can create your own Fediverse instances without technical knowledge by using a managed hosting service. <br>
Managed hosting services do all the technical stuff (installation, upgrades, server maintenance etc) while you own and run the instance itself.
<!--T:3-->
{| class="wikitable sortable"
!
!Funkwhale
!GoToSocial
!HomeTown
!Mastodon
!Lemmy
!Misskey
!PeerTube
!Pixelfed
!Pleroma
!WriteFreely
|-
![https://cloud68.co/instances.html cloud68]
|29€
|
|
|
|
|
|39€
|
|
|49€
|-
![https://fedi.monster/ fedi.monster]
|
|5€
|
|9€
|
|
|
|5€
|
|
|-
![https://fediverse.express/ fediverse.express]
|
|
|
|
|
|10$
|
|
|10$
|
|-
![https://gridscale.io/ gridscale.io]
|
|
|
| 23€
|
|10$
|
|
|
|
|-
![https://hostman.com Hostman]
|
|
|
|19€
|
|
|19€
|19€
|
|
|-
![https://masto.host Mastohost]
|
|
|
|6€
|
|
|
|
|
|
|-
![https://federation.spacebear.ee Spacebear Federation]
|
|
|16€
|16€
|
|
|20€
|12€
|16€
|
|-
![https://toot.io/mastodon_hosting.html Toot.io]
|
|
|
|29$
|
|
|
|
|
|
|-
![https://writefreely.host WriteFreely Host]
|
|
|
|
|
|
|
|
|
|10$
|-
![https://www.knthost.com K&T Host]
|
|$3.75
|
|
|$11.25
|
|
|$6.75
|
|
|}
== Using managed and unmanaged hosting for Friendica, Hubzilla, and Streams. == <!--T:29-->
<!--T:30-->
There are some Hosters which offer an managed installation for Hubzilla. Hubzilla can be also installed and updated easy by the [https://en.wikipedia.org/wiki/Softaculous Softaculous] install script. Besides that Friendica and Hubzilla can be easy installed and administrated on many Shared Hosts - If you like that look for an unmanaged hosting plan.
<!--T:28-->
{| class="wikitable"
|- style="font-weight:bold;"
! style="font-weight:normal;" |
! [https://friendi.ca/ Friendica]
! [https://hubzilla.org Hubzilla]
![https://codeberg.org/streams/streams Streams]
|-
| style="font-weight:bold;" | [https://www.a2hosting.in/hubzilla-hosting a2hosting]
|
| style="background-color:#036400;color:#ffffff" | Yes
|
|-
| style="font-weight:bold;" | [https://apps.glowhost.com/socialnetworking/hubzilla/ Glowhost]
| style="background-color:#036400;color:#ffffff" | Yes
|
|-
| style="font-weight:bold;" | [https://www.hosttest.de/vergleich/webhosting.html/space=50+domains=1+datenbanken=1+topeigenschaften=ssh,cronjobs,php8+view=oneoffer+order=rating Many SharedHosters - find one here]
| style="background-color:#036400;color:#ffffff" | Yes 
| style="background-color:#036400;color:#ffffff" | Yes 
|
|-
| style="font-weight:bold;" | [https://www.interserver.net/apps/hubzilla-hosting.html Interserver]
|
| style="background-color:#036400;color:#ffffff" | Yes
|
|-
| style="font-weight:bold;" | [https://www.knthost.com K&T Host]
|
| style="background-color:#036400;color:#ffffff" | Yes
| style="background-color:#036400;color:#ffffff" | Yes
|-
| style="font-weight:bold;" | [https://www.kualo.com/webhosting/hubzilla-hosting Kualo]
|
| style="background-color:#036400;color:#ffffff" | Yes
|
|-
| style="font-weight:bold;" | [https://duckduckgo.com/?q=softaculous+web+hosting&t=ffsb&ia=web Hosters which offer the "Softaculous" install-script - find one here]
|
| style="background-color:#036400;color:#ffffff" | Yes
|
|}
==The free forever method== <!--T:31-->
<!--T:32-->
[https://josh.is-cool.dev/running-a-mastodon-instance-entirely-free-forever Here] you'll find an article about hosting a Mastodon or other Fediverse instance for yourself (single user instance) completely free.<br>
{{Warning small}}We have not checked if that works and a lot of the services used in the article are evil - using them means surveillance capitalists will get a lot of your data and they also need a lot of fossil energy.
== Self-Hosting with YunoHost == <!--T:4-->
<!--T:5-->
Self-Hosting with YunoHost is a bit harder to do, but it's also cheaper. <br>
You can get cheap domains at about 6€/year and a Hetzner server at 4,19€/month + 0,84€/month for backups. So in total 5,53€/month.
<!--T:6-->
This guide will teach you how to host your own Fediverse instance using a Hetzner Cloud, a Domain from Contabo and '''YunoHost'''. <br>
This guide will teach you how to host your own Fediverse instance using a Hetzner Cloud, a Domain from Contabo and '''YunoHost'''. <br>
You don't need to know anything before using this guide. If you still need further assistance feel free to contact [[User:Paula|Paula]].
You don't need to know anything before using this guide. If you still need further assistance feel free to contact [[User:Paula|Paula]].


== 1. Get a Server at Hetzner ==
==== 1. Get a Server at Hetzner ==== <!--T:7-->


<!--T:8-->
Hetzner is a green host for servers, so it runs on 100% renewable energy. <br>
Hetzner is a green host for servers, so it runs on 100% renewable energy. <br>
Visit [https://hetzner.cloud/?ref=RfcQfiZqEOJY hetzner.com] and register for an account. Hetzner will ask you for some information including a billing method. <br>
Visit [https://hetzner.com hetzner.com] ([https://hetzner.cloud/?ref=RfcQfiZqEOJY here is a referral link]) and register for an account. Hetzner will ask you for some information including a billing method. <br>
When you're finished setting up your account go to [https://console.hetzner.cloud/projects cloud]. There click on "+ New Project". <br>
When you're finished setting up your account go to [https://console.hetzner.cloud/projects cloud]. There click on "+ New Project". <br>
Give the Project a name, like "my first Fediverse instance". <br>
Give the Project a name, like "my first Fediverse instance". <br>
Now click on "Add Server". For your server location choose Helsinki and for OS image choose Debian 10. For Type you can start with the cheapest server CX11. You can skip all the other steps (maybe give the server a name) and click "Create and Buy Now". <br>
Now click on "Add Server". For your server location choose Helsinki and for OS image choose Debian 11. For Type you can start with the cheapest server CX11. You can skip all the other steps (maybe give the server a name) and click "Create and Buy Now". <br>
Boom, you have a server. That's the first step completed. Congrats!
Boom, you have a server. That's the first step completed. Congrats!


== 2. Get a Domain ==
==== 2. Get a Domain ==== <!--T:9-->


<!--T:10-->
Next you'll need a domain. The domain is the url where your website, in this case your Fediverse instance, can be found. So something like <code>https://mydomain.org/</code> <br>
Next you'll need a domain. The domain is the url where your website, in this case your Fediverse instance, can be found. So something like <code>https://mydomain.org/</code> <br>


<!--T:11-->
For this guide I'll use [https://my.contabo.com/ contabo.com] to get a domain, but you can use other sites as well. Maybe some things will be a little different than explained in this guide then, but some domains may be cheaper on other sites.
For this guide I'll use [https://my.contabo.com/ contabo.com] to get a domain, but you can use other sites as well. Maybe some things will be a little different than explained in this guide then, but some domains may be cheaper on other sites.


<!--T:12-->
Visit the contabo website and register for an account. Here you'll be asked for a billing method too.
Visit the contabo website and register for an account. Here you'll be asked for a billing method too.


<!--T:13-->
Once you have an account login to [https://my.contabo.com/ my.contabo.com]. There go to "domains" in the control panel. Enter your desired domain name and click "Order domain".<br>
Once you have an account login to [https://my.contabo.com/ my.contabo.com]. There go to "domains" in the control panel. Enter your desired domain name and click "Order domain".<br>
Now contabo will check if the domain is available. If not choose another domain and click Next to check if that one is available. In step 2 you'll be asked for contact details. This should be pre-filled with the info you gave when signing up. <br>
Now contabo will check if the domain is available. If not choose another domain and click Next to check if that one is available. In step 2 you'll be asked for contact details. This should be pre-filled with the info you gave when signing up. <br>


<!--T:14-->
Now open up your [https://console.hetzner.cloud/projects Hetzner cloud] in a different tab. Click on your project and then on your server. There you should find the IPv4 address. Click on it to copy it. <br>
Now open up your [https://console.hetzner.cloud/projects Hetzner cloud] in a different tab. Click on your project and then on your server. There you should find the IPv4 address. Click on it to copy it. <br>
Go back to the contabo tab and choose "Own IP address" and in the next line paste your copied IP address. <br>
Go back to the contabo tab and choose "Own IP address" and in the next line paste your copied IP address. <br>
Line 27: Line 238:
It may take a while until your domain is registered, but you can go on with Step 3 already. <br>
It may take a while until your domain is registered, but you can go on with Step 3 already. <br>


== 3. Install YunoHost ==
==== 3. Install YunoHost ==== <!--T:15-->


<!--T:16-->
You should have gotten an eMail from Hetzner containing login credentials. Namely username "root" + a password. <br>
You should have gotten an eMail from Hetzner containing login credentials. Namely username "root" + a password. <br>
Go to your Hetzner server under [https://console.hetzner.cloud/projects Cloud] > your project > your server and click the ">_" button.
Go to your Hetzner server under [https://console.hetzner.cloud/projects Cloud] > your project > your server and click the ">_" button.


<!--T:17-->
You're now in the console of the server. This may look scary, but we'll guide you through it. <br>
You're now in the console of the server. This may look scary, but we'll guide you through it. <br>
First you'll be asked for your login credentials. Enter <code>root</code> and hit enter.<br>
First you'll be asked for your login credentials. Enter <code>root</code> and hit enter.<br>
Line 37: Line 250:
Next you'll be asked to change the password. Unfortunately you'll have to enter the old password once more but then you can enter the new password - also twice. Choose a password that you don't use all the time but that you can remember. It's best to generate and store your password in a password safe like KeePass.
Next you'll be asked to change the password. Unfortunately you'll have to enter the old password once more but then you can enter the new password - also twice. Choose a password that you don't use all the time but that you can remember. It's best to generate and store your password in a password safe like KeePass.


<!--T:18-->
Enter <code>curl https://install.yunohost.org | bash</code> in the console. Now YunoHost will be installed you'll be asked once to confirm. Just select Yes with your arrow keys and hit enter. <br>
Enter <code>curl https://install.yunohost.org | bash</code> in the console. Now YunoHost will be installed you'll be asked once to confirm. Just select Yes with your arrow keys and hit enter. <br>
You'll know when YunoHost is finished installing when you can write again. <br>
You'll know when YunoHost is finished installing when you can write again. <br>
Now close the console.
Now close the console.


== 4. Configure YunoHost. ==
==== 4. Configure YunoHost. ==== <!--T:19-->


<!--T:20-->
Once again copy your IP address (Open up your [https://console.hetzner.cloud/projects Hetzner Cloud]. Click on your project and then on your server. There you should find the IPv4 address. Click on it to copy it.). <br>
Once again copy your IP address (Open up your [https://console.hetzner.cloud/projects Hetzner Cloud]. Click on your project and then on your server. There you should find the IPv4 address. Click on it to copy it.). <br>
Now paste it in the url bar of your browser and hit enter. <br>
Now paste it in the url bar of your browser and hit enter. <br>
Line 51: Line 266:
Now go back home, click on Diagnosis and start the initial diagnosis. <br>
Now go back home, click on Diagnosis and start the initial diagnosis. <br>


== 5. Set Up DNS and Let's Encrypt ==
==== 5. Set Up DNS and Let's Encrypt ==== <!--T:21-->


<!--T:22-->
When the diagnosis is done check out the errors displayed in the category DNS records. You'll need to fix the errors for the categories basic and mail. <br>
When the diagnosis is done check out the errors displayed in the category DNS records. You'll need to fix the errors for the categories basic and mail. <br>
To do that go to your [https://my.contabo.com/ Contabo control panel] (in another tab), "your services" and click on "manage" besides your domain. Now click on "edit DNS zones". <br>
To do that go to your [https://my.contabo.com/ Contabo control panel] (in another tab), "your services" and click on "manage" besides your domain. Now click on "edit DNS zones". <br>
Line 61: Line 277:
If you're still waiting for the diagnosis tool you can continue with step 6. and finish step 5. later.
If you're still waiting for the diagnosis tool you can continue with step 6. and finish step 5. later.


== 6. Install the desired Fediverse Software. ==
==== 6. Install the desired Fediverse Software. ==== <!--T:23-->


<!--T:24-->
In your YunoHost portal go to "Applications", "+ Install", choose the category "Social Media" and click "+ Install" besides the App you want to install. <br>
In your YunoHost portal go to "Applications", "+ Install", choose the category "Social Media" and click "+ Install" besides the App you want to install. <br>
At this point I have to praise and recommend the Mastodon fork Ecko ([[What is Ecko?]]). <br>
On the next page, depending on the app you chose, you'll be asked a few things about the app. If there is a language option make sure you choose the right one or you'll e.g. install Mastodon in French when you can't speak French and neither can the people you want to use Mastodon. <br>
On the next page, depending on the app you chose, you'll be asked a few things about the app. If there is a language option make sure you choose the right one or you'll e.g. install Mastodon in French when you can't speak French and neither can the people you want to use Mastodon. <br>
After that just click on "Install" and wait. <br>
After that just click on "Install" and wait. <br>
Line 72: Line 288:
Log in with your YunoHost user data and start configuring the Admin settings. <br>
Log in with your YunoHost user data and start configuring the Admin settings. <br>


== Bonus: Installing more than one App ==
==== Bonus: Installing more than one App ==== <!--T:25-->


<!--T:26-->
You can repeat the whole guide to install another app under another domain or you can use the following steps to install another app under a sub domain of your current domain. <br>
You can repeat the whole guide to install another app under another domain or you can use the following steps to install another app under a sub domain of your current domain. <br>
In your YunoHost site go to "Domains", "+ Add domain", select "I already have a domain name… " and enter a sub domain of your domain. E.g. if you want to install mastodon you could name the sub-domain "mastodon", so you would enter <code>mastodon.mydomain.org</code>. Then click "Add". <br>
In your YunoHost site go to "Domains", "+ Add domain", select "I already have a domain name… " and enter a sub domain of your domain. E.g. if you want to install mastodon you could name the sub-domain "mastodon", so you would enter <code>mastodon.mydomain.org</code>. Then click "Add". <br>
Line 79: Line 296:
Now go to "Applications" and install another app. Make sure you choose the newly created sub-domain to install the app to.
Now go to "Applications" and install another app. Make sure you choose the newly created sub-domain to install the app to.


[[Category:How to]] [[Category:Advanced]]
</translate>
 
{{Category |category=How to}}{{Category |category=Advanced}}{{Category |category=Admin guides}}
{{Navbar}}
2

edits