Install Ansible on Debian 8 (Jessie)

October 7, 2016 by  |  No Comments

Using Ubuntu’s 16.04 (Xenial) PPA works well to get Ansible installed on a Debian 8 server. First, add the software-properties-common dependency and the Ansible repo: # apt install software-properties-common # apt-add-repository ppa:ansible/ansible Modify the /etc/apt/sources.list.d/ansible-ansible-jessie.list that just got added. echo “deb xenial main” > /etc/apt/sources.list.d/ansible-ansible-jessie.list After you’ve run the above command, the file should […]

Continue Reading »

Shrink qcow2 disk for Linux VM in Proxmox

August 27, 2016 by  |  No Comments

While qcow2 is a “thin-provisioning” image format, over time qcow2 images tend to expand and use up more space than necessary. For example, if you have a small Linux VM in which the base install only takes up 2GB on disk, but you have allotted 8GB to the VM, if you download a large installer […]

Continue Reading »

LXD commands

June 4, 2016 by  |  No Comments

As noted in my previous article Setting up a test LXD environment on Ubuntu 16.04, LXD is basically the next generation of LXC with a lot of enhancements. As such, LXD uses mainly the same commands as LXC, as you can see below. This is a collection of commands that I frequently use to get […]

Continue Reading »

Setting up a test LXD environment on Ubuntu 16.04

June 4, 2016 by  |  1 Comment

This is a quick start guide to getting a fully functional LXD (lex-dee) test/dev environment set up on Ubuntu 16.04 Server. For the best experience, LXD works best if you have a bare metal machine to install it on, like a laptop already running Ubuntu 16.04. To some extent, you can think of LXD as […]

Continue Reading »

Enable bash completion on Mac OS X

March 7, 2016 by  |  No Comments

If you’re frequently using bash completion for SSH or other things on Linux, it’ll probably frustrate you to no end that it doesn’t work out of the box on a Mac. However, it’s rather easy to fix.

Continue Reading »

3ware RAID status script

August 24, 2013 by  |  No Comments

Recently I have had a streak of bad luck with hard drives behind 3ware RAID controllers dying. The 3ware CLI is a great tool, but it doesn’t have a simple way of setting up recurring health checks of the RAID array and to send alerts if an array becomes degraded. Therefore, I set out to […]

Continue Reading »

How to measure bandwidth between computers with iperf

August 5, 2012 by  |  No Comments

To test bandwidth between computers, iperf is a great CLI tool to use. There’s also a graphical front-end to iperf, written in Java, called jperf, which works on Linux, Mac OS and Windows. On most Linux distributions, iperf can easily be installed from CLI using the distribution’s package manager. In Debian/Ubuntu you would install it […]

Continue Reading »

Build a PXE boot server environment

July 28, 2012 by  |  1 Comment

This is an outline of how to build a PXE (Preboot Execution Environment) server to boot one or many computers over the network. This might be helpful if you don’t have a CD/DVD drive in the computer you want to do a clean install of the OS on, or if you want to build many identical computers at once. Building your PXE server as a virtual machine is highly recommended, as it becomes very portable and easy to deploy.

Continue Reading »

GlusterFS: Build a three-node storage cluster

July 26, 2012 by  |  No Comments

This article will guide you step by step through a three-node GlusterFS cluster. For this setup I’m using three Ubuntu 12.04 servers with a second hard drive attached to hold all the data.

Continue Reading »

Private Dropbox clone using OpenMediaVault and SparkleShare

November 14, 2011 by  |  3 Comments

Private Dropbox clone using OpenMediaVault and SparkleShare

So, you want your own, unlimited and secure Dropbox clone? Read on. It’s pretty simple to get it going.

Continue Reading »