Category Archives: System Administration

Virtual Hosting TurboGears Applications on Mac OS X Leopard

For a couple years now, I’ve been learning and applying various tricks for developing and hosting multiple Python web sites on my development machines. During that time, I made a migration to Mac OS X. Most setup files for python … Continue reading

Posted in Programming, System Administration | Tagged , , , , , , , | 2 Comments

Linux-Vserver vs Xen

A while back, I found myself running out of hardware and wanting to host more sites than I currently was. In addition, I wanted to create a little bit more redundancy for some of the services I host. At the … Continue reading

Posted in System Administration | Tagged , , , | Leave a comment

Keeping a process running

Have you ever had a process that dies on occasion? For me, I hate that situation and prefer to fix the software as opposed to have a monitor that restarts the process when it dies. I’ve run into a case … Continue reading

Posted in System Administration | Tagged , , , , , , , , , | Leave a comment

How to virtual host load balanced websites with ldirectord and Apache

I posted a while back on getting Heartbeat set up to add reliability to websites. After a few weeks of experience with the system, I thought I’d add a few additional tips on making the setup more reliable. There are … Continue reading

Posted in System Administration | Tagged , , , , , , | Leave a comment

Using piped svndumpfilter commands to separate an svn repository

According to the documentation for svndumpfilter, you can include one subcommand when filtering a dumped repository. Suppose you have a repository that has a path “/some/path” that you’d like to separate out into its own new repository. From the documentation, … Continue reading

Posted in System Administration | Tagged , , , , , | 6 Comments

Using tcpdump on a linux-vserver guest

To debug a problem I’m working on, I need to be able to see network traffic on an interface inside a linux-vserver guest. To do this, you have to enable the CAP_NET_RAW capability for that guest. > echo “NET_RAW” >> … Continue reading

Posted in System Administration | Tagged , | Leave a comment