jessie_bind_chroot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| jessie_bind_chroot [2015/12/20 19:10] – admin | jessie_bind_chroot [2016/01/25 08:33] (current) – [Long story short:] admin | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| mknod / | mknod / | ||
| chmod 660 / | chmod 660 / | ||
| + | chown bind / | ||
| </ | </ | ||
| Move the current config directory into the new chroot directory: | Move the current config directory into the new chroot directory: | ||
| Line 69: | Line 70: | ||
| / | / | ||
| </ | </ | ||
| - | A good idea too | + | |
| + | ====Logging==== | ||
| + | |||
| + | / | ||
| < | < | ||
| - | chown bind / | + | / |
| + | daily | ||
| + | compress | ||
| + | delaycompress | ||
| + | rotate 5 | ||
| + | missingok | ||
| + | postrotate | ||
| + | [ -e / | ||
| + | endscript | ||
| + | } | ||
| + | |||
| + | / | ||
| + | daily | ||
| + | compress | ||
| + | delaycompress | ||
| + | rotate 5 | ||
| + | missingok | ||
| + | postrotate | ||
| + | [ -e / | ||
| + | endscript | ||
| + | } | ||
| + | |||
| + | / | ||
| + | daily | ||
| + | compress | ||
| + | delaycompress | ||
| + | rotate 5 | ||
| + | missingok | ||
| + | postrotate | ||
| + | [ -e / | ||
| + | endscript | ||
| + | } | ||
| </ | </ | ||
| Line 83: | Line 119: | ||
| systemctl daemon-reload | systemctl daemon-reload | ||
| - | mkdir -p / | + | mkdir -p / |
| mknod / | mknod / | ||
| mknod / | mknod / | ||
| chmod 660 / | chmod 660 / | ||
| + | chown bind / | ||
| mv /etc/bind / | mv /etc/bind / | ||
| ln -s / | ln -s / | ||
| Line 95: | Line 132: | ||
| chgrp bind / | chgrp bind / | ||
| chown bind / | chown bind / | ||
| + | touch / | ||
| + | ln -s / | ||
| + | chgrp bind / | ||
| vi / | vi / | ||
| Line 103: | Line 143: | ||
| </ | </ | ||
| - | + | * Add the logrotate script from above | |
jessie_bind_chroot.1450638652.txt.gz · Last modified: by admin
