Creating a Script to Update Multiple Raspberry Pi Devices

Out of habit, whenever I turn on my laptop, I open five instances of PuTTY and connect to each of my Raspberry Pi devices. Then, I check for updates on each by running sudo apt-get update and sudo apt-get dist-upgrade. Over the Golden Week holiday, I thought, “Why don’t I create a script that runs the update commands across all five devices?” Continue reading “Creating a Script to Update Multiple Raspberry Pi Devices”

Recreating ddclient Cache to Update New IP Address on Domain Name Registrar

This document is intended for those who are experiencing problems with updating a newly assigned IP address of a web server by using ddclient.

This article is intended for system administrators who experience problems with updating a newly assigned IP address of a web server by using ddclient. Continue reading “Recreating ddclient Cache to Update New IP Address on Domain Name Registrar”

A Case Against Removing the Default Site Configuration File in Nginx

When configuring public-facing domains in Nginx, the tutorials I followed stated that the Default site configuration file in the /etc/nginx/sites-available directory should be deleted after configuring the domains, using that file as a template. However, those tutorials failed to mention that, if the Default site file is deleted, accessing internal-only directories located within the same directory as the public-facing websites will not be possible. Continue reading “A Case Against Removing the Default Site Configuration File in Nginx”