Merubah Timezone CentOS / Red Hat

Untuk mengetahui waktu dan timezone di server:

[root@lifebit ~] date 
Sun Feb 19 21:42:06 CST 2012

Dari contoh di atas terlihat bahwa server menggunakan timezone CST, atau Central Standard Time (GMT -6). Untuk merubah timezone menjadi Indonesia / Jakarta (GMT +7), execute perintah ini:

[root@lifebit ~] ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

Kalau kita lihat sekarang, waktu di server udah menggunakan timezone lokal Jakarta:

[root@lifebit ~] date Mon Feb 20 10:49:31 WIT 2012

Leave a Reply

Your email address will not be published. Required fields are marked *