Update 'debian-setup.sh'
This commit is contained in:
parent
ab17991fcc
commit
74b1d45e9e
@ -90,7 +90,8 @@ systemctl restart ssh
|
|||||||
|
|
||||||
# install ntpdate
|
# install ntpdate
|
||||||
echo "[INFO] Configuring time sync service"
|
echo "[INFO] Configuring time sync service"
|
||||||
apt install -y ntp ntpdate ntpstat
|
# from debian 12, ntp is replaced by ntpsec
|
||||||
|
apt install -y ntpsec ntpdate ntpstat
|
||||||
|
|
||||||
systemctl stop ntp
|
systemctl stop ntp
|
||||||
ntpdate pool.ntp.org
|
ntpdate pool.ntp.org
|
||||||
@ -117,8 +118,8 @@ fi
|
|||||||
#sysctl -p
|
#sysctl -p
|
||||||
|
|
||||||
# Disable ufw
|
# Disable ufw
|
||||||
systemctl stop ufw
|
# systemctl stop ufw
|
||||||
systemctl disable ufw
|
# systemctl disable ufw
|
||||||
|
|
||||||
|
|
||||||
# output
|
# output
|
||||||
|
Loading…
Reference in New Issue
Block a user