1.软件下载
wget https://download.tuxfamily.org/chrony/chrony-4.0.tar.gz
2.编译安装
./configure
make
make install
3.配置默认配置文件
mv examples/chrony.conf.example1 /etc/chrony.conf
4.修改ntp服务器为阿里云服务器
ntp1.aliyun.com
ntp2.aliyun.com
ntp3.aliyun.com
ntp4.aliyun.com
ntp5.aliyun.com
ntp6.aliyun.com
ntp7.aliyun.com
4.启动
chronyd -4 -f /etc/chrony.conf -l -d
5.客户端检测(默认连接本地323端口)
chronyc
参考链接:https://chrony.tuxfamily.org/index.html



