« Archives in October, 2008

Getting lighttpd RPM

There are many places you can download the latest lighttpd RPMs:


EL4: http://ftp.freshrpms.net/pub/freshrpms/redhat/testing/EL4/lighttpd/
EL5: http://www.kevindustries.com/media/kw/files/linux/lighttpd/RPMS/EL5/
EL5 x86_64: http://linuxwave.blogspot.com/2007/08/installing-lighttpd-in-centos-5-for.html
1.4.17: http://www.kevindustries.com/media/kw/files/linux/lighttpd/RPMS/

Stress test a new server

Got a new server and want to stress test its CPU & disk? Run Folding@Home or other computing service and also BitTorrent (download some Linux distros like Fedora, CentOS). Testing and yet help the community.

Folding @ Home

wget http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02-Linux.tgz
tar -zxf FAH6.02-Linux.tgz
./fah6 --config
echo "./fah6 -smp -verbosity 9 $* &" > fah
chmod +x fah
./fah > /dev/null &


Download RPM packages from:

nohup launchmany-console –saveas_style 1 –max_upload_rate 600 –display_interv
al 5 . > torrent.log &

How to automatically reboot after a kernel panic?

You should investigate the root cause when possible but if the machine needs to be up and running again without much interruption, you can have it reboot when panicking after a number of seconds. Put this into /etc/sysctl.conf

kernel.panic = 60