Merubah timezone, date, and time

In /etc the file, localtime, is a link to or copy of a file containing information about your time zone. Zone information files are usually in /usr/share/zoneinfo but this depends on your distribution. So if your localtime file points to a zone info file that is not your time zone you can change it by browsing the directories in /usr/share/zoneinfo to find your country, then find your city or a city in the same time zone and link localtime to it.

    # ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

Some applications may use the configuration file /etc/sysconfig/clock to determine the current time zone so it's a good idea to set the ZONE entry (e.g. "Asia/Jakarta").

Was this answer helpful?

 Print this Article

Also Read

Menggunakan tar, gzip dan bzip2

Berikut ini adalah cara menggunakan program tar, gzip, dan bzip2 untuk membuat arsip terkompresi....

Web Server HTTPS : Secure HTTP Protocol pada CentOS

Pada beberapa halaman web kita sering menemukan alamat yang menggunakan “https://”...

Upgrade PHP 5.1 ke 5.2 di Centos

Summary   This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x...

MySQL Tutorial - Import or Export A Database

This tutorial outlines the steps for importing and exporting MySQL databases via command line...

Membangun Web Server Centos (LAMP)

LAMP adalah singkatan Linux,  Apache, MySQL, PHP. Tutorial ini menunjukkan bagaimana Anda...