Minimal file set

Carsten Mattner carstenmattner at gmail.com
Fri Jun 10 04:05:18 PDT 2016


Sorry for hijacking the thread, but are there plans to provide base binary
tarballs or even modularize it into several packages for use with pkg?
For a stable branch to be used on servers, it'd be much, much easier.

On Thu, Jun 9, 2016 at 8:48 PM, Matthew Dillon <dillon at backplane.com> wrote:
> Its easiest just to mess around until you have what you need.  What I would
> do is first create an 'empty' jail with a fresh install and load up the
> minimum of you know you need, such as the apache server.  But then set that
> jail aside and use it as a template for your experiments.  That is, create a
> second jail using the first as a template (by copying the directory tree
> over), and then play inside the second jail with 'pkg install' until you are
> happy with the package set.
>
> That way if you mess up and can't clean it up inside the second jail, you
> can just recopy the template and not have to start quite from scratch again.
>
> -Matt
>
> On Thu, Jun 9, 2016 at 8:49 AM, Konrad Neuwirth <konrad at fimsch.net> wrote:
>>
>> Hello there,
>>
>> I’m currently thinking a lot about how to optimize what we do with our
>> hosting. I’d love to run a number of processes in service jails. For that,
>> I’d like to figure out what the minimal requirement of files to each service
>> are (php-fpm, apache, nginx, mysql, postgresql — that kind of thing). Also,
>> I’m not sure I need all that there is even in the install that is right on
>> the machine. Coming from NetBSD, I’m used to sets like base.tar.gz and
>> etc.tar.gz — those would have been sufficient to get a system going.
>>
>> Is there anything like that I could use as a starting point? Would I have
>> to bounce off everything and see where things break if I just put php-fpm
>> into a jail and then start supplying file by file for what it needs? That
>> seems rather a time-consuming task to me …
>>
>> Thank you,
>>  Konrad
>
>



More information about the Users mailing list