How to install various systems under Fedora DNS
This article mainly introduces how to install various systems under Fedora DNS, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Fedora DNS install daemontools
1. Create a package directory under the root directory
# mkdir-p / package
# chmod 1755 / package
# cd / package
two。 Download daemontools-0.76.tar.gz to / package directory
3. Decompression and installation
# tar zxvf daemontools-0.76.tar.gz
# rm-f daemontools-0.76.tar.gz
# cd admin/daemontools-0.76
# package/install
If the gcc version does not match or a link cannot be found, try changing the src/conf-cc
# cd src
# echo gcc-02-include/ usr/include/errno.h > conf-cc
Then execute it again.
# cd..
# package/install
If the installation is successful, you should see the * line:
Init should start svscan now.
Fedora DNS install ucspi-tcp
Download ucspi-tcp-0.88.tar.gz to a temporary directory
# tar zxvf ucspi-tcp-0.88.tar.gz
# cd ucspi-tcp-0.88
# make
If the gcc version does not match or a link cannot be found, try changing the conf-cc
# echo gcc-02-include/ usr/include/errno.h > conf-cc
Then execute it again.
# make
# make setup check
Fedora DNS install djbdns
Download djbdns-1.05.tar.gz to a temporary directory
# tar zxvf djbdns-1.05.tar.gz
# cd djbdns-1.05
# make
If the gcc version does not match or a link cannot be found, try changing the conf-cc
# echo gcc-02-include/ usr/include/errno.h > conf-cc
Fedora DNS then executes again
# make
# make setup check
Fedora DNS, get djbdns moving.
1. Create two accounts as root
# useradd Gdnscache
# useradd Gdnslog
two。 Create a dnscache service directory:
# dnscache-conf Gdnscache Gdnslog / etc/dnscache
3. Set up a link for dnscache
# ln-s / etc/dnscache / service
Check later to see if the service is started:
# svstat / service/dnscache
4. Add "nameserver 127.0.0.1" to / etc/resolv.conf
This article wrote by Seabird (seabird_zh@yahoo.cn)
Thank you for reading this article carefully. I hope the article "how to install various systems under Fedora DNS" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!