liunx修改时区,UTC 修改到CST

 [root@lzx1 ~]# date -R
Mon, 19 Jun 2017 14:45:05 +0000

 vim  /etc/profile
export  TZ='CST-8'
vim .bash_profile
export  TZ='CST-8'

source /etc/profile
 source  .bash_profile
 搞定 !!!
[root@lzx1 ~]# date
Mon Jun 19 15:57:41 CST 2017
[root@lzx1 ~]#
[root@lzx1 ~]# date  -R
Mon, 19 Jun 2017 15:57:43 +0800
 

原文地址:https://www.cnblogs.com/vzhangxk/p/15303330.html