配置chrony

$ yum install -y chrony
$ cat > /etc/chrony.conf <<EOF
server 127.0.0.1 iburst
local stratum 10
EOF

启动

$ systemctl enable chronyd --now

手动同步

timedatectl set-ntp true
Copyright © weiliang 2021 all right reserved,powered by Gitbook本书发布时间: 2024-04-22 16:03:41

results matching ""

    No results matching ""