Steps:
1. Log in to the Control Station as root.
2. To verify the current environment, type:
# date
Output:
Wed Aug 8 16:22:54 IST 2012
3. Display information about the current time zone of the Control Station by typing:
# ls -la /etc/localtime
Output:
lrwxrwxrwx 1 root root 32 Aug 7 22:48 /etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata
4. Set the hardware clock to the current time zone of the Control Station by typing:
# vi /etc/sysconfig/clock
When the file opens, type:
ZONE=”America/New_York”
UTC=false
ARC=false
5. Save the file and exit.
6. Change the current time zone, New York, to Asia/Kolkata, by typing:
# /usr/bin/perl /nas/http/webui/bin/timezone.pl -s Asia/Kolkata
Note: A list of valid Linux time zones is located in the /usr/share/zoneinfo directory.
7. To verify the current environment, type:
# date
Output:
Wed Aug 8 16:22:54 IST 2012
8. Display information about the current time zone of the Control Station by typing:
# ls -la /etc/localtime
Output:
llrwxrwxrwx 1 root root 32 Aug 7 22:48 /etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata
9. Set the hardware clock to the current time zone of the Control Station by typing:
# vi /etc/sysconfig/clock
When the file opens, type:
ZONE=”Asia/Kolkata”
UTC=false
ARC=false
10. Save the file and exit.
11. The time zone of the Control Station is changed to the new location specified in step 6.