linux时间同步简单配置如下(centos7.x):

  1. 安装时间服务器(系统一般会自带):

yum install ntp ntpdate -y

  1. 时间服务器临时配置(重启该配置失效):

ntpdate 192.133.203.89(时间服务器ip)

  1. 时间服务器配置:

vim /etc/chrony.conf
进入vim编辑页面:输入i进入编辑模式,输入server 192.133.203.89 iburst
linux同步时间服务器时间配置

  1. 按下键盘Esc退出编辑模式,输入:wq保存并退出编辑.
  2. 启动时间服务配置生效:

systemctl start ntpd

to be continue...

相关文章:

  • 2021-12-22
  • 2022-01-09
  • 2021-08-12
  • 2022-12-23
  • 2021-07-18
  • 2021-12-23
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-12-09
  • 2021-09-21
  • 2021-11-27
  • 2021-07-03
相关资源
相似解决方案