Alan Doyle

Certbot using Cloudflare DNS in Docker

Encrypt all the things!

Let’s Encrypt will issue you free SSL certificates (including wildcard sub-domain certificates), but you have to verify you control the domain, before they issue the certificates.

The 2 major ways of proving control over the domain:

  1. Create a specific page on your webserver that they can reach.
  2. Create a temporary DNS TXT record. …

Setup Contact Page Using HeroTofu

Having tried a number of different methods of receiving details via a Contact form I’ve settled on using HeroTofu

I am currently using their Free tier which limits the number of submissions to 100 per month (plenty for a tiny site like this) but actually includes a couple of really neat features.

  1. Built-in Captcha to reduce spam or you can add your …


Sending Email via Commandline

Introduction

My personal/home network is probably more complicated than most (I’ll document it soon), but basically I have 3 local servers and 2 VPS running multiple VM’s, Docker and LXD containers (all are backed up). One thing I find very useful is email reports from each of those servers and sometimes from within the containers themselves. …


Running PowerTOP on boot

Introduction

So in February 2020 I bought a Teclast F5 on Amazon to run Ubuntu on. It’s a superlight 11.6" 2-in-1 laptop with a FullHD (1920x1080) touchscreen, 8Gb RAM and a 256Gb SSD coupled with an Intel Celeron N4100 1.1GHz (up to 2.4 GHz) Quad Core. It’s perfect for carrying around, while being powerful enough to use for most of my …


/tmp RAM disk

The purpose of /tmp directory on Ubuntu is to provide programs a directory for temporary files. A system reboot automatically deletes the file in /tmp directory. In this short entry, I’ll discuss setting up /tmp as a RAM disk and why I do it.

What /tmp as a RAM disk provides?

1. Performance

The main feature of mounting /tmp as a RAM disk is the …