Minimal file set

Matthew Dillon dillon at backplane.com
Thu Jun 9 11:48:50 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20160609/f4b49e7f/attachment-0003.html>


More information about the Users mailing list