首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将chrony.conf文件设置为“服务器”而不是“池”

将chrony.conf文件设置为“服务器”而不是“池”
EN

Stack Overflow用户
提问于 2019-08-29 23:14:14
回答 1查看 1.2K关注 0票数 0

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

我的chrony.conf文件:

代码语言:javascript
复制
# 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
EN

回答 1

Stack Overflow用户

发布于 2019-09-26 00:44:05

是。只需注释掉pool行,然后添加一个包含所需服务器行的服务器:

代码语言:javascript
复制
# 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
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57713170

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档