Monthly Archives: August 2006

How to map URLs with PHP and lighttpd

On a number of occasions I've wanted to map a section of a site hosted with lighttpd onto a single PHP file that could then be used as a controller. Here is how I go about doing it. The first part is to re-write the given part of the site to the PHP file you [...]
Posted in php, system administration | Leave a comment

Xen on a Mac mini

A few days ago I read this article on how to put Xen on a Mac mini and though of the Mac mini colo. Now you can get even more machines into the same small area. The article talks about using Xen to not only run Linux but windows as well. You could have a [...]
Posted in linux | Leave a comment

Monitoring Bandwidth Usage for a Xen node

After my last post on limiting bandwidth usage on a Xen node I thought I would follow up with how to monitor the bandwidth usage of a Xen node.
Posted in linux, system administration | 4 Comments

Limiting Bandwidth Usage on Xen Linux Setup

Xen seems to be gaining speed these days and has a lot of useful features for those who want to resale or otherwise split a single box. Now that you have your Xen system set up you may be interested in going farther with bandwidth limiting. The hardest part of setting up bandwidth limiting is [...]
Posted in linux, system administration | 3 Comments

How to get the next date for a weekday using Oracle

If you ever need to find the next weekday from a given date in Oracle it turns out they have a built in function for doing just that. If you want the next Sunday from yesterday you would do: Valid entries for the day are: SUN, MON, TUE, WED, THU, FRI, and SAT Tags: Oracle, [...]
Posted in database administration | Tagged , | 2 Comments