0

我正在使用 RHEL 8 并且不再支持 ntp 包,它由 chrony 包中提供的 chronyd 守护程序实现。该文件设置为使用 pool.ntp.org 项目(pool 2.rhel.pool.ntp.org iburst)中的公共服务器。有没有办法设置服务器而不是池?

我的 chrony.conf 文件:

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
pool 2.rhel.pool.ntp.org iburst
4

1 回答 1

2

是的。只需注释掉 pool 行并添加一个带有您想要的服务器的服务器:

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).

# pool 2.rhel.pool.ntp.org iburst
server 0.africa.pool.ntp.org iburst
server 0.us.pool.ntp.org
server 0.south-america.pool.ntp.org
于 2019-09-25T16:44:05.160 回答