When you’re working with a lot of small files on a windows computer that has a network connection to a samba share, the performance can be awful! There is a quick fix for this problem, applying this will improve the performance of working with the share.
Category: How to’s
Collection of various IT related “How-to’s”

Rate limit incoming mail on Postfix
Today I ran into a problem with one of our ISPConfig 3 installations. It hosts a domain which seems to be very attractive for spammers, so what happened .. my mail server got hammered by a spam bot net ( not yet blocked by spamhaus as of typing this post). In ISPConfig 3 Postfix talks […]

Show file permissions in octal notation
You can use a nice little tool called “stat”, to see the permissions of a file or directory in octan notation, run: stat –format=%a <file / directory>

Installing ffmpeg 0.7 on debian squeeze
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.

Nagios: Could not stat() command file /var/lib/nagios3/rw/nagios.cmd
All debian based distributions seem to have a problem with executing external commands after a default installation. You might end up with an error like this: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error […]

PHP5 with IMAP and SSL support
Building your own PHP with IMAP support is not that hard, but i noticed a lot of people tend to have problems when they want SSL support in it. You might run into stuff like this (when reconfiguring php f.e.): configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check […]

Patching ffmpeg-php 0.6.0 – Broken toGDImage();
After losing gallons of sweat trying to finally get your ffmpeg-php up and running, you try the toGDImage() method and the veins on your head start to pop! PHP Fatal error: failed to convert frame to gd image in file.php on line # SAY WHAT!! Ok, chill, take a deep breath, this can be fixed […]

Create a self signed SSL key for Postfix
I always forget the order of the commands to create a new set ssl keys for a postfix server, so here it is. For the Google-eyed visitors: The short version is at the bottom of this post.

ffmpeg-php 0.6.0 – PIX_FMT_RGBA32 fix
While you try to compile this baby, you might run into this error: /usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function) No worries, this is easily fixed with this command: sed -i ‘s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g’ ffmpeg_frame.c Now run “make” again and you got yourself a working ffmpeg-php!