设置时区: timedatectl set-timezone Asia/Shanghai 同步时间 yum -y install ntp ntpdate ntpdate 0.asia.pool.ntp.org 把时间写入硬件 hwclock --systohc