Currently Browsing 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 applications and libraries work out of the box on the Linux distributions I’ve [...]
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 time, I was hosting a number of services with Xen. One physical server hosted [...]
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 lately however, that has defied me for a solution to my dying process. [...]
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 already a few good guides on getting heartbeat set up. You could [...]
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, you simply pipe the original dumped repository through the svndumpfilter command.
Example:
cat [...]
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” >> /etc/vservers/myserver/bcapabilities
Then just restart the vserver.
I noticed you don’t have to enable NET_ADMIN, or unhide the [...]