Date: Tue, 25 Sep 2007 19:59:06 -0700 (PDT) From: Philip Hallstrom <freebsd@philip.pjkh.com> To: aminuddin@datarunding.com.my Cc: freebsd-questions@freebsd.org Subject: Re: Sharing application jail and host? Message-ID: <20070925195732.R87299@bravo.pjkh.com> In-Reply-To: <46f9ac0f.27f8720a.1eea.2115@mx.google.com> References: <46f9ac0f.27f8720a.1eea.2115@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi freebsd gurus, > I'm playing with jail setup and wanted to provide a virtual server to my > external remote users to login by ssh and run a couple of applications. > > Do I need to install the application using the ports in the jail itself or > can I just install the application in the host environment? Is there any > methods to enable sharing of the application across the jail and host? > > Example, if I want to let jail to run pure-ftpd, do I need to install > pure-ftpd in each of the jail that I will be creating? You can share directories b/n the host and the jails using nullfs. I do that to share /usr/ports. If you're just starting out look into the ezjail package. It makes life a *lot* simpler if you're going to be managing several jails. It uses this trick to create a master jail such that future jails only take up about 10mb (base install anyway). Good stuff.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070925195732.R87299>