码迷,mamicode.com
首页 > 其他好文 > 详细

NTP on FreeBSD 12.1

时间:2020-04-06 09:39:00      阅读:68      评论:0      收藏:0      [点我收藏+]

标签:ref   OWIN   dde   Once   syn   time   following   html   any   

Add the following to /etc/ntp.conf

pool ntp2.aliyun.com iburst
pool 1.tw.pool.ntp.org iburst
pool 0.freebsd.pool.ntp.org iburst
server ntp1.aliyun.com iburst

Add the following to /etc/rc.conf

ntpd_enable="YES"
ntpd_sync_on_start="YES"

Set ntpd_enable="YES" to start ntpd at boot time. Once ntpd_enable=YES has been added to `/etc/rc

service ntpd start

Set ntpd_sync_on_start="YES" to allow ntpd to step the clock any amount, one time at startup.

Reference:
Clock Synchronization with NTP Chapter 29. Network Servers

NTP on FreeBSD 12.1

标签:ref   OWIN   dde   Once   syn   time   following   html   any   

原文地址:https://www.cnblogs.com/freedom-try/p/12640271.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!