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 [2016/01/11 09:14] – [Long story short:] 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 87: | Line 123: | ||
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 / | + | touch / |
- | ln -s / | + | ln -s / |
+ | chgrp bind / | ||
vi / | vi / | ||
Line 105: | Line 143: | ||
</ | </ | ||
- | + | * Add the logrotate script from above |
jessie_bind_chroot.1452503669.txt.gz · Last modified: 2016/01/11 09:14 by admin