4篇 阿里云 related articles

Ubuntu 用chrony同步时间

开始

这个软件包含两个命令集: chronyc 客户端 和 chronyd 守护进程. 安装chrony方法:

sudo apt install chrony

验证 chrony是否安装成功,并查看有多少个服务端及结点已连接:

$ chronyc activity
200 OK
8 sources online
0 sources offline
0 sources doing burst (return to online)
0 sources doing burst (return to offline)
0 sources with unknown address

配置 /etc/chrony/chrony.conf, 参考 https://chrony.tuxfamily.org/doc/3.5/chrony.conf.html

More ~