跳到主要内容

Time

timezone

date -R
systemctl set-timezone Asia/Shanghai
systemctl status
clock -w

chrony

# SERVER
# yum install -y chrony
systemctl enable --now chronyd
vim /etc/chrony.conf
server ntp.aliyun.com iburst
allow 0.0.0.0/0
local startum 10
systemctl restart chronyd
# chronyc makestep

chronyc sources -v