时间服务器配置
centos9系统部署
1.服务端配置
查看是否有安装包
yum info chrony
2.使用yum安装
yum -y install chrony
3.配置文件
[root@time190 ~]# cat /etc/chrony.conf
#pool 2.centos.pool.ntp.org iburst
pool ntp1.aliyun.com iburst
pool ntp2.aliyun.com iburst
#此为指向的时间服务器网址。
sourcedir /run/chrony-dhcp
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync