Install IBM servers from a distance

At my work, I needed to reinstall a server which is located in a datacenter in Amsterdam and I am located in Rijswijk. But the servers have a managament-interface (RSA 2 of IBM) and the capability to mount a local image to the server So I tried……

Server Tank died again

And again… Tank RIP.Yesterday evening I wanted to execute an update for the backup-mechanism… and I heard the sound of a poweroff So, now I am installing all the services on a old laptop of mine So hopefully all services are restored within …

WebDAV and Calendar files

For a long time I was having a fight with WebDAV… But I found the problem! In the http.conf file you need to put a line like:DAVLockDB /usr/local/apache/var/DAVLock/DAVLockDBThis is the Lock-database for WebDAV… but not only the file needs t…

No panic for the “Kernel Panic!”

Recently at work I had to migrate a physical server to a VMWare-instance. First I made a dump of the live (!!!) system using dd.

dd if=/dev/sda
| ssh [email protected]
‘cat – > /opt/vmware/oldserver/oldhd.dd’

When this was done, I had to create a VMDK-file, otherwise VMWare-server doesn’t understand (there is no support to add ‘raw’ images to an instance. You can create a VMDK-file using dd2vmdk :-P

After this, I added the virtual-disk to the virtual instance. :-)

So I powerup the vmware-instance… and guess what… A Kernel Panic occurs :'(

But… no panic… I started digging into the initial ramdisk. And I found that the SATA-module, which is required for booting a VMWare-SCSI disk, is not available in the initrd :-(

So, I had two options:

  1. Create a new ramdisk with the right modules;
  2. Change the type of the virtual disk into IDE.

I choose for the second option, the main VMDK-file is a plaintext file and all you have to do is change the entry:

ddb.adapterType = “lsilogic”

into

ddb.adapterType = “ide”

And after powerup the system again… It worked :-P

Cool… Win32 Malware on my Gentoo-laptop :D

Today, some stupid virus-writers do think they are smart… although… they scanned my Gentoo Laptop on virusess and mallware…And guess, what… they found malware… Win32 malware…cool:Damn… these people are really stupid, they also offer…

Passed LPIC-1 exam

Today I received an e-mail that I passed the LPIC101 and LPIC102 exams.The results of LPIC101:Your Score: 660Required Passing Score: 500Status: PassTest Section InformationPercent Correct Section 50% Hardware Architecture100% …

Built in referer check of apache httpd

Recently I found that it is possible to do a referer check within the Apache Webserver, so you don’t need any PHP-voodoo… :-D

All you need is the next few lines in your httpd.conf file:


SetEnvIfNoCase Referer “^http://www.example.com/” ownsite

<Directory “/usr/sites/www.example.com/pics”>
Order deny,allow
Allow from env=ownsite
Deny from all
</Directory>


So other sites will receive a 403 forbidden message from you webserver if they try to link to a file in your pics map :-D