Re: Установка bind
Posted: Thu Apr 12, 2018 11:01 am
А для CentOS 7 как будет выглядеть установка?imperio wrote: ↑Thu Mar 15, 2018 2:32 pmЕсли у вас дебиан 9 - измените информацию в профиле, чтобы не было путаницы.Code: Select all
apt-get install bind9 wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/debian/9/bind/named.conf -O /etc/bind/named.conf sed -i "s%listen-on%//listen%" /etc/bind/named.conf.options chown root:bind /etc/bind/named.conf chmod 640 /etc/bind/named.conf aa-complain /usr/sbin/named 2>/dev/null apt-get install apparmor echo "/home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2>/dev/null service apparmor restart update-rc.d bind9 defaults service bind9 restart
Code: Select all
echo "DNS_SYSTEM='bind9'" >> /usr/local/vesta/conf/vesta.conf
Code: Select all
yum install bind -y
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/named/named.conf /etc
chown root:named /etc/named.conf
chmod 640 /etc/named.conf
chkconfig named on
service named start
echo "DNS_SYSTEM='named'" >> /usr/local/vesta/conf/vesta.conf
service vesta restart
imperio wrote: ↑Tue Aug 14, 2018 5:22 pmCode: Select all
yum install bind -y wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/named/named.conf /etc chown root:named /etc/named.conf chmod 640 /etc/named.conf chkconfig named on service named start echo "DNS_SYSTEM='named'" >> /usr/local/vesta/conf/vesta.conf service vesta restart
Code: Select all
DNS_SYSTEM='named'