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 <module> import aqt File “/usr/share/anki/aqt/__init__.py”, line 12, in <module> from aqt.qt import * File “/usr/share/anki/aqt/qt.py”, line 22, in <module> from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings …

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

How to install CouchDB 1.6.1 on Debian 8.2 (jessie)

First, I must give credit where it is due. These instructions are based on Matteo Mattei’s earlier article Install CouchDB 1.6.x on Debian 7 (Wheezy), but with some important changes. The commands below assume you have sudo properly configured on your system, and that you are running as a standard user. If you’re doing everything …

Continue reading ‘How to install CouchDB 1.6.1 on Debian 8.2 (jessie)’ »

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’ »

lighttpd hackage: Smart module loading

I recently upgraded from Debian 5.0 to Debian 6.0, and it went great, except that lighttpd began to complain “Cannot load plugin mod_redirect more than once”. This is because the new default lighttpd configuration shipped with Debian 6.0 includes the ‘mod_redirect’ module, which was not included by default in Debian 5.0. The obvious solution to …

Continue reading ‘lighttpd hackage: Smart module loading’ »