1.安装chrony服务
dnf install chrony
2.配置chrony服务
vim /etc/chrony.conf
# 指定NTP服务器地址
server 114.114.114.114 iburst
3.启动服务
systemctl start chronyd
systemctl enable chronyd
4.验证配置
chronyc tracking
dnf install chrony
vim /etc/chrony.conf
# 指定NTP服务器地址
server 114.114.114.114 iburst
systemctl start chronyd
systemctl enable chronyd
chronyc tracking