(Centos7)
1.ntpdate x.x.x.x
2.vim /etc/chrony.conf
添加“server x.x.x.x iburst”
3.systemctl enable chronyd
4.systemctl start chronyd
(Centos6)
1.ntpdate x.x.x.x
2.vim /etc/ntp.conf
添加“server x.x.x.x iburst”
3.chkconfig ntp on
4.service ntpd start