Difference between revisions of "Instalasi NTP"

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Instal [[NTP]]
 
Instal [[NTP]]
  
  # apt-get install ntp
+
  apt-get install ntp
  
 
Edit ntp.conf
 
Edit ntp.conf
  
  # vi /etc/ntp.conf
+
  vi /etc/ntp.conf
  
 
Pastikan ada
 
Pastikan ada
Line 13: Line 13:
 
  server time.nist.gov
 
  server time.nist.gov
  
Restart server
+
==Restart server==
  
  # /etc/init.d/ntp restart
+
  /etc/init.d/ntp restart
  
  
 +
==Mengijinkan Akses & 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
 +
 +
restrict 192.168.0.0 mask 255.255.255.0
 +
broadcast 192.168.0.255
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 +
* [[NTP]]
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Instalasi NTP]]
 +
* [[NTP: Port 123]]
 +
* [[NTP: File ntp.conf]]
 +
* [[NTP: Tranparant Proxy untuk NTP]]
 +
* [[NTP: DNS Spoofing NTP]]
 +
* [[NTP: Set waktu mengunakan ntpdate]]
 +
* [[NTP: Setup NTP Server Lokal]]
 +
* [[Waktu date menggunakan command line]]

Latest revision as of 14:58, 11 March 2012

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


Mengijinkan Akses & 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

restrict 192.168.0.0 mask 255.255.255.0 
broadcast 192.168.0.255

Pranala Menarik