安裝 Bind on centos 5.5

  • Category: 電腦相關
  • Last Updated: Sunday, 28 November 2010 15:34
  • Published: Saturday, 20 November 2010 20:23
  • Written by sam

os. centos 5.5

安裝 bind

檢查是否安裝套件

rpm -qa |grep ^bind

使用yum 安裝所需套件

yum -y install bind system-config-bind bind-chroot

bind-chroot為安全性套件,之後設定檔會位於 /var/named/chroot/目錄下

再來為複製範本檔至各目錄下

至/usr/share/system-config-bind/profiles/default

cp named.conf /var/named/chroot/etc/

至 /usr/share/system-config-bind/profiles/default/named

cp *.* /var/named/chroot/var/named/

至 /usr/share/doc/bind-9.3.4/sample/var/named

cp named.conf /var/named/chroot/var/named/