安装ntp服务时间同步软件 yum -y install ntp 然后开启服务: systemctl start ntpdsystemctl enable ntpd 与阿里云服务器同步时间: ntpdate ntp.aliyun.com 最后使用 date 验证即可