centos7修改时区

在 CentOS 7 中, 引入了一个叫 timedatectl 的设置设置程序

timedatectl # 查看系统时间方面的各种状态

从更底层出发的话, 修改时间时区比想象中要简单:

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

原文地址:https://www.cnblogs.com/taoge007/p/7018699.html