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 …
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 →
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…
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 →
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 &#…
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…
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 &…
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 …
> 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 …