this post was submitted on 17 Jun 2023
32 points (100.0% liked)

Fediverse

17774 readers
4 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 5 years ago
MODERATORS
 

Tried to search around it theres either stuff too vague or I wasn't able to find it. Simply looking to host my own instance for myself and my friends to join and communicate with other instances.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 1 year ago* (last edited 1 year ago) (2 children)

To host your own Lemmy instance, you can follow these steps:

  1. Install Lemmy Backend: Lemmy is built from source, so the installation may take a while. You can follow the instructions on Rustup to install Rust[1]. For a faster installation, you can use prebuilt binaries with Docker.

  2. Install lemmy-ui (web frontend): Clone the git repo and compile it[1].

  3. Configure Lemmy: The configuration is based on the file config.hjson, which is located by default at config/config.hjson. You can set the environment variable LEMMY_CONFIG_LOCATION to change the default location[2]. You'll need to set the site name, admin email, hostname, and other necessary configurations[2].

  4. Create a systemd unit file: Add a systemd unit file to manage the Lemmy service[1].

  5. Set up a reverse proxy: You can use any reverse proxy to serve your Lemmy instance. An example Caddy configuration can be found in the Lemmy documentation[3].

  6. Open your Lemmy domain in the browser: After completing the installation and configuration, open your Lemmy domain in the browser. It should show you a configuration screen. Use it to create the first admin user and the default community[1].

  7. Federate with other instances: To communicate with other instances, make sure your instance has TLS enabled and federate with at least one instance from the list[4].

  8. Customize your instance: Go to your admin panel and define a description for your site, add an icon and a banner, and explore other customization options[4].

For a more detailed guide and video tutorial, you can refer to the YouTube video "How to set up a Lemmy instance in a cloud server"[5] and the Lemmy installation tutorial video[6].

Once your instance is up and running, you can invite your friends to join and communicate with other instances. Remember to keep your instance updated and secure to ensure a smooth experience for your users.

Citations:

[1] https://join-lemmy.org/docs/en/administration/from_scratch.html

[2] https://join-lemmy.org/docs/en/administration/configuration.html

[3] https://join-lemmy.org/docs/en/administration/administration.html

[4] https://join-lemmy.org/docs/en/administration/first_steps.html

[5] https://www.youtube.com/watch?v=4fzCUEpFnDg

[6] https://lemmy.eus/post/75881?scrollToComments=true

[–] [email protected] 7 points 1 year ago (1 children)

This smells like AI...

Step 1 to hosting an Instance is to choose an instance?

[–] [email protected] 4 points 1 year ago

Sweet, thank you for the explanation! I hope that I can self host this on something like a Raspberry pi, that would be super cool.

[–] [email protected] 2 points 1 year ago

If you are not so experienced with self-hosting maybe try Yunohost: https://yunohost.org/

The version of Lemmy it has is a bit outdated right now, but they will probably update it soon.

load more comments
view more: next ›