Server NTP menggunakan solaris, dengan ip 192.168.1.20. Sedangkan client menggunakan linux (Red Hat Linux release 9 (Shrike)). Yang saya bahas disini disisi client.
1. masukan ip server ntp ke ntp konfigurasi client
root # vi /etc/ntp.conf
--------truncated --------
dibaris paling bawah masukan ip ntp server
server 192.168.1.20
2. restart service ntp
root # service ntpd restart
ntpd: Removing firewall opening for NTP-server port 123 [ OK ]
Shutting down ntpd: [ OK ]
3. check hasil
root# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) LOCAL(0) 10 l 63 64 377 0.000 0.000 0.008
192.168.1.20 0.0.0.0 16 u - 512 0 0.000 0.000 4000.00
root# date
Tue Feb 2 15:28:15 WIT 2010
4. Kalau tidak update, gunakan command berikut
root # ntpdate -u 192.168.1.20
Read More..
Tuesday, February 02, 2010
Subscribe to:
Posts (Atom)