I had a bit of bother getting Mastodon up and running on a Fedora box so figured I’d write up the main sticking points.
Preamble The scope is to:
Put most of this inside Docker Use AWS S3 for object storage Use AWS SES for mail If you’ve got Postfix already running locally, or don’t want to run storage on S3, just ignore these bits.
Even though I’ve literally purchased a couple of the ISO standards, I’m unable to open the files on Linux without access to a Windows VM (within which I can run their stupid PDF de-DRM-er).
This environment:
CentOS 7.x WP 5.x PHP 7.x Fail2ban 0.11.x WP/PHP running in Docker
In /etc/fail2ban/filter.d/wplogin.conf:
[Definition] failregex = .*php7:notice.*\[client (<HOST>).*wp-admin.*Password Mismatch ignoreregex = Then in the WP home, we want to log errors to SYSLOG.
For S3 logging, awstats needs its LogFormat set up in the following manner:
%other %extra1 %time1 %host %logname %other %method %url %methodurl %code %other %extra2 %bytesd %other %extra3 %refererquot %uaquot %other %other %other %other %other %virtualname %other Amazon’s documentation is available here
In my case, I had data stored in a Realm file that I needed to re-export to JSON.
First of all we’ll need Realm Studio. Set up, open the Realm file and then export the models, as shown: