Posted on 18-08-2009, 18:54, by edo, under
Linux.
?View Code BASH1 2 apt-get install munin munin-node pico /etc/munin/munin.conf Edit the configuration file to your needs. In some cases when munin doesn’t work, there’s probably something wrong with the file rights. It might just avoid a pain in the ass to execute munin with root privileges. Edit /etc/cron.d/munin, /etc/cron.d/munin-node and /etc/munin/munin-node.conf to acomplish this. [...]
Posted on 17-08-2009, 15:44, by edo, under
Linux.
Two of our servers have these NIC’s. They are no longer supported in debian. During installation of the OS, this file is required on a USB stick or something.. ?View Code BASH1 2 dpkg-deb -x firmware-bnx2_0.14_all.deb bnx2 jup http://www.ducea.com/2009/03/02/debian-lenny-pxe-installation-on-dell-poweredge-19502950-servers-bnx2-annoyances/
Posted on 16-08-2009, 14:08, by edo, under
PHP.
?View Code BASH1 2 3 4 5 function timeDebug($startTime,$timeCount){ $currentTime = explode(" ",microtime()); $currentTime = floatval($currentTime[0] + $currentTime[1]); echo "[" . $timeCount . ": " . floatval($currentTime - $startTime) . "]<br />"; } ?View Code BASH1 2 3 4 5 $startTime = explode(" ",microtime()); $startTime = floatval($startTime[0] + $startTime[1]); $timeCount = 0; timeDebug($startTime,1);
Posted on 15-08-2009, 15:29, by edo, under
lighttpd.
http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html
Posted on 02-08-2009, 18:37, by edo, under
Linux,
nginx.
We’ve had nginx logging disabled for some time now, for the gain of performance (no harddisk usage). Lately we’ve been interested in what is going on on our servers, without having to wait on the google analytics statistics. So we chose to figure out some logging. Nginx needs to be configured to be able to [...]