Archive for the ‘Misc’ Category.

a quick setting up SVN repository for your website

Scripting qemu / kvm monitor

There are some tasks in qemu / kvm monitor which could be scripted (i.e. like changing VNC password on demand).

Here is how.

Continue reading ‘Scripting qemu / kvm monitor’ »

md0 : active (auto-read-only) in /proc/mdadm

Ever seen this message in your /proc/mdstat right after you boot the server and wondered what it is?

Continue reading ‘md0 : active (auto-read-only) in /proc/mdadm’ »

MySQL replication: adding a new database

Sometimes, you will see MySQL setups where only one database is being replicated. How to add a second database, so that it’s also replicated?

Continue reading ‘MySQL replication: adding a new database’ »

CentOS – update / install PHP 5.2

CentOS 5.x comes with PHP 5.1, which is too old for some applications.

Here is a quickie on how to update it using CentOS development / testing repository.
Continue reading ‘CentOS – update / install PHP 5.2’ »

Setting up DKIMproxy with Exim for DKIM and DomainKeys signing

Was your mail ever rejected or tagged as spam because it didn’t have a DKIM signature? You could enable DKIM-signing in Exim, but then, some older mail systems may still use DomainKeys.

Currently, Exim does not support signing mails with both DomainKeys and DKIM. You have to pick one of them, unless you do some tricks with patching Exim or connecting back to itself.

Still though, such setup is not perfect: Exim does not wrap its DomainKeys signature, which may result in SpamAssassin installations tagging your mail with HEAD_LONG rule (“Message headers are very long”) and assigning it 2.5 spam points.

So how to sign mail with DKIM and DomainKeys without negative consequences of being tagged by SpamAssassin for very long headers? DKIMproxy to the rescue!

Exim configuration

Continue reading ‘Setting up DKIMproxy with Exim for DKIM and DomainKeys signing’ »

Linux and Lumix digital cameras

Do you happen to be running a Linux distribution and have Panasonic Lumix digital camera?

If yes, you may have problems downloading photos from it – depending on your kernel and udev settings, or more generally, on Linux distribution used.

The tips from below may help you.

Continue reading ‘Linux and Lumix digital cameras’ »

HP loves Linux the Windows way

Quite recently, HP announced a new line of thin clients with Debian Etch 4.0 preinstalled. That’s certainly good news for Linux, but why HP’s Linux support is Windows only?

Continue reading ‘HP loves Linux the Windows way’ »

Just how (un)reliable is Netcraft?

According to Netcraft statistics, Apache is loosing its market share to Microsoft’s IIS since almost the beginning of 2006:

Netcraft Web server Survey

In Mid 2006, the change was really dramatic, and since then, there were countless articles which tried to explain why Apache looses its market share, while IIS have massive gains.

I’ve seen conspiracy theories which claimed that Microsoft pays Netcraft. There were reports of massive “parked” domain blocks hosted on Linux being moved to Windows, or lower TCO of IIS when compared to Apache. Lack of GUI in Apache, superior ASP.NET, release of Windows Vista, you name it. Perhaps just IIS gains more than Apache. Continue reading ‘Just how (un)reliable is Netcraft?’ »