一、配置脚本
sed -i "s/^server/#server/g" /etc/chrony.conf
sed -i "6a server x.x.x.x iburst" /etc/chrony.conf
systemctl enable chronyd.service
systemctl disable ntpdate.service
systemctl restart chronyd.service
timedatectl set-local-rtc 0
chronyc sources -v
二、常用ntp地址
ntp.ntsc.ac.cn #中国国家授时中心
cn.ntp.org.cn #中国授时
ntp1.aliyun.com #阿里云
s1b.time.edu.cn #清华大学