December 6, 2011, 3:01 pm
Installing Debian Squeeze on DELL PowerEdge R710 via DRAC can be quite an adventure – the main problem is that the Debian installer does not include firmware for Broadcom network cards.
Continue reading ‘Installing Debian Squeeze on DELL PowerEdge R710 via DRAC’ »
July 7, 2011, 3:59 pm
Some hosting companies, notably OVH, have their networking set in a way that it constantly “pollutes” dmesg with the following messages:
IPv6 addrconf: prefix with wrong length 56
IPv6 addrconf: prefix with wrong length 56
IPv6 addrconf: prefix with wrong length 56
Here is what you can do to get rid of it.
Continue reading ‘Getting rid of “IPv6 addrconf: prefix with wrong length 56″’ »
June 12, 2011, 5:08 pm
Getting a laptop without Windows is really problematic. How about getting a refund for a Windows system you’re not going to use? I tried asking Acer, and it’s no easy task (it’s technically possible, but will cost you more than a refund you get).
Continue reading ‘Acer accepting Windows tax refund’ »
November 23, 2010, 4:45 pm
Sometimes, applications on your server crash in mysterious ways, or your server hangs without any apparent reason. You suspect that the RAM may be broken, so memtest86+would be ideal tool to check RAM – however, there are some problems involved with it:
- running memtest86+ means server downtime,
- it may not be possible to run memtest86+ on a remote server without KVM-IP, iLO or similar access.
What to do in such situations? User-space memtester to the rescue!
Continue reading ‘Testing RAM on a server without rebooting to run memtest86+’ »
October 10, 2010, 11:36 pm
If you want to implement a simple server-side SSH session logging, follow these simple steps.
Continue reading ‘SSH session logging / recording’ »
October 10, 2010, 2:08 pm
The mod_sftp module implements the SSH2, SFTP and SCP protocols, allowing SCP and SFTP clients to be used with ProFTPD. By default, Debian Lenny does not provide mod_sftp support, but you can build a proper package using a development version available in Debian repositories – here is how.
Continue reading ‘Building ProFTPD with SFTP support on Debian Lenny’ »
October 4, 2010, 10:59 am
To date (as of qemu 0.12.5), it was not possible to resize qcow2 images. The only workaround was to convert the image to some other format, resize it, and convert it back to qcow2. Which could be quite lengthy and meant plenty of IO. Moreover, it was even more tricky if the image was already more than 50% of your storage space and you still wanted to increase its size.
It changed with qemu 0.13.0 (still release candidate as of writing this blog post), where resize option was added to qemu-img.
Continue reading ‘Resizing qcow2 images’ »
October 2, 2010, 3:21 pm
A page with useful one-lines for reference.
Continue reading ‘Useful shell one-liners’ »
September 14, 2010, 9:37 am
nginx uses similar syntax to that of Apache to allow users to access a directory, depending if their IP or username/pass matches (i.e. you want all users to present a valid username/pass match, but want to let some automated checks coming from specified IPs through, i.e. from ldirectord or nagios). Here is an example.
Continue reading ‘nginx auth – allowing IP or password-based access’ »
September 13, 2010, 4:29 pm
Sometimes, you may want some services (i.e. web) to be routed through a different interface. Here is a quick setup with some common problems.
Continue reading ‘Source port routing’ »