Installing Docker 1.12 in Debian 9 (stretch)

Debian ships with an old version of Docker, and the official installation instructions for Docker on Debian are a bit dubious (run an entirely untrusted shell script as root! yay!), not to mention error-prone, and result in a completely non-functional Docker installation on Debian, thanks to aufs being deprecated. So these instructions should make it …

Continue reading ‘Installing Docker 1.12 in Debian 9 (stretch)’ »

Getting Anki 2.0 to work with Debian stretch

Recent updates to Debian testing (aka stretch) have rendered Anki broken, with the following error message at startup: $ anki Traceback (most recent call last): File “/usr/bin/anki”, line 7, in import aqt File “/usr/share/anki/aqt/__init__.py”, line 12, in from aqt.qt import * File “/usr/share/anki/aqt/qt.py”, line 22, in from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings ImportError: No module …

Continue reading ‘Getting Anki 2.0 to work with Debian stretch’ »

Configuring CouchDB for HTTPS only

Getting CouchDB to work via HTTPS is fairly well documented. Disabling HTTP turned out to be the harder part to figure out. Enabling HTTPS The official documentation (here is actually incomplete (or more likely, simply outdated). But it’s still a pretty straight forward process. Edit your local.ini to include the following: [daemons] httpsd = {couch_httpd, …

Continue reading ‘Configuring CouchDB for HTTPS only’ »

Docker: Up and Running — A book review

I was recently tasked with developing a new web service application at work. This gave me a reason to investigate Docker as a possible deployment platform, so I’ve been reading about Docker. I just finished reading my second book on the topic, the not-yet-released (but it is available for Kindle) Docker: Up and Running by …

Continue reading ‘Docker: Up and Running — A book review’ »

Creating a Debian package of a Go project

Go is all the rage these days, and I decided to give it a try. And as my company uses Debian packages to distribute our software, I need to package my new Go-written project for Debian. Mark Stapelberg has done a lot of leg work to find the best (and official!) ways of packaging Go …

Continue reading ‘Creating a Debian package of a Go project’ »

Windows 7 + TrueCrypt 7.1a and Debian wheezy + encryption dual-boot with GRUB2

Getting Windows 7 (or Windows 8 or Windows Vista) with TrueCrypt to play nicely with GRUB2 is quite a chore. Although, after 2 days of fighting, I finally found a simple solution, thanks to the README file that comes with grub2tc. Unfortunately, grub2tc didn’t actually work for me, but their docs did! Here’s the step-by-step …

Continue reading ‘Windows 7 + TrueCrypt 7.1a and Debian wheezy + encryption dual-boot with GRUB2’ »

First impressions of Linux on the Sony Vaio Z

My company just bought me a new laptop, and they let me choose which model I wanted, as long as the price didn’t get too insane. I had two main goals while shopping: Ultra-portable I do a fair amount of traveling, so I wanted something small. As the former owner of a 12″ PowerBook, as …

Continue reading ‘First impressions of Linux on the Sony Vaio Z’ »