From owner-freebsd-questions@FreeBSD.ORG Tue Feb 28 12:20:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74E5E16A420 for ; Tue, 28 Feb 2006 12:20:26 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A35A43D46 for ; Tue, 28 Feb 2006 12:20:23 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FE3pj-0008MZ-EJ for freebsd-questions@freebsd.org; Tue, 28 Feb 2006 13:20:03 +0100 Received: from blueice1n1.de.ibm.com ([195.212.29.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2006 13:20:03 +0100 Received: from element by blueice1n1.de.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Feb 2006 13:20:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Tue, 28 Feb 2006 13:19:27 +0100 Lines: 41 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blueice1n1.de.ibm.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en In-Reply-To: Sender: news Subject: Re: Building a Jail in FreeBSD or NetBSD for a hosting environment 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: Tue, 28 Feb 2006 12:20:26 -0000 Nick Larsen wrote: > Hey Members, > > I have done a little research on Jails and setting them up, and managed to > get one going at one stage and managed to somehow destroy it. > I'm new to Jails, and I would like to use a real jail then just using a > chroot jail. > > Where I work, we use the Ensim software for hosting, and I find that very > pricey and sluggish (and it runs on Fedora rather than Linux). > They use a technique of chrooting sites and the sites users into an > environment in /home/virtual/sitexxx/ I would like to be able to do the same > (but with Jail), but not quite sure how to go about it. Last time I tried to > `make world DESTDIR=/my/jail/path` it failed (cannot remember the details > right now) but it this where I start? > > Also do I need an individual IP for each jail? because each physical server > will have 1 IP unless the customer requests a dedicated IP. > > Any help would be appreciated, and I have tried to research it but end up > going round in circles. > > -- > Regards, > > Nick Larsen > Wellington > NEW ZEALAND > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Hi, I've recently found great guide for creating jails - here is the link: http://www.section6.net/wiki/index.php/Creating_a_FreeBSD_Jail. It is really not so hard to get it up and runing. You can only get into troubles when trying to get to work some programs/daemons because of jail limitations. Pavel