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 […]
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 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main” > /etc/apt/sources.list.d/ansible-ansible-jessie.list After you’ve run the above command, the file should […]
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 […]
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 […]
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.
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 […]
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 […]
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.
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.
So, you want your own, unlimited and secure Dropbox clone? Read on. It’s pretty simple to get it going.