CentOS 6
Sponsored Link

Set System Timezone2013/01/18

  The example for setting time-zone of your system.
[root@dlp ~]#
vi /etc/sysconfig/clock
# change to your location

ZONE="
Asia/Tokyo
"
[root@dlp ~]#
source /etc/sysconfig/clock
# reload
# copy your timezone file under the "/usr/share/zoneinfo" like follows

[root@dlp ~]#
cp -p /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

cp: overwrite `/etc/localtime'?
y
Matched Content