Difference between revisions of "Mastodon"

From Run Your Own
Jump to: navigation, search
(added docs)
 
Line 2: Line 2:
 
https://post.lurk.org is a mastodon service. [https://joinmastodon.org/ Mastodon] is a federated microblogging software that speaks both [http://www.activitypub.rocks/ ActivityPub] and [https://en.wikipedia.org/wiki/OStatus OStatus] and can thus communicate with other microblogging softwares like [https://gnu.io/ GnuSocial], [https://pleroma.social/ Pleroma], [https://github.com/pump-io/pump.io Pump.io] etc.
 
https://post.lurk.org is a mastodon service. [https://joinmastodon.org/ Mastodon] is a federated microblogging software that speaks both [http://www.activitypub.rocks/ ActivityPub] and [https://en.wikipedia.org/wiki/OStatus OStatus] and can thus communicate with other microblogging softwares like [https://gnu.io/ GnuSocial], [https://pleroma.social/ Pleroma], [https://github.com/pump-io/pump.io Pump.io] etc.
  
 +
== admin resources ==
  
== official docs ==
+
=== Useful pages from the mastodon documentation ===
 
 
Useful pages from the mastodon documentation
 
  
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md Installing Mastodon] the guide is meant for Ubuntu 16.04 but it worked flawlessly on Debian Stretch
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md Installing Mastodon] the guide is meant for Ubuntu 16.04 but it worked flawlessly on Debian Stretch
Line 13: Line 12:
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md Updating to newer versions]
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md Updating to newer versions]
  
Admin community / help
+
=== Admin community / help ===
  
 
* [https://discourse.joinmastodon.org/ Mastodon forum] some discussions happen here
 
* [https://discourse.joinmastodon.org/ Mastodon forum] some discussions happen here
 
* [https://github.com/tootsuite/mastodon/issues Mastodon git issues] some happen there
 
* [https://github.com/tootsuite/mastodon/issues Mastodon git issues] some happen there
 +
 +
 +
 +
== Installation ==
 +
 +
post.lurk.org followed the mastodon install almost literally since it was one to one applicable on debian stretch. Quite boring really.
 +
 +
This means that mastodon runs as the user mastodon. All the mastodon files live in:
 +
/home/mastodon/live/
 +
 +
Differences are:
 +
* When running the interactive set up the smpt address is set as localhost and the [[Postfix_Relay|postfix relay]] takes care of the rest.
 +
* Mastodon-web runs on port 3001 instead of 3000, the changes to this are reflected in the systemd service files and in the nginx virtualhost config
 +
 +
== Maintenance ==
 +
 +
It's a beast that gobbles all the ram. Something to take into account.
 +
 +
For now I've added the mastodon user to a [[cgroup]] TODO
 +
 +
Mastodon can be (re)started by:
 +
systemctl stop mastodon-*.service
 +
systemctl start mastodon-web.service
 +
systemctl start mastodon-sidekiq.service
 +
systemctl start mastodon-streaming.service

Revision as of 12:12, 3 May 2018

https://post.lurk.org is a mastodon service. Mastodon is a federated microblogging software that speaks both ActivityPub and OStatus and can thus communicate with other microblogging softwares like GnuSocial, Pleroma, Pump.io etc.

admin resources

Useful pages from the mastodon documentation

Admin community / help


Installation

post.lurk.org followed the mastodon install almost literally since it was one to one applicable on debian stretch. Quite boring really.

This means that mastodon runs as the user mastodon. All the mastodon files live in:

/home/mastodon/live/

Differences are:

  • When running the interactive set up the smpt address is set as localhost and the postfix relay takes care of the rest.
  • Mastodon-web runs on port 3001 instead of 3000, the changes to this are reflected in the systemd service files and in the nginx virtualhost config

Maintenance

It's a beast that gobbles all the ram. Something to take into account.

For now I've added the mastodon user to a cgroup TODO

Mastodon can be (re)started by:

systemctl stop mastodon-*.service
systemctl start mastodon-web.service
systemctl start mastodon-sidekiq.service
systemctl start mastodon-streaming.service