Posted on 16 February 2009, 9:29 pm, by klenwell, under
Miscellany.
I posted last month on running PHP4 and PHP5 independently on separate local domains on a single Apache server under Ubuntu. This post updates my original post. The goal here is to create two domains: http://php5/ — running PHP5 via an Apache module http://php4/ — running PHP4 through CGI The steps below are adapted from [...]
I was tasked at work last week with coming up with a 2 million+ record dataset for some load tests we’re running on our application. I had a day’s worth of production data that I need to extrapolate to six months. Another opportunity to use my favorite python module: random What I wanted was something [...]
Posted on 6 February 2009, 9:24 pm, by klenwell, under
Miscellany.
I have a server running Ubuntu. Log rotation never worked on it for some reason. The log files were getting pretty hairy so I wanted to delete or rotate them. Specifically, to be safe, I wanted to rotate then delete them. You’d think this is one of those things Google (by way of the ubuntuforums) [...]