Changes between Version 36 and Version 37 of FreeBSDJail


Ignore:
Timestamp:
Oct 27, 2010, 8:29:03 AM (14 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDJail

    v36 v37  
    1212
    1313== Install Jail ==
    14 First make sure to install the jail using the [http://www.freebsd.org/doc/handbook/jails.html method in the handbook]
     14First make sure to install the jail using the [http://www.freebsd.org/doc/handbook/jails-build.html method in the handbook]:
     15master# mkdir -p /usr/jail/pzwet
     16master# cd /usr/src
     17master# make buildworld
     18master# make installworld DESTDIR=/usr/jail/pzwet
     19master# make distribution DESTDIR=/usr/jail/pzwet
     20
     21Ensure your jail if configured (use your own IP of course):
    1522{{{#!sh
    1623master# cat <<EOF >> /etc/rc.conf
     
    2633
    2734master# mkdir /usr/jail/pzwet/usr/ports
     35{{{#!sh
    2836master# cat <<EOF > /etc/fstab.pzwet
    2937/usr/ports      /usr/jail/pzwet/usr/ports               nullfs  rw              0       0
    3038EOF
     39}}}
     40
     41master# /etc/rc.d/jail start pzwet
    3142
    3243master# cp /etc/resolv.conf //usr/jail/pzwet/etc/resolv.conf