How to build and install Apache from source inside ezjail?

edflecko . edflecko at gmail.com
Fri Apr 18 03:15:05 UTC 2014


Tyler,
I'm trying to download Apache source from:
http://httpd.apache.org/download.cgi, configure, build and install it from
source; not from a port.

I'm just wondering -

1.) What the best way to install Apache from source within a jail created
with ezjail and

2.) In what directory should it be installed within the jail so it's
secured by the jail?

Ed


On Thu, Apr 17, 2014 at 8:00 PM, Littlefield, Tyler <tyler at tysdomain.com>wrote:

> hello:
> Finally questions I can answer!
>
> On 4/17/2014 10:56 PM, edflecko . wrote:
>
>> I like the ease of using ezjail, but I'd like to install the current
>> version of Apache from source so I can build it with the options I want
>> and
>> install it the way I want. However, I'm guessing I should install Apache
>> in
>> the same location as ezjail would if I had installed it from ports to take
>> advantage of the security aspects of ezjail.
>>
>> Can someone offer some advice on installing Apache from source in an
>> ezjail
>> created jail?
>>
>
> You install your ports tree:
>
> ezjail-admin install -P
> that sets up ports in each jail. you can use ezjail-admin update -P to
> update the ports. then you just build it from ports from within the jail
> itself.
>
> HTH,
>  Thank you,
> Ed
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
>
>
>
> --
> Take care,
> Ty
> http://tds-solutions.net
> He that will not reason is a bigot; he that cannot reason is a fool; he
> that dares not reason is a slave.
>
>


More information about the freebsd-questions mailing list