编译安装bind

$tar zxvf bind-9.9.3-P1.tar.gz
$yum install -y make gcc gcc-c++ open-ssl openssl-devel
$cd bind-9.9.3-P1
$sudo ./configure -prefix=/usr/local/named --mandir=/usr/local/share/man -enable-threads --disable-openssl-version-check
$sudo make  && sudo make install
sudo /usr/local/named/sbin/rndc-confgen > /usr/local/named/etc/rndc.conf
cd /usr/local/named/etc/
tail -n10 rndc.conf | head -n9 | sed -e s/\#//g > named.conf
 

 

posted @ 2013-06-07 15:40  sunsweet  阅读(233)  评论(0编辑  收藏  举报