ezjail -vs- "Do it yourself" jail?

Peter Boosten peter at boosten.org
Fri Jul 9 16:44:41 UTC 2010


On 9-7-2010 17:13, Adam Vande More wrote:
> On Fri, Jul 9, 2010 at 9:50 AM, Ed Flecko <edflecko at gmail.com> wrote:
> 
>> I'm trying to set up a FreeBSD 8.0 server to run Apache that will be
>> facing the nasty and unforgiving WWW.
>>
>> I have several good books on Apache that describe how to set up the
>> jail, when I came across several websites that reference the "ezjail"
>> package.
>>
>> Are there some caveats or downsides to using the ezjail route for
>> setting up my server with Apache? It sure sounds like an easier way to
>> go and less "goof-proof", but as we all know, easier is not always
>> better!
>>
> 
> It depends on how you're using it.  If all you intend on having is a single
> jail with apache running in it, then it may be easier to use it standard
> method.  Remember that ezjail is just a wrapper around FreeBSD jails, a
> management utility if you will.  You can have both ezjail jails and
> traditional jails running concurrently.  You can experiment with both to
> find out which method you like.  I find ezjail more convenient in situation
> where there are multiples jails running on a system.  I imagine if you have
> found a use for one jail, it won't be long until you find need for another.
> 

One of the main advantages of ezjail is that it out of the box saves
disk space for more than one jail, because of the shared nullfs mounts.

That can be done by hand as well (the handbook shows how), but ezjail
already invented the wheel.

Peter

-- 
http://www.boosten.org


More information about the freebsd-questions mailing list