How to setup/configure timezone in centos
Many times we need to change the timezone, as per our requirement. Most of OS images (centos, debian, ubuntu) doesn't comes with the proper timezone. I'm discussing one of the way to change the time on centos operating system below.
[root@localhost ~]# system-config-date
The above command will open up a GUI interface to change the date and timezone.
Date and timezone can be changed as per the requirement. Here, i have select IST timezone.
Verify new timezone and date
[root@localhost ~]# date Sun Dec 23 00:48:18 IST 2012 [root@localhost ~]#
The changes take place successfully.