In this guide, let's go through the process of installing and configuring WordPress on a Docker container using docker-compose. The primary goals are to install a bare-bones install with the ability to customise wp-config.php, php.ini and my.cnf. There is an expectation that you are familiar with Docker, WordPress, PHP and MySQL configuration files. Install WordPress… Continue reading Customise WordPress on Docker
There is a nefarious error on nginx that in rare cases can throw an ERR_SPDY_PROTOCOL_ERROR for the users of Chrome. TLDR: Check your nginx add_headers directives for invalid characters within any HTTP2 server configurations. I call this out as attempting to troubleshoot it online can lead you down a rabbit hole of old and misinformation.… Continue reading Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome
I have a Ubuntu 18.04 server running ufw (Uncomplicated Firewall) and Docker. Docker relies on iptables-persistent, which is an interface to a much more powerful and complicated firewall that many people would rather avoid. The problem here is that ufw and iptables-persistent are both ways for creating the same firewall. On my server, only one… Continue reading Fix ufw service not loading after a reboot
As of writing in October 2018, there is a price sweet spot for 200GB microSD cards that retail for $44USD. Combined with a Raspberry Pi, they allow the build of a relatively affordable, low powered NAS with a decent storage capacity for a home network -- all without the need for external drives, extra cables,… Continue reading Easily create a NAS with a Raspberry Pi or another ARM computer
I recently suffered an unusual issue in the Linux terminal. Any commands prefixed with sudo would take 10 to sometimes 15 seconds to execute, while all other bash and terminal commands would operate at speed. Initially, I thought the issue was related to a Ubuntu Server install running in VMware Fusion on a low powered… Continue reading Way too slow sudo
Turns out when using HTTP2 in Firefox, Internet Explorer and Edge you should not have any newline characters in your HTTP response headers.