Sinkronisasi waktu untuk dual boot: Perbedaan revisi
Dari IGNwiki
(←Membuat halaman berisi ' /etc/system~ig/clock # The time zone of the system is defined by the contents of /etc/localtime. # This file is only for evaluation by system-config-date, do not rely…') |
|||
(2 revisi antara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
+ | Komputer yang dipasang dual boot IGOS Nusantara dan Windows dapat | ||
+ | memiliki seting yg berbeda, sehingga jam tidak sesuai. | ||
− | + | Konfigurasi ada di /etc/sysconfig/clock, isinya: | |
# The time zone of the system is defined by the contents of /etc/localtime. | # The time zone of the system is defined by the contents of /etc/localtime. | ||
# This file is only for evaluation by system-config-date, do not rely on its | # This file is only for evaluation by system-config-date, do not rely on its | ||
Baris 6: | Baris 8: | ||
ZONE="Asia/Jakarta" | ZONE="Asia/Jakarta" | ||
UTC=false | UTC=false | ||
+ | |||
+ | Buat simbolik link | ||
+ | # ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime | ||
+ | |||
+ | Sesuaikan jam hardware | ||
+ | # /sbin/hwclock --systohc | ||
+ | |||
+ | Jika pakai --utc | ||
+ | # /sbin/hwclock --systohc --utc |
Revisi terkini pada 8 Oktober 2010 08.22
Komputer yang dipasang dual boot IGOS Nusantara dan Windows dapat memiliki seting yg berbeda, sehingga jam tidak sesuai.
Konfigurasi ada di /etc/sysconfig/clock, isinya:
# The time zone of the system is defined by the contents of /etc/localtime. # This file is only for evaluation by system-config-date, do not rely on its # contents elsewhere. ZONE="Asia/Jakarta" UTC=false
Buat simbolik link
# ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Sesuaikan jam hardware
# /sbin/hwclock --systohc
Jika pakai --utc
# /sbin/hwclock --systohc --utc