NTP en FreeBSD 12.1

Agregue lo siguiente a /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

Agregue lo siguiente a /etc/rc.conf

ntpd_enable="YES"
ntpd_sync_on_start="YES"

Set ntpd_enable="YES"para iniciar ntpd en el arranque. Una vez que ntpd_enable=YESse ha agregado a `/ etc / rc

service ntpd start

Ajuste ntpd_sync_on_start="YES"para permitir ntpd al paso del reloj de cualquier cantidad, una vez en el arranque.

Referencia:
Reloj de sincronización con servidores NTP Capítulo 29. Red

Supongo que te gusta

Origin www.cnblogs.com/freedom-try/p/12640271.html
Recomendado
Clasificación