Virtualmin – Install PHP 8.0 and update all sites

The PHP 8 release is around the corner. This blog post outlines the steps of installing and configuring PHP 8 on an existing install of Virtualmin on a Ubuntu system. It assumes that Virtualmin has already been installed, and that the ondrej/php PPA has been configured on the system. Install PHP 8.0 (I currently use FPM on my servers): As of writing, Virtualmin needs to be patched so that it can pick up PHP 8. Apply this one-line change to your server. Then, run Virtualmin’s config check so that it picks up the new PHP version: The output should say Continue Reading

Streaming audio from a Mac to another computer using VLC

I have a wireless headphone set plugged in to my desktop computer in my living room. However, sometimes I would like to play some audio from my Mac laptop (which could be anywhere in my apartment).

VLC is a very popular program for playing pretty much any type of media under the sun. However, it has a lot of advanced functionality that many people may not know about. One of these is that VLC can send audio as a stream.

This post describes setting up a computer to computer audio stream using VLC.

Upgrading memory on a Synology ds415+

I’ve had my Synology Diskstation ds415+ network attached storage device since late 2015, replacing my custom FreeNAS box. It came with 2GB of RAM, which is fine for basic file serving, but limited when running multiple applications, including Docker containers. Once applications start swapping onto the hard disks, everything starts grinding to a halt. I finally reached the breaking point on this last night when I had to reboot the NAS once more.

First 3D Print – Projector screen replacement part

3D printing has gaining popularity in the recent years, and since a few years ago, Richmond Public Library has had ‘MakerBot Replicator 2’ stations available for patrons to use to create their own objects. This week, I had the opportunity to use the 3D printers for the first time to print a replacement part for a projector screen. Backstory Some time in March, one of these plastic caps popped off the projector screen we use for youth ministry at St. Francis Xavier Parish, and disappeared. It turns out that this small part (about 1cm in diameter), is a critical component Continue Reading

Overriding Routing for VPNs on macOS

I have a Virtual Private Network (VPN) setup so that I can connect to my home network and use things such as my Synology file server when I’m not at home. This works most of the time when the IP address network of the local (e.g., Wi-Fi hotspot, etc.) doesn’t conflict with my home’s IP address network (10.x.y.0/24). However, I have come across some Wi-Fi hotspots which use a subnet of 10.0.0.0/8. The default route through the hotspot network is then used when I try to access my home resources, instead of going through the VPN.