I just upgraded norcal.social from Mastodon v4.0.2 to v4.1.0. The upgrade process is easy and the doesn’t require any downtime aside from a few seconds it takes things to start working again after restarting the Mastodon processes. Here are the exact commands to run:
… Continue reading “Upgrading Mastodon from v4.0.2 to v4.1.0”
After installing Apache I like to immediately customize the default access log. I change the default log file from other_vhosts_access.log to access.log, and I disable logging of specific “status” check URLs. Note I’m working on Ubuntu, other distros could have different file names and paths.… Continue reading “Customizing Apache default access log”
Quick tips for common .htaccess rules.
No lengthy descriptions, just a bunch of handy code snippets.
… Continue reading “.htaccess Cheat Sheet”
PowerDNS uses a database backend by default (e.g. MySQL). Simply do a database dump of the configured database and you’ll have a snapshot of all zones for easy recovery. It is recommend to dump the database to backup on a regular basis so that you can recover in case of a server crash.… Continue reading “PowerDNS Zone backups”
Here is a handy bash script for configuring static networking on a Linode server. This script works for Ubuntu 18.04 or later and assumes the server has been booted up with the Network Helper enabled, which is the default for Linode servers.… Continue reading “Linode Static Networking Configurator”