From owner-freebsd-questions@FreeBSD.ORG Wed Jul 14 20:30:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D93106564A for ; Wed, 14 Jul 2010 20:30:55 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by mx1.freebsd.org (Postfix) with ESMTP id E184C8FC14 for ; Wed, 14 Jul 2010 20:30:54 +0000 (UTC) Received: from [212.54.42.145] (helo=smtp14.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OZ8bV-0008Qz-Jn; Wed, 14 Jul 2010 22:30:53 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp14.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OZ8bM-0004Ot-Ro; Wed, 14 Jul 2010 22:30:44 +0200 Received: from mbp.egypt.nl (mbp.egypt.nl [192.168.13.33]) by ra.egypt.nl (Postfix) with ESMTP id ABB3C3983E; Wed, 14 Jul 2010 22:30:44 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1081) From: Peter Boosten In-Reply-To: Date: Wed, 14 Jul 2010 22:30:44 +0200 Message-Id: <9D516AC0-17F0-477C-BC9C-2581867D334B@boosten.org> References: To: Ed Flecko X-Mailer: Apple Mail (2.1081) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OZ8bM-0004Ot-Ro X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.378, vereist 5, BAYES_50 0.00, CM_SLOPPY_BRK1 0.30, HTML_MESSAGE 0.00, SPF_PASS -0.00, TW_ZJ 0.08) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Help with "ezjail-admin create" command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 20:30:55 -0000 On 14 jul 2010, at 22:18, Ed Flecko wrote: > Peter, > I don't quite understand what you mean "I think you're better off > creating a fresh jail, and install apache via the ports collection. > for the templates to work you need to specify all dependencies by > hand." >=20 > Are you suggesting NOT using ezjail? No, that's not what I'm suggesting. from the start: first thing is to create the base: (one time) ezjail-admin update -P -i After reconfiguring the services on the host machine (one time), you can = add an alias to your existing ip address (see ifconfig how to to that) then create a jail: ezjail-admin create assuming your ezjail.conf is oke. replace hostname with a name you want = to identify the jail with, and the ipaddress should be replaced by the = alias ip address in the previous step. You will then have a good jail. You can start this jail with = /usr/local/etc/rc.d/ezjail.sh onestart (or start, if you edited = /etc/rc.conf) and access the running jail with: ezjail-admin console after that you go to the ports collection and install apache, including = all its dependencies (which are a lot) cd /usr/ports/www/apache22 make all install clean jsut like you would do on a non-jailed machine. > Or do you mean just install > Apache into a jail (created by ezjail) and don't worry about creating > a "template" like this website shows? How would I do that? I'm new to > the whole "jail" thing so it's a little confusing. I like the idea of > using the ezjail, because is seems more "idiot proof" for a relative > newbie. ezjail is good. >=20 > :-) >=20 > Also, what do you mean "for the templates to work you need to specify > all dependencies by hand"? I'm not stuck on following this website, > but IF the steps are fairly accurate, it seems to be a good roadmap > and it doesn't mention anything about specifying any dependencies by > hand. That's what I read from the creators website: The default flavour demonstrates how to pkg_add some prefetched = packages. Since no remote fetching of missing packages is requested, you = need to provide all package dependencies yourself.=20 --=20 Peter Boosten http://www.boosten.org