This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
технология_jail [2015/05/13 11:50] val [FreeBSD10.X] |
технология_jail [2015/08/26 09:31] val [С использованием дистрибутива] |
||
---|---|---|---|
Line 11: | Line 11: | ||
# mount_cd9660 /dev/cd0 /mnt | # mount_cd9660 /dev/cd0 /mnt | ||
- | # setenv D /var/jail/www2 | + | # setenv D /var/jail/www |
# mkdir -p $D | # mkdir -p $D | ||
Line 69: | Line 69: | ||
exec.start = "/bin/sh /etc/rc"; | exec.start = "/bin/sh /etc/rc"; | ||
exec.stop = "/bin/sh /etc/rc.shutdown"; | exec.stop = "/bin/sh /etc/rc.shutdown"; | ||
- | exec.consolelog = "/var/log/jail.log"; | ||
mount.devfs; | mount.devfs; | ||
allow.set_hostname = 0; | allow.set_hostname = 0; | ||
Line 79: | Line 78: | ||
interface = "em0"; | interface = "em0"; | ||
ip4.addr = "192.168.X.20"; | ip4.addr = "192.168.X.20"; | ||
+ | exec.consolelog = "/var/log/jail_www_console.log"; | ||
} | } | ||
</code><code> | </code><code> |