diff --git a/update_srv1.sh b/update_srv1.sh index ef5ca8c..2043356 100644 --- a/update_srv1.sh +++ b/update_srv1.sh @@ -10,13 +10,13 @@ apt update apt install ssh -y systemctl restart ssh sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config -#apt autoremove --purge isc-dhcp-server -y -#apt install isc-dhcp-server -y -#wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/dhcpd.conf -O /etc/dhcp/dhcpd.conf --no-check-certificate --no-cache -#wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/isc-dhcp-server -O /etc/default/isc-dhcp-server --no-check-certificate --no-cache +apt autoremove --purge isc-dhcp-server -y +apt install isc-dhcp-server -y +wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/dhcpd.conf -O /etc/dhcp/dhcpd.conf --no-check-certificate --no-cache +wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/isc-dhcp-server -O /etc/default/isc-dhcp-server --no-check-certificate --no-cache systemctl enable nftables -reboot +#reboot #apt install bind9 -y