Difference between revisions of "Instalasi NTP"

From OnnoWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
  # /etc/init.d/ntp restart
 
  # /etc/init.d/ntp restart
  
 +
 +
 +
 +
==Broadcast Waktu NTP di Subnet==
 +
 +
Jika anda ingin membroadcast waktu di sebuah Subnet, anda dapat mengedit file konfigurasi NTP
 +
 +
# vi /etc/ntp.conf
 +
 +
Masukan broadcast address subnet yang anda inginkan, misalnya 192.168.0.255
 +
 +
broadcast 192.168.0.255
  
  

Revision as of 17:39, 1 May 2008

Instal NTP

# apt-get install ntp

Edit ntp.conf

# vi /etc/ntp.conf

Pastikan ada

server ntp.ubuntu.com
server pool.ntp.org
server time.nist.gov

Restart server

# /etc/init.d/ntp restart



Broadcast Waktu NTP di Subnet

Jika anda ingin membroadcast waktu di sebuah Subnet, anda dapat mengedit file konfigurasi NTP

# vi /etc/ntp.conf

Masukan broadcast address subnet yang anda inginkan, misalnya 192.168.0.255

broadcast 192.168.0.255


Pranala Menarik