Linux 在CentOS 6.6中更新到亚洲/德黑兰后,时区不变

Linux 在CentOS 6.6中更新到亚洲/德黑兰后,时区不变,linux,date,time,centos,Linux,Date,Time,Centos,我已使用以下命令更改服务器时区: cp /etc/localtime /root/old.timezone rm /etc/localtime ln -s /usr/share/zoneinfo/Asia/Tehran /etc/localtime 但当我检查服务器时区时,它会显示: $ date --------- Wed Apr 22 08:15:03 UTC 2015 这是错误的 另外/etc/localtime out put是: TZif2UTCTZif2UTC UTC0 如何

我已使用以下命令更改服务器时区:

cp /etc/localtime /root/old.timezone
rm /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Tehran /etc/localtime
但当我检查服务器时区时,它会显示:

$ date
---------

Wed Apr 22 08:15:03 UTC 2015
这是错误的

另外/etc/localtime out put是:

TZif2UTCTZif2UTC
UTC0
如何更改服务器时区

OS : CentOS

Version : 6.6

我有一个CentOS 6.6,我做了如下操作

# mv localtime localtime.old
# date
Thu Apr 23 13:14:36 UTC 2015

# ln -s /usr/share/zoneinfo/Asia/Tehran /etc/localtime

# ll localtime
lrwxrwxrwx. 1 root root 31 Apr 23 17:45 localtime -> /usr/share/zoneinfo/Asia/Tehran

# date
Thu Apr 23 17:45:36 IRDT 2015
正如您所看到的,它确实对我有效,我用root用户做了所有这些更改