Here is the output of my date
command:
[root@r1304 ~]# date
Wed Apr 18 15:43:28 GST 2012
I want to change the default system timezone to Asia/Dubai. I've followed a tutorial and did this:
ln -sf /usr/share/zoneinfo/Asia/Dubai /etc/localtime
But with no effect. Seems that this is done differently in CentOS 6. How do I change the timezone?
Best Answer
It looks like that CentOS 6.2 doesn't have any hwclock line in it
/etc/rc.sysinit
, so changing/etc/sysconfig/clock
will not work.Try
tzselect
or useln -s /usr/share/zoneinfo/xxxx /etc/localtime