0-Day Exploit “Apache-Killer”

Today I read about a 0-day exploit for the apache webserver on golem.de. A quick test if the webserver on my debian VPS is also vulnerable was successful. But the proposed workaround works quite well for me. Here are the steps, that I did to prevent my own apache webserver from being exploited (default apache2 [...]

Posted in: Uncategorized by Thorsten 2 Comments

Ubuntu Surfstation

For a public surfstation available for free we needed to have a system, that just simply always works. No user should be able to reset any configuration-settins, change the wallpaper, modify favorites or anything like that. The decision of the operating system was easy: Linux! The needed tasks to install this system are the following: [...]

VMWare: Debian NICs don’t come up after removing and adding virtual network card

A long time has passed after the last post to this blog. But I’m still alive and today there will be another. Yesterday I stumbled upon some problems in our virtual infrastructure regarding the Debian Linux Servers. For several reasons (most important is a dedicated network for NFS) i needed to add another virtual network [...]

Posted in: Uncategorized by Thorsten No Comments , ,

Klar, ich hab ja auch sonst nichts zu tun…

Posted in: Uncategorized by Thorsten No Comments

How to create Colorkey images with GIMP

Note to myself: 1. File => Open 2. Image => Mode => Grayscale 3. Edit => Copy 4. Edit => Undo 5. Layer => New => Transparency => ok 6. Edit => Paste 7. Layer => Anchor Layer 8. Layer => Mask => Add Layer Mask => White (full opacitiy) => Add 9. Now use [...]

Posted in: Uncategorized by Thorsten 3 Comments ,

Chive as an alternative to phpMyAdmin

Most of the mysql-admins out there will know phpmyadmin as a very helpful and reliable database administration tool. It’s available in most linux distros, can easily be installed and is for sure a very nice tool. Today I stumbled upon an alternative mysql administration-tool driven by php called chive. From the project-website you can quickly [...]

Posted in: Uncategorized by Thorsten No Comments , , ,

Switching to nginx and php-fpm, so LAMP becomes LEMP

About two and a half years ago i ordered a virtual server for private purposes at Server4you. That was quite a long time ago and in the meantime you can get the same server for less money or a better server for the same price As migrating from an old productline to a new one [...]

Recovering a lost root password for MySQL

Once in a while (hopefully not to often) you need to recover the root password of a mysql database. Here is a quick guide how I do this normally: 1. Stop the running database (if it isn’t stopped already) /etc/init.d/mysql stop 2. Start the database with the ‘skip-grant-tables’ option mysqld_safe –skip-grant-tables & 3. Open the [...]

Posted in: Uncategorized by Thorsten No Comments ,

Connecting to MSSQL databases with PHP from Linux

I needed to get some data from existing MSSQL databases with PHP. Connecting to such servers is a bit more tricky than mysql, because the mssql extension from php needs also a correctly configured TDS installation. But we’re lucky, there is an opensource implementation of the tds protocoll called FreeTDS. If you don’t want to [...]

Posted in: Uncategorized by Thorsten 1 Comment , , ,

NIC bonding (aka NIC teaming) with Debian Lenny

In order to move our Nagios installation from a virtual server to a dedicated hardware machine i installed Debian Lenny on a HP Proliant DL 380 G5. This server has two integrated NICs which can easily be used together as a network bond. So if one way to or from the server failes, the machine [...]

Posted in: Uncategorized by Thorsten 3 Comments ,