Changes between Version 36 and Version 37 of FreeBSDJail
- Timestamp:
- Oct 27, 2010, 8:29:03 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeBSDJail
v36 v37 12 12 13 13 == Install Jail == 14 First make sure to install the jail using the [http://www.freebsd.org/doc/handbook/jails.html method in the handbook] 14 First make sure to install the jail using the [http://www.freebsd.org/doc/handbook/jails-build.html method in the handbook]: 15 master# mkdir -p /usr/jail/pzwet 16 master# cd /usr/src 17 master# make buildworld 18 master# make installworld DESTDIR=/usr/jail/pzwet 19 master# make distribution DESTDIR=/usr/jail/pzwet 20 21 Ensure your jail if configured (use your own IP of course): 15 22 {{{#!sh 16 23 master# cat <<EOF >> /etc/rc.conf … … 26 33 27 34 master# mkdir /usr/jail/pzwet/usr/ports 35 {{{#!sh 28 36 master# cat <<EOF > /etc/fstab.pzwet 29 37 /usr/ports /usr/jail/pzwet/usr/ports nullfs rw 0 0 30 38 EOF 39 }}} 40 41 master# /etc/rc.d/jail start pzwet 31 42 32 43 master# cp /etc/resolv.conf //usr/jail/pzwet/etc/resolv.conf