CentOS 8时间同步
coderzhouyu2021-07-22 14:40linuxcentos8
1. 打开文件
vim /etc/chrony.conf
2. 添加时间服务器
server ntp.aliyun.com iburst
3. 重新加载配置
systemctl restart chronyd.service
4. 执行时间同步
chronyc sources -v
vim /etc/chrony.conf
server ntp.aliyun.com iburst
systemctl restart chronyd.service
chronyc sources -v