Linux开启时间同步

2018-10-17 11:00 By "Powerless" 2588 0 2

编辑时间同步的配置文件

vim /etc/chrony.conf

在头部时间服务器列表中增加:server 2.cn.pool.ntp.org iburst

systemctl restart chronyd  //重启时间服务 
chronyc sources  //手动同步一下时间

这样时间就同步完成了,可以使用:date 命令查看当前的系统时间

评 论

View in WeChat

Others Discussion

  • 分布式服务限流
    Posted on 2020-02-07 18:57
  • 有状态服务VS无状态服务
    Posted on 2020-02-07 18:18
  • 企业级PAAS云平台几个关键问题和挑战
    Posted on 2019-06-12 18:33
  • MySQL 单库后期分库策略
    Posted on 2019-08-19 14:31
  • Redis七大经典问题
    Posted on 2021-05-27 11:14
  • 关于HTTPS的五大误区
    Posted on 2020-02-02 01:10
  • 为什么要测量尾部延迟
    Posted on 2020-09-18 10:34
  • Git五分钟教程
    Posted on 2019-11-18 22:24