From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 19:03:23 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 8EB5F1065670 for ; Tue, 7 Jun 2011 19:03:23 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id 423E88FC08 for ; Tue, 7 Jun 2011 19:03:22 +0000 (UTC) Received: from raats.xs4all.nl (orac.jarasoft.net [10.10.10.10]) by raats.xs4all.nl (Postfix) with ESMTP id 9804D3D7428; Tue, 7 Jun 2011 21:03:48 +0200 (CEST) Received: from jarasc430 (raats.xs4all.nl [82.95.230.43]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by raats.xs4all.nl (Postfix) with ESMTPSA id 70E983D741F; Tue, 7 Jun 2011 21:03:48 +0200 (CEST) Message-ID: From: "Jack Raats" To: "Dave" , References: <4DEE7399.16564.FAC5D38@dave.g8kbv.demon.co.uk> Date: Tue, 7 Jun 2011 21:03:19 +0200 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net X-Mailman-Approved-At: Tue, 07 Jun 2011 20:14:50 +0000 Cc: Subject: Re: Sorry. Numpty alert! FreeBSD Jails... Help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 19:03:23 -0000 ----- Original Message ----- From: "Dave" To: Sent: Tuesday, June 07, 2011 8:53 PM Subject: Sorry. Numpty alert! FreeBSD Jails... Help? > 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