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 omg, that's super clean
@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.
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?
@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, 4/4
that's basically it tbh
long, instructions, 4/4
@asonix thank you sir!
@asonix you also need an internet plan that gives you a public IP address, which many *still* don't because they haven't upgraded their infrastructure since 2014
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!