Achievement Unlocked: I’m Now an AWS Certified Cloud Practitioner!

I recently started going hands on with services on the AWS platform and decided to take the entry-level certification exam. Since I live in Tokyo, my biggest worry was that the exam would be available only in Japanese. Fortunately, the exams are offered in Japanese or English. This article describes my experience scheduling and taking the exam to obtain certification as an AWS Certified Cloud Practitioner as a foreigner in Japan.

Continue reading “Achievement Unlocked: I’m Now an AWS Certified Cloud Practitioner!”

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”

Server Outage: Unexpected Downtime Caused by Overlapping Nginx and Apache Installations

I recently changed the DNS listed in the static domain_name_servers line in dhcpcd.conf to another value. I did this to see if the Raspberry Pi that hosts my web server could connect to the the Internet via another Raspberry Pi unit that I had configured as bridge. When I couldn’t connect to the bridge, I reverted to the original DNS, but my server remained down. Continue reading “Server Outage: Unexpected Downtime Caused by Overlapping Nginx and Apache Installations”

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”

Installing a TLS/SSL Certificate Obtained via Let’s Encrypt

Server administrators need to take appropriate measures to secure the contents stored on a server and to protect information being transmitted to it. Currently, the common way to secure the connection between a client and a server is to install a TLS/SSL certificate on the server. Continue reading “Installing a TLS/SSL Certificate Obtained via Let’s Encrypt”

Choosing Nginx over Apache

In an earlier post, I noted that I am running my WordPress installations on the LEMP (Linux, Nginx, MariaDB/MySQL, PHP) stack. I chose Nginx as the web server to run not only WordPress but also simple websites and apps over more commonly used Apache because Nginx is known as a lightweight alternative that can handle heavy traffic. Continue reading “Choosing Nginx over Apache”