1、查看时间时区
date
2、修改时区
timedatectl set-timezone Asia/Shanghai # 设置系统时区为上海
3、安装ntp 联网校准时间
yum install ntp
ntpdate ntp1.aliyun.com #联网(阿里时间服务器)校准时间
centos7设置时间
原文:https://www.cnblogs.com/shenyixin/p/11848056.html