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.
@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 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
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!