在centos机器中当局域网无法和外网通讯时,需要进行将/etc/chrony.conf 中的参数local stratum 10 enable,并设置server local iburst。
其中数字10可以根据精度需求设置从1-15,数字越小时间精度越高。
见https://chrony.tuxfamily.org/manual.html#local-directive
lirunzhou 2017-10-11 16:36 原文
在centos机器中当局域网无法和外网通讯时,需要进行将/etc/chrony.conf 中的参数local stratum 10 enable,并设置server local iburst。
其中数字10可以根据精度需求设置从1-15,数字越小时间精度越高。
见https://chrony.tuxfamily.org/manual.html#local-directive