Difference between revisions of "NTP: Setup NTP Server Lokal"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: * Instalasi NTP Edit vi /etc/ntp.conf Tambahkan server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift broadca...) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Instalasi NTP]] seperti biasa. Kemudian, edit | |
− | |||
− | |||
vi /etc/ntp.conf | vi /etc/ntp.conf | ||
Line 7: | Line 5: | ||
Tambahkan | Tambahkan | ||
− | server | + | server 127.127.1.1 |
− | fudge | + | 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 | driftfile /var/lib/ntp/drift | ||
broadcastdelay 0.008 | broadcastdelay 0.008 | ||
Line 16: | Line 16: | ||
/etc/init.d/ntp restart | /etc/init.d/ntp restart | ||
+ | |||
+ | ==Check Menggunakan== | ||
+ | |||
+ | Gunakan perintah | ||
+ | |||
+ | watch ntpq -c lpee | ||
+ | |||
+ | akan tampak pada layar | ||
+ | |||
+ | remote refid st t when poll reach delay offset jitter | ||
+ | ============================================================================== | ||
+ | 192.168.0.255 .BCST. 16 u - 64 0 0.000 0.000 0.002 | ||
+ | *LOCAL(1) .NIST. 8 l 62 64 377 0.000 0.000 0.002 | ||
==Referensi== | ==Referensi== | ||
* http://www.brennan.id.au/09-Network_Time_Protocol.html | * http://www.brennan.id.au/09-Network_Time_Protocol.html | ||
+ | * http://ubuntuforums.org/showthread.php?t=579418 | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
Line 32: | Line 46: | ||
* [[NTP: Set waktu mengunakan ntpdate]] | * [[NTP: Set waktu mengunakan ntpdate]] | ||
* [[NTP: Setup NTP Server Lokal]] | * [[NTP: Setup NTP Server Lokal]] | ||
+ | * [[Waktu date menggunakan command line]] |
Latest revision as of 14:59, 11 March 2012
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
Gunakan perintah
watch ntpq -c lpee
akan tampak pada layar
remote refid st t when poll reach delay offset jitter ============================================================================== 192.168.0.255 .BCST. 16 u - 64 0 0.000 0.000 0.002 *LOCAL(1) .NIST. 8 l 62 64 377 0.000 0.000 0.002
Referensi
- http://www.brennan.id.au/09-Network_Time_Protocol.html
- http://ubuntuforums.org/showthread.php?t=579418