RHEL8
1.[Default]
yum install -y chrony
/etc/chrony.conf
server ntp.internal.local iburst
systemctl enable --now chronyd
systemctl status chronyd
chronyc sources -v
2
yum install -y ntp
/etc/ntp.conf
server ntp.internal.local iburst
systemctl enable --now ntpd
ntpd -p
[Firewall]
open port 123 UDP
firewall-cmd --add-service=ntp --permanent
firewall-cmd --reload
浙公网安备 33010602011771号