1、更新时区
timedatectl set-timezone Asia/Shanghai
timedatectl set-local-rtc 0
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2、使用ntpdate同步时间
如果没有,使用 yum install ntpdate -y 安装ntpdate
ntpdate cn.ntp.org.cn
3、
1、更新时区
timedatectl set-timezone Asia/Shanghai
timedatectl set-local-rtc 0
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2、使用ntpdate同步时间
如果没有,使用 yum install ntpdate -y 安装ntpdate
ntpdate cn.ntp.org.cn
3、