• +++ WERBUNG +++

new website evolving…

sächsische Informations-Compagnie zu Berlin | Marcus Pauli

Posts Tagged 'howto'

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

Locate all Apple serial numbers in a subnet

The command ioreg -l | grep IOPlatformSerialNumber will show you your Mac’s serial number. With this, you can find out when your Mac has been created if you enter this number to https://selfsolve.apple.com/agreementWarrantyDynamic.do For…

11 November 2011 at 19:45 - 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

Blog Tips to Help You Make Money Blogging – ProBlogger

28 December 2010 at 16:32 - 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