Centos8 更新系统时间

Centos8 更新系统时间

1
https://blog.csdn.net/qyhua/article/details/137863923

0. centos 8 因为 chrony 代替了 ntp

1. 安装 chrony

1
yum install chrony

2. 启动 chrony

1
2
systemctl start chronyd
systemctl enable chronyd

3. 同步时间

1
chronyc -a makestep

Leave a Reply