Skip to content
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

This is a newer version of my previous ffmpeg 0.8.x installation on Debian squeeze.

read more…

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…

Dec 14 / Mark

Automatic Debian System Installation for ISPConfig 3

ISPConfig

Since I’m installing new ISPConfig 3 servers on a frequent base I got tired or doing the same thing over and over, so I wrote a bash script to do all those things for me! (You got to be lazy as a sysadmin eh? ;-) ) The script is almost unattended, it only needs a few user input values at the start. That’s it. Happy time saving!

The script can be downloaded here.

Please report any bugs, so i can fix it.

Dec 14 / Mark

Running multiple Postfix setups

Postfix

Today a customer wanted to use their current mail server for sending regular emails to a list with about 200.000 addresses in it. Sure no problem, but this will fill your queue and all other mail from/to your company will get delayed. To avoid this, you can setup Postfix so that it can run a 2nd instance of it’s binaries that has it’s own queue!

read more…

Nov 4 / Mark

Add date and time to bash history

Linux

The .bash_history file has no date or time information in it. Sometimes it would be very nice to know when some command got executed.

read more…