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
 

posted @ 2021-09-17 09:44  beawh  阅读(90)  评论(0编辑  收藏  举报