UTC Time: Coordinated Universal Time (UTC) is the main time standard used by different countries around the world to regulate clocks and time.
:也就是零时区的时间
CST time: Central Standard
Time (USA) UT-6:00 (US cst time: zero zone minus 6 hours)
I encountered this problem this morning and didn’t react for a while;
Ado. Talent
1. yum -y install ntp install ntp
2.ntpdate cn.pool.ntp.org synchronize time
3. vi /etc/sysconfig/clock #Edit time configuration file
ZONE="Asia/Shanghai"
UTC=false #设置为false,硬件时钟不于utc时间一致
ARC=false
4.Set the time zone to Shanghai time zone
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
5.ntpdate cn.pool.ntp.org #Align time
6. Set the hardware time to be consistent with the system time and calibrate it
/sbin/hwclock --systohc
7. Restart the system to confirm;