CentOS7修改时区
修改命令
root@bogon bin]# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
查看时区
[root@bogon bin]# ls -l /etc/localtime lrwxrwxrwx. 1 root root 33 Apr 17 14:19 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
查看当前时间
[root@bogon bin]# date
Tue Apr 17 14:19:49 CST 2018