NTP on FreeBSD 12.1

Posted freedom-try

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NTP on FreeBSD 12.1相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

FreeBSD 12.1 安装 Xfce4

FreeBSD NTP 简单使用

常用的几个JQuery代码片段

centos 如何快速同步时间?

[Codeforces Round #522 (Div. 2, based on Technocup 2019 Elimination Round 3)][C. Playing Piano](代码片段

apache_conf 强大的.htaccess片段,需要在最顶层使用RewriteEngine On