Centos6 update time is network time
1 、 vi / etc/sysconfig/clock
ZONE= "Asia/Shanghai"
# the modification time is Shanghai time zone
2. Yum-y install ntp ntpdate installs ntp service
3. Ntpdate cn.pool.ntp.org update time
4. Date to check whether it is updated to Shanghai network time.