Category: Uncategorized

  • RaspberryPi Cluster III: Network storage and backup

    Intro The goal in this section is to add a harddrive to our primary node, make it accesible to all nodes as a network drive, partition it so that each of the RPi3B+ nodes can have some disk space that is more reliable than the SD cards, configure them so that they log to the…

  • Raspberry Pi Cluster Part II: Network Setup

    Introduction In the last post we got the hardware in order and made each of our 4 RPi nodes production ready with Ubuntu Server 20.04. We also established wifi connections between each node and the home router. In this post, I’m going to describe how to set up the “network topology” that will enable the…

  • WordPress Backup Restoration Practice

    Intro This is Part II of a multi-part series on creating and managing a WordPress-NextJs app. In the first part, we set up a WordPress (WP) instance on AWS EC2 with OpenLiteSpeed, MySql on RDS, and S3 for our media storage. The WP site will serve as a headless CMS for a hypothetical client to…

  • Headless WordPress with OpenLiteSpeed using AWS EC2, RDS & S3

    Intro I’ve heard good things about Litespeed so decided to try setting it up on AWS and to perform some comparisons with Apache. I also decided that I would try AWS RDS and S3 for data persistence. This article assumes general knowledge of setting up and administering an EC2 instance, and focuses on OpenLiteSpeed (OSL)…

  • Python Relative Imports

    Python Relative Imports

    Intro I thought I understood python modules. To my embarrassment, I tried doing a relative import just now and, having researched the ensuing error, realized that I had still failed to understand some fundamentals of relative imports. Background I created the following file structure: … with the following demo code: … and tried running python3…

  • AWS Production Static Site Setup

    Intro I’ve fumbled through the process of setting up a production static site on AWS a few times now. These are my notes for the next time to get through the process faster. Overview We want to be able to run a local script that wraps around the AWS CLI to upload assets to an…

  • Installing an NVIDIA Gigabyte GTX 1060 Graphics Card into a Dell Precision T5810

    Might be easy. Might be hard. Never done it. Here are my notes. TL;DR Managed to get it working after a dozen or so reboots, driver installations, and placement permutation of the original and/or new graphics card The only interesting/semi-innovative part of the project was having to pry off a strip of metal from the…

  • Windows 10 for Unix Users

    Goals It’s been literally decades since I’ve owned a Windows machine; here’s a guide to setting up Windows 10 and getting orientated for those used to doing things the MacOS/Linux way. Some specific goals include: Initial setup Backups Install winget package manager Install WSL2 and Ubuntu Install terminal Initial Setup & Orientation The most important…

  • Launching Subprocesses in Python3

    Motivation It’s important in the world of IT to know a scripting language for data processing, task automation, etc. For simple tasks (e.g. moving files, starting programs), my goto scripting language is Bash. But when I need something with more tools and precision (e.g. parsing html), I use python3. I decided in recent times to…

  • Raspberry Pi Cluster Part I: Goals, Hardware, Choosing OS

    A while back I built a raspberry cluster with 1 x RPi4 and 2 x RPi3b devices. This was shortly after the release of the RPi4, and, due to the many fixes that it required, I didn’t get far beyond hooking them up through a network switch. Now that RPi4 has had some time to…