yum -y install chrony
vim /etc/chrony.conf
- server ntp1.aliyun.com iburst
- bindacqaddress 0.0.0.0
- allow 0/0 // Allow everyone to use my time server
- cmdallow 127.0.0.1 // Control instructions
systemctl restart chronyd
netstat -antup | grep chronyd
chronyc sources -v // The presence of * indicates that NTP time is available