Join Pack

oh btw you can probably run mastodon entirely on one of those 4GB raspberry pis now, so total cost comes out to

$55 - raspberry pi
$8 - wall adapter
$10 - micro SD
$25 - 120GB Solid State
$10 - external SSD enclosure

but it's a 1-time payment, unlike renting a VPS from a cloud provider.

@hyperlink It's now easier than ever to run a small mastodon instance for your friends or family!

@asonix I guess it depends too on how fast/reliable your residential Internet connection is, and whether or not you have a dedicated IPv4 address.

That said, a dynamic IP address is no substitute, as mailservers with such are automatically blocked by GMail and the like. You need an rDNS and other such things that only come with a professional server, for example. It will also affect your SEO heavily.

@phobos_dthorga @asonix I feel like the overlap between people caring about SEO and people who want to run their personal Mastodon instance is basically nonexistent.

Being unable to send mail might be a bigger problem, though. I don't know if it's possible to activate an account without validating an e-mail. Maybe there's an admin override?

@salameleon @asonix Yes, I very much agree with that sentiment!

I think you can go into the administrator interface and activate an account manually, though I might be wrong about that. I've never done it myself c..c

@asonix That’s it, I’m doing this as soon as I figure out if my home internet is shit or not

@asonix would you happen to have links to directions and softwre to do this?

long, instructions, 1/? 


I do not, but the general idea would be:
1. Flash the SD card with Raspbian Lite (the offical image)

2. Generate SSH Keys and put the public key in /home/pi/.ssh/authorized_keys on the SD card

3. create an empty file at /boot/ssh on the SD card

4. plug everything in

5. ssh into the pi

6. create a user called mastodon

7. format the external drive as ext4 or btrfs or whatever you like

8. mount the external drive to /mastodon/

long, instructions, 2/? 


9. change ownership of /mastodon to the mastodon user

10. install rbenv (instructions on github) as the mastodon user

11. install nodenv (instructions on github) as the mastodon user

12. use rbenv to install ruby 2.6.1

13. use nodenv to install node 11.14.0

14. install yarn with npm

15. clone the mastodon repository into /mastodon/live

long, instructions, 3/? 


16. install postgres

17. edit the postgres config to point to /mastodon/postgres

18. move the original postgres db folder to /mastodon/postgres

19. follow the mastodon setup instructions on

long, instructions, 4/4 


that's basically it tbh

@asonix maybe you can even live with HDD without SSD? Won't be as fast but will be definitely cheaper

rn Kibou consumes 60 Mb of RAM lol

@asonix while i don't have plans on making my own instance, just for performance tests sake on other stuff: literally any raspi model would work well for an instance?

IF i ever grab one, i'm considering something like a pi3 model b but i would use it for more "local/general" stuff

@reenii 1GB RAM is not enough to run mastodon-web, mastodon-streaming, and mastodon-sidekiq without something falling over when trying to post images.

Take this from somebody who actively runs mastodon on SBCs: a single raspberry pi 3 is not enough

@asonix yeaah i can def see i will have a little of work to get some of the stuff that i wanna put in action then lol

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!