Installing
Daemontools
Installing
daemontools is quite easy. Daemontools is a software pakage designed
by Dan Bernstein which does the job of making sure designated
services are up and running at all times. Once it's installed,
you will then hook djbdns into it to ensure that the DNS server
is always up and running.
Make
the needed directories with the right permissions
1.
If you haven't already, unpack the djbdnsrocks package.
tar
zxvf djbdnsrocks.tar.gz
2.
mkdir -p /package
3
. chmod 1755 /package
4
. cd /package.
5.
tar zxvf /path/to/djbdnsrocks/daemontools-0.76.tar.gz
Now
we compile daemontools
Redhat/Fedora users insert the following step...
To accomodate
for the newer glibc package that comes with RH9, you will
need to apply to following patch before compiling djbdns:
cd /package/admin/daemontools/src
patch
< /path/to/djbdnsrocks/daemontools_errnopatch
If you
don't get any errors, it's patched!
|
6.
cd admin/daemontools-0.76
7.
./package/install
That's
it. Daemontools is now installed! If you run a "ps -aux"
(or whatever proc list command tickles your fancy) you should
see the "svscan" function now running!
back
to the djbdns installation
|