2、配置 /etc/ntpconf
restrict 127001
server cnpoolntporg
server 0poolntporg
server 1poolntporg
server 2poolntporg
restrict 0000 mask 0000 nomodify notrap noquery notrust
fudge 12712710 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0008
keys /etc/ntp/keys
3、/etc/initd/ntpd start或者systemctl start ntpd
systemctl enable ntpd
4、NTP server is listening on UDP port 123
netstat -nulp|grep 123
5、other server you can config crontab
# crontab -e
0 0 /usr/sbin/ntpdate 172161123;/sbin/hwclock -w;
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)