Centos7.4 deploy NTP time synchronization server

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
Published 73 original articles · praised 4 · 20,000+ views

Guess you like

Origin blog.csdn.net/qq_27592485/article/details/103840621