Raspberry Pi SD cards: fsck them often If your Raspberry Pi is not using a read-only filesystem, I recommend setting the Pi to run a filesystem check on its root filesystem at every boot.
Mitigating hardware/firmware/driver instability on the Raspberry Pi Sometimes, through no fault of your own, something deep down will cause your Raspberry Pi to crash. Hard.
Maintaining a solid WiFi connection on Raspberry Pi The first issue you're likely to hit with a long-running Pi, particularly with a Raspberry Pi Zero, is the Pi dropping off your WiFi network for no apparent reason after days or just hours of operation.
Keep your software up and running on the Raspberry Pi This post reviews some of the options for keeping a systemd-managed service running persistently on a Raspberry Pi, or really any other Linux system.
Disable or remove unneeded services and software to help keep your Raspberry Pi online On long-running, single-purpose Raspberry Pis, I like to disable and/or remove some scheduled tasks, services, and other software. This may help with a few different reliability concerns.
Fixing excessive Pi-hole lighttpd access log size when Netdata is installed Part of the Raspberry Pi Reliability series. Not running out of disk space is an important aspect of keeping tiny Linux machines with limited storage and RAM running reliably for extended time periods. On most Raspberry Pis and similar devices, I keep /var/log in RAM, either with a straightforward …
Reconsidering Netdata Reconsidering where and how I install the open-source system monitoring tool, Netdata.
Reducing SD Card Wear on a Raspberry Pi or Armbian Device A guide to reducing SD card wear for a more reliable Raspberry Pi installation.
Redirecting Hacker News traffic away from your site via Nginx configuration If you wish to redirect traffic from Hacker News away from your site for some reason, placing these nginx configuration directives in your site’s server { block will do this trick. This won’t work inside a location block, at least in my experience. This snippet was last updated December …
Securing my personal SSH infrastructure with Yubikeys One recently-completed project I mentioned in January’s “Now” post was locking down SSH in my personal computing infrastructure using Yubikeys. In this post, I’ll outline my goals, the strategy I took, and the problems and solutions I ran into along the way.
A lightweight service health check tool written in Bash cdzombak/lightweight-healthcheck is an easy-to-use (and deploy) service health check tool, written entirely in Bash.
Introducing Runner: a lightweight wrapper for cron jobs Part of the Project Announcements series. It’s been a while since I blogged anything here, but that doesn’t mean I haven’t done anything in the past couple years! Over the next months, I’m going to try to make some posts about the various projects I’ve …
Deploying Let’s Encrypt with Nginx on Ubuntu 16.04 This post will (tersely) walk through the steps required to deploy Let’s Encrypt for TLS, including automatic renewals, on an Ubuntu 16.04 LTS1 server running Nginx. This will allow Let’s Encrypt to fetch and renew your certificates transparently, without interfering with whatever application you may be reverse-proxying …
Serving from your Dropbox folder with nginx Long ago, Dropbox provided a Public folder that had some special capabilities. Those capabilities are now better integrated into Dropbox, but I still use my Public folder for things I intend to share. I set up a server to make that folder available over the web. I can now share …