首页 > 技术文章 > freebsd 时间校准

qlight 2015-03-03 22:52 原文

修改 /etc/rc.conf

ntpdate_enable='YES'
ntpd_enable='YES'

如果这里不指定ntpdate_hosts=参数的话,ntpdate会读取/etc/ntp.conf配置

启动ntpd服务

 

国内较快的ntp服务器

0.cn.pool.ntp.org
1.cn.pool.ntp.org
2.cn.pool.ntp.org
3.cn.pool.ntp.org
cn.pool.ntp.org

推荐阅读