Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 08:10:56 +0800
From:      Aiza <aiza21@comclark.com>
To:        Ed Flecko <edflecko@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Install Apache in qjail?
Message-ID:  <4C478C90.4090702@comclark.com>
In-Reply-To: <AANLkTimFeAnOAkxziP-FT=ZpkCFCMZvRQyR3pqvUqHBj@mail.gmail.com>
References:  <AANLkTimFeAnOAkxziP-FT=ZpkCFCMZvRQyR3pqvUqHBj@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C478C90.4090702>