From owner-freebsd-questions@FreeBSD.ORG Wed Jun 8 12:46:03 2011 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 2A90F1065673 for ; Wed, 8 Jun 2011 12:46:03 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-3.mail.demon.net (lon1-post-3.mail.demon.net [195.173.77.150]) by mx1.freebsd.org (Postfix) with ESMTP id E3E468FC16 for ; Wed, 8 Jun 2011 12:46:02 +0000 (UTC) Received: from [212.225.105.201] (helo=[192.168.42.12]) by lon1-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1QUI92-0003nr-d1 for freebsd-questions@freebsd.org; Wed, 08 Jun 2011 12:46:00 +0000 From: "Dave" To: Date: Wed, 08 Jun 2011 13:45:46 +0100 MIME-Version: 1.0 Message-ID: <4DEF6EFA.11055.138252FF@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <4DEE7399.16564.FAC5D38@dave.g8kbv.demon.co.uk>, X-mailer: Pegasus Mail for Windows (4.61) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: Sorry. Numpty alert! FreeBSD Jails... Help? 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, 08 Jun 2011 12:46:03 -0000 On 7 Jun 2011 at 21:03, Jack Raats wrote: > > ----- Original Message ----- > > Hi All. > > > > Total frustration here. Before I incinerate the luckless box and > > get my coat. > > > > For whatever reason, I can't get my head round how "Exactly" to > > create and use a jail, for a small webserver (Hiawatha) on FreeBSD > > V8.x > > First compile the complete system. (kernel and world) > Then install ezjail form the ports > > Then edit ezjail.conf in /usr/local/etc > enable ezjail in /etc/rc.conf > > Then creating the base system: > ezjail-admin update -i > ezjail-admin update -P > > after this you can create a jail using: > > ezjail-admin create hostname.domain.net ip_address_of_jail > > you can logon to your jail using: > ezjail-admin console hostname.domain.net > > It's quite easy > > Grtz > Jack The problem is Jack, that build / make etc don't run. Just saying "compile the complete system" is not much help, when as others have pointed out, part of the needed source collection is (was) missing. Re: "It's quite easy". Only when you know how! Dave B