The Sky is not the limit

Entries tagged as ‘Time zone’

How to set time zone..?

January 18, 2008 · Leave a Comment

In Cpanel Servers you can set the system time according to your time zone. Follow the below mentioned steps for this.

1. Select the appropriate time zone from the /usr/share/zoneinfo directory. Time zone names are relative to that directory. (eg :- Pacific/Easter)

ls /usr/share/zoneinfo

2. Edit the /etc/sysconfig/clock text file so that it looks like this:

ZONE=”Pacific/Easter”
UTC=true
ARC=false
3. Move the following file: /etc/localtime to back

mv /etc/localtime /etc/localtime_bak

4. Create a new soft link for /etc/localtime.

ln -s /usr/share/zoneinfo/Pacific/Easter /etc/localtime

5. Set the Hardware clock by typing the following command

/sbin/hwclock –systohc

6. Verify the time by typing the command date.

Categories: cPanel
Tagged: , , ,