14,302
edits
mNo edit summary |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
== Using managed hosting == | == Using managed hosting == <!--T:1--> | ||
<!--T:2--> | |||
You can create your own Fediverse instances without technical knowledge by using a managed hosting service. <br> | 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. | 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" | {|class="wikitable" | ||
| | | | ||
Line 79: | Line 81: | ||
== Self-Hosting with YunoHost == | == Self-Hosting with YunoHost == <!--T:4--> | ||
<!--T:5--> | |||
Self-Hosting with YunoHost is a bit harder to do, but it's also cheaper. <br> | 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. | 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.cloud/?ref=RfcQfiZqEOJY hetzner.com] and register for an account. Hetzner will ask you for some information including a billing method. <br> | ||
Line 96: | Line 101: | ||
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 112: | Line 122: | ||
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 122: | Line 134: | ||
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 136: | Line 150: | ||
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 146: | Line 161: | ||
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> | At this point I have to praise and recommend the Mastodon fork Ecko ([[What is Ecko?]]). <br> | ||
Line 157: | Line 173: | ||
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 164: | Line 181: | ||
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. | ||
<!--T:27--> | |||
[[Category:How to]] [[Category:Advanced]] [[Category:Admin guide]] | [[Category:How to]] [[Category:Advanced]] [[Category:Admin guide]] | ||
</translate> | </translate> |