NTP: Setup NTP Server Lokal

From OnnoWiki
Revision as of 15:14, 17 June 2011 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Instalasi NTP seperti biasa. Kemudian, edit

vi /etc/ntp.conf

Tambahkan

server 127.127.1.1
fudge 127.127.1.1 stratum 8 refid NIST
restrict default notrust nomodify
restrict 127.127.0.0 mask 255.255.0.0 nomodify
driftfile       /var/lib/ntp/drift
broadcastdelay  0.008
keys            /etc/ntp/keys

Restart

/etc/init.d/ntp restart

Check Menggunakan

watch ntpq -c lpee


Referensi

Pranala Menarik