Configuration differences for jails

=?gb2312?B?1cUgt+c=?= jas_arlerr at hotmail.com
Wed Apr 20 09:29:12 PDT 2005



>From: Jeremie Le Hen <jeremie at le-hen.org>
>To: ?? ?? <jas_arlerr at hotmail.com>
>CC: freebsd-hackers at 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 



More information about the freebsd-hackers mailing list