• +++ WERBUNG +++

new website evolving…

sächsische Informations-Compagnie zu Berlin | Marcus Pauli

Posts Tagged 'Linux'

Gentoo ebuild: Nginx With Support For Upstream Fair Proxy Load Balancer

Nginx is a powerful web server and therefore our choice. Unfortunately, the Gentoo ebuild is missing one essential extension: a load balancer that is querying the servers not via round robin but by their current load. Therefore, we had to extend the …

10 January 2012 at 14:09 - Comments

dovecot: remove maildirs

We are running dovecot as MDA. Dovecot gets its user details from OpenLDAP and adds new users automatically.  But removing a user in LDAP does not mean it gets removed in Dovecot as well. To have this a little bit … Continue reading →

17 November 2011 at 19:54 - Comments

SVN: search all repositories for file

Say you have shell access to the SVN server of you desire which contains like a million repos. Say you are looking for a file but don’t know where it is, you can do the following: myfile=”FILE.NAME”; for dir in … Continue reading →

29 September 2011 at 12:41 - Comments

sslh: let https,ssh and openvpn share a single port

Introduction Maybe you know the situation: You successfully logged in to a corporate network and somehow you can’t reach your server. You check all possibilities and realize that some of the ports you desperately need to manage your daily life &#…

2 September 2011 at 08:45 - Comments

If Your Squirrel Won’t Keep The House Clean

There are not many usable open source webmailer. We are running two: Squirrelmail and Roundcube. Besides that this can be really annoying when it comes to server-side filtering, this offers lots of benefits to our users. Some like it simple … Con…

25 July 2011 at 20:06 - Comments

Howto split a SQL database dump into table-wise files

Splitting a sql file containing a whole database into per-table files is quite easy: Grep the .sql for any occurence of DROP TABLE. Generate the file name from the table name that is included in the DROP TABLE statement. Echo … Continue reading &…

12 July 2011 at 19:09 - Comments

from Squirrel to Crystal

For years, we were using Squirrelmail as the default web mail client. Well, it would be a lie to say its design looks good but it offers a lot of functionality that nearly compensates the design deficits. The really basic functionalities … Conti…

24 September 2010 at 15:24 - Comments

simplify your daily ssh usage… even more…

On MeyerMillerSmith.com I recently posted this one: Typing ssh commands can be very annoying but it doesn’t has to. There’s a quite nice way to simplify your daily admin life: shell scripts. Okay, let’s say we have a dozen servers &#8…

5 August 2010 at 17:40 - Comments

LKML: Arnd Bergmann: Re: open /dev/kvm: No such file or directory

> Greg, /dev/kvm is a MISC_DYNAMIC_MINOR device. Is there any way of > using it without udev? Should I allocate a static number?

You can write a small script that parses /proc/misc and creates the device, like

# /sbin/mknod /dev/kvm c 10 `grep '\<kvm\>' /proc/misc | cut -f 1 -d\ ` If you already have an init …

31 March 2010 at 18:26 - Comments

Suicide Linux @ Things Of Interest

You know how sometimes if you mistype a filename in Bash, it corrects your spelling and runs the command anyway? Such as when changing directory, or opening a file.

I have invented Suicide Linux. Any time – any time – you type any remotely incorrect command, the interpreter creatively resolves it into "rm -rf /" …

18 February 2010 at 11:21 - Comments