Currently Browsing System Administration
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 repos-dumpfile | [...]
- Share this:
- Share
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 [...]
- Share this:
- Share
Gentoo Init Scripts for Cherrypy
A few of the web applications I am hosting/developing are written with TurboGears which uses Cherrypy as its applications server. I have a couple things that need fixed for hosting CherryPy web applications on my Gentoo systems. First, there are no init scripts for CherryPy. Second, I’m running mulitple web applications per machine. I run [...]
- Share this:
- Share
Upgrading an OLD Gentoo Machine.
I’m in the process of re-installing a pretty old machine with the latest Gentoo. I’ve got a shared NFS directory with portage and all my machines are using a packages directory. After one machine builds something, another machine can simply install the built package. Here is a portion of the make.conf on each machine. FEATURES=”-distlocks [...]
- Share this:
- Share
One way to unemerge lots of unneeded packages on Gentoo Linux
As part of a recent project, I had installed a lot of packages on a separate machine to test my configuration. As is common, with Gentoo, you want to run the following before you actually emerge anything: emerge -p <package_name> In this particular case, I noticed the dependency list was pretty long (50 packages to [...]
- Share this:
- Share
The Pix xlate command
I’ve recently had cause to change a couple static routings on our Pix 501 Firewall. I’ve done this in the past, but each time, it has resulted in a period of time where the new static mapping doesn’t take effect. Thanks to Jake on the PLUG Mailing list for pointing out to me the xlate [...]
- Share this:
- Share