Index: head/en_US.ISO8859-1/books/handbook/jails/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/jails/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/jails/chapter.xml
@@ -201,6 +201,27 @@
prebuilt binaries (such as those supplied on an install media)
or build from source.
+
+ Installing a Jail
+
+
+ To install a Jail from the Internet
+
+ The &man.bsdinstall.8; tool can be used to fetch and
+ install the binaries needed for a jail. This will walk through
+ the picking of a mirror, which distributions will be installed
+ into the destination directory, and some basic configuration
+ of the jail:
+
+ &prompt.root; bsdinstall jail /here/is/the/jail
+
+ Once the command is complete, the next step is configuring
+ the host to run the jail.
+
+
+
+ To install a Jail from an ISO
+
To install the userland from installation media, first
create the root directory for the jail. This can be done by
setting the DESTDIR variable to the proper
@@ -217,14 +238,6 @@
&prompt.root; mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt
&prompt.root; cd /mnt/usr/freebsd-dist/
- Alternatively, download the tarballs from a mirror:
-
- &prompt.root; sh
-&prompt.root; export DESTRELEASE=12.0-RELEASE
-&prompt.root; export DESTARCH=`uname -m`
-&prompt.root; export SOURCEURL=http://ftp.freebsd.org/pub/FreeBSD/releases/$DESTARCH/$DESTRELEASE/
-&prompt.root; for set in base ports; do fetch $SOURCEURL/$set.txz ; done
-
Extract the binaries from the tarballs on the install media
into the declared destination. Minimally, only the base set
needs to be extracted, but a complete install can be performed
@@ -237,7 +250,11 @@
To install everything except the kernel:
&prompt.root; for set in base ports; do tar -xf $set.txz -C $DESTDIR ; done
+
+
+ To build and install a Jail from source
+
The &man.jail.8; manual page explains the procedure for
building a jail:
@@ -301,7 +318,12 @@
&man.devfs.8; and &man.devfs.conf.5; manual pages.
+
+
+
+ Configuring the Host
+
Once a jail is installed, it can be started by using the
&man.jail.8; utility. The &man.jail.8; utility takes four
mandatory arguments which are described in the More information about this can be found in the &man.jail.8;
manual page.
+