This article shows you how I created a jail for theOSWwebsite. It runs in a jail on the same system as this website. I originally did this install back in November 2003 and the notes from that session form the basis of this article. I have need to recreate the jail now as we recently had an HDD failure.
NOTE: This article applies to FreeBSD 4.I have since written aboutjail on FreeBSD 5, and it appears to apply to FreeBSD 6.x just as well. I recommend read that article over this one.
A jail is useful for many purposes. In my case, I wanted to give the OSW project a place to run their websites, mailing lists, etc, but at the same time keep them isolated from the rest of the machine. In short, it gives them a virtual machine, and it gives me peace of mind knowing that I have less to worry about with respect to the rest of the machine.
