Atualizar update_srv1.sh

This commit is contained in:
2026-04-01 23:24:19 +00:00
parent 3be7678d2b
commit 1876f2d76a

View File

@@ -5,7 +5,7 @@ wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv
wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/nftables.conf -O /etc/nftables.conf --no-check-certificate --no-cache wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/nftables.conf -O /etc/nftables.conf --no-check-certificate --no-cache
sed -i s'/enp0s8/enp0s3/g' /usr/local/bin/sync-update sed -i s'/enp0s8/enp0s3/g' /usr/local/bin/sync-update
#wget https://raw.githubusercontent.com/tmferreira-ti/SSORI/refs/heads/main/configs/sshd_config -O /etc/ssh/sshd_config --no-check-certificate --no-cache #wget https://raw.githubusercontent.com/tmferreira-ti/SSORI/refs/heads/main/configs/sshd_config -O /etc/ssh/sshd_config --no-check-certificate --no-cache
systemctl restart netwoking systemctl restart networking
apt update apt update
apt install ssh -y apt install ssh -y
systemctl restart ssh systemctl restart ssh
@@ -16,6 +16,7 @@ wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv
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 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 systemctl enable nftables
systemctl restart isc-dhcp-server
#reboot #reboot
#apt install bind9 -y #apt install bind9 -y