Tag Archives: Debian

Get Today’s Bandwith Usage from a Shoutcast Log

Shoutcast logs can be pretty big, if you don’t read them in line by line there is a fair chance of getting an out of memory error. The following function getShoutcastBW(logfile) simply returns the number of bytes streamed today out of the log. Good for calculating bandwidth. function my_strip($start,$end,$total){ $total = stristr($total,$start); $f2 = stristr($total,$end);… Read More »

Install ISPConfig on Debian Quickly

I have a client who routinely deploys cloud servers and they like ISPConfig installed to serve as a hosting control panel. ISPConfig is great for your average customer to manage their server or even for a small hosting company to manage their servers. It is a cost effective alternative to commercial solutions like Plesk and… Read More »