Skip to content
Nov 10 / Mark

Change magnet: url handler for chrome

Linux

Chromium’s (Chrome’s) protocol handling works in a different way then Firefox does. Firefox has it’s own piece of code to handle it (and configure it). Chromium uses xdg-utils to see what it needs to do.

read more…

Aug 23 / Mark

Installing ffmpeg (all versions) on debian squeeze and newer

Debian

There are currently 5 active ffmpeg release versions 0.7.x up to 0.11.x. This document describes how to install these versions. I’ll leave you with a system ready for you to pick a version you need/want and tell you how to install them. All versions are as complete as possible AND containing nearly all supported codecs.

read more…

Jul 2 / Mark

Java leap second bug 30 June – 1 July 2012 – Fix

Linux

So, as of last Sunday all java servers in my park started running at 100% CPU capacity. Turns out there’s a leap second bug in current java releases on Linux servers.
I found this post where a temporary workaround/fix is provided.

read more…

May 10 / Mark

Automatically log out idle users in linux

Linux

Some users have this (nasty) habit of staying logged into their shells. Not just one, but A LOT of them, very annoying to see all those idle connections (IMHO). So to prevent these idle connections from staying open until the end of days is to set a simple environment variable called “TMOUT”.
read more…

Feb 8 / Mark

PRM, MySQL HA and Pacemaker in the mix

mysql

PRM, short for “Percona Replication Manager” is a Resource Agent for Pacemaker written by Yves Trudeau. He added the handling of vips for master/slaves to the existing RA. (Original post and source of information can be found here)

read more…

Feb 8 / Mark

Installing ffmpeg 0.9 on debian squeeze and newer

Debian

I’ve created a newer version of this how-to which covers all current active releases of ffmpeg. The new how-to can be found here.

Jan 27 / Mark

XenServer 6 How to fix “no interface configured” after update or hotfix

Linux

XenServer, it’s a nice product, but for some reason I AL-WAYS get the creeps when I need to update the server software with a new service pack or hot-fix. Checking the Citrix forums, there are tons of threads about people loosing their “Management interface” after an upgrade. I’ve read almost all of the posts on the forums related to this issue and seriously, none of them worked, so I started to play around with the available options in the “xe” toolkit. My goal was to get the server back in the pool, without re-installing the server and I succeeded. (Yay!)

read more…

Dec 29 / Mark

Change default console font in Debian

Debian

If you don’t like the default console-font that Debian uses, you can change it with the package “console-setup”.
read more…

Dec 29 / Mark

Kernel: Neighbour table overflow

Linux

While randomly browsing some sites, I came a cross this page which described a problem I had about a year ago. I thought I should document it on my own site as well for reference.
read more…

Dec 14 / Mark

Preventing white spaces to be a delimiter in a for loop in bash

Linux

Using a for loop in bash to read a file line by line can sometimes be very annoying, here’s a little trick to make it actually red it LINE BY LINE.

read more…