Atualizar update_srv2.sh
This commit is contained in:
@@ -10,11 +10,11 @@ wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv
|
||||
#done
|
||||
sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
systemctl restart networking
|
||||
#apt install bind9 -y
|
||||
apt install bind9 -y
|
||||
|
||||
#wget https://github.com/tmferreira-ti/ASOR/raw/refs/heads/main/Confs/srv2/dns/named.conf.options -O /etc/bind/named.conf.options
|
||||
|
||||
#wget https://github.com/tmferreira-ti/ASOR/raw/refs/heads/main/Confs/srv2/dns/named.conf.local -O /etc/bind/named.conf.local --no-check-certificate --no-cache
|
||||
wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv2/dns/named.conf.local -O /etc/bind/named.conf.local --no-check-certificate --no-cache
|
||||
|
||||
#apt update
|
||||
|
||||
|
||||
Reference in New Issue
Block a user