Alan Doyle

Sending Email via Commandline


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


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 …

Swap vs ZSwap vs zRAM

What is Swap and why do we need it?

Some backstory, Linux divides its RAM into chunks of memory called Pages. Swapping is the process whereby a page of memory is copied to the preconfigured space, usually on the hard disk, called swap space, to free up that page of memory. Freeing up memory pages allows more applications to allocate more memory when needed …