Re: Make a FreeBSD instance within FreeBSD with Jail...

2009-07-12 Thread Glen Barber
On Sun, Jul 12, 2009 at 9:20 AM, Diego Montalvodmonta...@gmail.com wrote:
 I had a hosting company which allowed me to run my own apps in an
 instance of a jail what if I wanted to make a dynamic jail that
 has its predefined softwares installed?

The jail(8) utility creates virtualized instances of an operating
system.  The structure of the actual jail is a simple directory [1].

 How does one go about
 duplicating this dynamically?

cpio(1) may be what you are looking for [2].

[1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html

[2] - 
http://www.freebsd.org/cgi/man.cgi?query=cpiosektion=1apropos=0manpath=freebsd

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Make a FreeBSD instance within FreeBSD with Jail...

2009-07-12 Thread Glen Barber
On Sun, Jul 12, 2009 at 9:33 AM, Diego Montalvodmonta...@gmail.com wrote:
 so I have all this configured jail and needs to be recreated on the
 push of a button, can it be done?


Yes, through a script usually.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Make a FreeBSD instance within FreeBSD with Jail...

2009-07-12 Thread Glen Barber
On Sun, Jul 12, 2009 at 9:36 AM, Diego Montalvodmonta...@gmail.com wrote:
 would it be a shell script?


Yes.  You should read the handbook.
http://www.freebsd.org/handbook

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Make a FreeBSD instance within FreeBSD with Jail...

2009-07-12 Thread Ruben de Groot
On Sun, Jul 12, 2009 at 06:20:55AM -0700, Diego Montalvo typed:
 I had a hosting company which allowed me to run my own apps in an
 instance of a jail what if I wanted to make a dynamic jail that
 has its predefined softwares installed? How does one go about
 duplicating this dynamically? Like on demand?

Try the ezjail port.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org