Centos7修改系统时区
timedatectl status
Local time: 四 2014-12-25 10:52:10 CST
Universal time: 四 2014-12-25 02:52:10 UTC
RTC time: 四 2014-12-25 02:52:10
Timezone: Asia/Shanghai (CST, +0800)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
设置时区的俩种方式:
方式一:
timedatectl set-timezone Asia/Shanghai
方式二:
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
设置时钟自动同步
yum -y install ntpdate
ntpdate time.windows.com
https://www.cnblogs.com/yyxianren/p/10677259.html