Skip to content

emka.web.id

Menu
  • Home
  • Indeks Artikel
  • Tutorial
  • Tentang Kami
Menu

How to Create NTP Server with CentOS 7

Posted on April 29, 2015 by Syauqi Wiryahasana
Pada CentOS 7 Server yang kita miliki, silakan atur dulu time zone menyesuaikan letak geografis kita. Misal server ada di wilayah barat indonesia, silakan pilih dan atur ke Asia/Jakarta [sourcecode] # timedatectl list-timezones | grep Asia # timedatectl set-timezone Asia/Jakarta # timedatectl [/sourcecode] Kemudian install software ntp-server dengan YUM [sourcecode] yum install ntp [/sourcecode] Ubah pointer server sinkronisasi waktu NTP yang berlaku global, edit file /etc/ntp.conf [sourcecode] server 0.id.pool.ntp.org server 1.id.pool.ntp.org server 2.id.pool.ntp.org server 3.id.pool.ntp.org [/sourcecode] Lalu restart dan enable NTP dengan: [sourcecode] systemctl restart ntp systemctl enable ntp [/sourcecode] Untuk sekedar kroscek, silakan gunakan perintah ntpq -p untuk melihat tabel server dan waktu yang ada dan berlaku global.
Seedbacklink

Recent Posts

TENTANG EMKA.WEB>ID

EMKA.WEB.ID adalah blog seputar teknologi informasi, edukasi dan ke-NU-an yang hadir sejak tahun 2011. Kontak: kontak@emka.web.id.

©2024 emka.web.id Proudly powered by wpStatically