Optimising MongoDB for test environments

Recently I wanted to optimise the performance of MongoDB for test and development environments where persistent data storage and logging isn't important. I also wanted a solution that was easy to deploy and maintain across multiple development machines.

Encrypting a Dedicated Server (Ubuntu)

Encrypting an Ubuntu Server that you have physical access is a fairly easy and straight forward process. But what happens if you don't have physical access to the server? How do you enter the passphrase to unlock the drive during boot?

Using ZFS on Ubuntu Server to own your data

I've been considering moving my data off of cloud services such as CrashPlan and Dropbox and putting it back onto hardware that I own and fully control. In my new setup I have opted to store my data in a fault tolerant method using ZFS.

Detect smartcard removal

A couple of weeks ago I wanted to setup one of my machines that runs Kubuntu 15.04 to lock the computer when the smartcard is removed from the reader. After reading through a few other articles on this, I came up with the following solution.