1. Creating an encrypted loopback device with Tomb

    Tomb makes managing encrypted volumes easy - in fact very easy. This is a must if you're like me and want to store sensitive stuff on the cloud.

    You can download Tomb from here.

    1. Install some dependencies:

    yum install ncurses-devel cryptsetup zsh gettext -y
    yum install http://pkgs.repoforge.org …

  2. Monitorix installation on CentOS

    These are the steps I took to install Monitorix on a brand new VPS.

    1. Make sure you have the EPEL repo set up as Monitorix has some dependencies there

    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    

    2. Then install the latest version of Monitorix …


  3. Quick benchmark on Linux using UnixBench

    Updated on 06/18/2017 with new download links

    Stolen from here

    1. Download the source code:

    wget https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz
    

    2. Install dependencies for CentOS 6.x:

    yum install -y gcc time perl-Time-HiRes
    

    3. Untar and change directory:

    tar zxvf UnixBench5 …

  4. SpeedTest - simple bandwidth test

    On CentOS 6.x this is super easy to install since Python 2.6.x is already installed (Yum dependency).

    1. Get the script:

    wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py
    

    2. Make it executable:

    chmod +x speedtest-cli
    

    3. Run it:

    ./speedtest-cli
    

    Sample output:

    Retrieving …


  5. CARP on FreeBSD 10

    Some quick notes on setting up CARP on FreeBSD.

    Most of this is based on the FreeBSD Handbook page

    1. Add the carp kernel module - edit the file /boot/loader.conf and add the line

    carp_load="YES"
    

    ^ Make sure that this is done on all hosts To load the module …



Page 6 / 13