How to build and install Apache from source inside ezjail?

Littlefield, Tyler tyler at tysdomain.com
Fri Apr 18 03:48:36 UTC 2014


On 4/17/2014 11:15 PM, edflecko . wrote:
> 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

Why are you trying specifically to install from source? Is there somethihng the apache source gives you that is not in ports? If the answer is no and you want to compile, please see ports.

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


Run ezjail-admin console <yourjail>. From there you are in the jail and 
anything you do will work from within that specific 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.
>>
>>
> _______________________________________________
> 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