`
lzj0470
  • 浏览: 1246450 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

linux 时区设置

 
阅读更多
tzselect命令只告诉你选择的时区的 写法,并不会生效。所以现在它还是东8区北京时间。

root@new55 ~]# date -R
Mon, 06 Dec 2010 10:46:11 +0800


示例三 通过更改配置文件来修改时区

[root@new55 ~]# cat /etc/sysconfig/clock
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Shanghai"
UTC=true
ARC=false


ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics