{"id":3391,"date":"2021-02-02T09:21:36","date_gmt":"2021-02-02T09:21:36","guid":{"rendered":"https:\/\/afluxcoin.com\/21\/how-to-setup-and-install-mastodon-decentralised-social-media\/"},"modified":"2021-02-02T09:21:36","modified_gmt":"2021-02-02T09:21:36","slug":"how-to-setup-and-install-mastodon-decentralised-social-media","status":"publish","type":"post","link":"https:\/\/afluxcoin.com\/pt\/21\/how-to-setup-and-install-mastodon-decentralised-social-media\/","title":{"rendered":"How To Setup and Install Mastodon (Decentralised Social Media)"},"content":{"rendered":"

Mastodon is a decentralised social media platform that you can host yourselfPhoto by April Pethybridge on UnsplashVideo explaining the details for installing from scratchThe topic of de-platforming has been discussed a lot lately between Trump getting booted off Twitter and Parler getting kicked off AWS. With most major social media sites cracking down on certain users, people have searched for alternatives. Unfortunately, some of the alternatives have gathered a less than desirable reputation for their user base. In this, I\u2019m going to explain how you can automatically set up mastodon on your server with an Ansible script.BackgroundMastodon is a social media site unlike any other. Instead of accessing a website running on some data center owned by a giant tech company, Mastodon is an open-source software project that anyone can use to create their own customizable instance. Each Mastodon instance can communicate with each other, and the site owner determines what can and cannot be done on their instance.Before you start installing things, you\u2019ll need to harden your SSH and set up fail2ban as recommended in the Mastodon documents. I previously wrote an article on how you can do that, which can be found here.Next, you\u2019ll need to set up your DNS record for your domain. If you bought your domain with GoDaddy or any other domain registry, then just point your record to your server IP address.There are two main methods to install a mastodon instance. You can do it from scratch or use an Ansible playbook to do this automatically. I explain all the details for how to install from scratch in my video above, so go watch that if you want to do it the proper way.However, I also decided to show you how to use their ansible-playbook to automatically set up all the dependencies and services\u2026<\/p>","protected":false},"excerpt":{"rendered":"

Mastodon is a decentralised social media platform that you can host yourselfPhoto by April Pethybridge on UnsplashVideo explaining the details for installing from scratchThe topic of [\u2026]<\/span><\/p>","protected":false},"author":0,"featured_media":2796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/posts\/3391"}],"collection":[{"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/comments?post=3391"}],"version-history":[{"count":0,"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/posts\/3391\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/media?parent=3391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/categories?post=3391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afluxcoin.com\/pt\/wp-json\/wp\/v2\/tags?post=3391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}