在CentOS8.0中默认不再支持ntp软件包,时间同步将由chrony来实现
vim /etc/chrony.conf

注释掉
pool 2.centos.pool.ntp.org iburst
加入新的的时间服务器
server 210.72.145.44 iburst
server ntp.aliyun.com iburst

centos8 设置时间同步
重启服务
systemctl restart chronyd.service
此时时间已经与网络时间同步
设置开机自启
systemctl enable chronyd.service

相关文章:

  • 2021-12-14
  • 2021-10-09
  • 2021-10-29
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
猜你喜欢
  • 2021-09-27
  • 2021-08-03
  • 2021-12-10
  • 2022-12-23
  • 2021-05-01
  • 2021-08-15
  • 2021-08-15
相关资源
相似解决方案