Debian packages.sury.org GPG Key Expiry

Server

While updating some servers I ran into an issue when updating the available packages. These servers are using the third party repository packages.sury.org to get alternative PHP releases. The error was: Some sources suggested replacing the GPG key in /etc/apt/trusted.gpg.d/php.gpg: [SOLVED] The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key [SOLVED] PHP apt […]

Read more >

Exchange Online Powershell from Linux with Docker

Windows

These steps allow you to connect to Exchange Online using Powershell inside a Docker container from a Linux host. in my example I am connecting to Exchange Online from Ubuntu 21.04. For the Docker container image I am using the official Azure Powershell container from Microsoft (mcr.microsoft.com/azure-powershell). The account I am using to administer Exchange […]

Read more >

Benchmark SSH Ciphers

Server

Choosing a specific cipher to use for SSH can have a large performance impact when transferring files using tools that use SSH as a transport. For testing, I decided to benchmark the impact of using scp with various ciphers locally on my laptop as well as a VPS from Linode. The laptop has a Intel […]

Read more >

WordPress wp-cron.php with Systemd Timer

PHP

The wp-cron.php script for WordPress handles various scheduled events (such as checking for updates, publishing scheduled posts and more). By default this will be executed at each page load (to check if anything needs to be done). A common recommendation is to disable this and instead run it as a cron job. We deal with […]

Read more >

Linode Longview with MariaDB 10.5+

Server

At the time of writing, the Linode Longview agent is not working with MariaDB 10.5 onwards. This happens because there is a hard coded binary name in the Perl script responsible for determining if MySQL monitoring is required; from MariaDB 10.5 the binary name has changed from mysqld to mariadbd. To fix this the Perl […]

Read more >

Linux Interface Names

Linux

For convenience I like to name the interfaces for my desktop/laptop in an easy to remember convention so that I don’t need to think about what the interface names are at all when running things like tcpdump. The best way I have found to do this is with udev rules. The original interface names will […]

Read more >