查看时间、时区信息

timedatectl

设置时区

timedatectl set-timezone Asia/Shanghai

使用 ntpdate 更新系统时间

ntpdate pool.ntp.org


启动自动校准时间服务

systemctl start ntpd