From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 00:11:05 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 54E0D1065670 for ; Thu, 22 Jul 2010 00:11:05 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 409668FC12 for ; Thu, 22 Jul 2010 00:11:05 +0000 (UTC) Received: from [10.0.10.3] ([202.69.172.68]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 21 Jul 2010 17:11:01 -0700 Message-ID: <4C478C90.4090702@comclark.com> Date: Thu, 22 Jul 2010 08:10:56 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ed Flecko References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jul 2010 00:11:01.0306 (UTC) FILETIME=[5E0AC9A0:01CB2932] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Install Apache in qjail? 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: Thu, 22 Jul 2010 00:11:05 -0000 Ed Flecko wrote: > Hi folks, > I'm using the new qjail, and I've created a new jail named > "webserver", but I don't see how you install a package (in this case, > Apache 2.2.15) inside the jail? > > I know qjail is pretty new; is the best source of documentation at the > moment the "man" pages? > > Read the qjail man page again and this time, "study" what its telling you. It's all explained in detail. BE SURE YOU UNDERSTAND what the create command ip address section is telling you. The simplest method is start the jail that you want to install apache in. Open that jails console. issue pkg_add -r apache If this apache jail is going to use the standard port 80 to listen on, then the host and any other jails can not use that port number. For your info. Being in the jails console you config your jail the same way you would config your host.