Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 16:29:11 +0000
From:      =?gb2312?B?1cUgt+c=?= <jas_arlerr@hotmail.com>
To:        jeremie@le-hen.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Configuration differences for jails
Message-ID:  <BAY2-F23B2DC0AD8A60EEC65BE55F22B0@phx.gbl>
In-Reply-To: <20050420143715.GF91329@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help


>From: Jeremie Le Hen <jeremie@le-hen.org>
>To: ?? ?? <jas_arlerr@hotmail.com>
>CC: freebsd-hackers@freebsd.org
>Subject: Re: Configuration differences for jails
>Date: Wed, 20 Apr 2005 16:37:15 +0200
>
> > Now with some distance, I must admit that all this gymnastic is quite
> > boring.  I now decided to run two virtual hosts as they are managed in
> > a very natural way.  These two hosts are just like two real boxes, one
> > running Bind and the other one running Postfix.  When I need to update
> > something in the configuration, I login to the box with ssh(1).  This
> > take some more memory and in principle no CPU as all processes are
> > sleeping most of the time.
>
>I forgotten to explain that using virtual hosts require some
>administration too in order to avoid wasting disk space.  The jail(8)
>manual page advices to make world with DESTDIR set.  I prefer using
>null mounts as it doesn't require additional disk space and an upgrade
>of the host will automagically upgrade virtual hosts.  You will
>nevertheless have to make distribution and distrib-dirs.  Here are the
>directories I advice you to share :
>     /bin /sbin /lib /libexec
>     /usr/bin /usr/sbin /usr/lib /usr/libexec /usr/libdata /usr/share
>     /usr/doc /usr/compat /usr/ports
>
>Sharing ports may be more difficult as it may require sharing the
>port database, but I think it's still possible.
>

Good idea!
I will take a try!

Regards
Jas

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-F23B2DC0AD8A60EEC65BE55F22B0>