Instalasi NTP

From OnnoCenterWiki
Jump to: navigation, search

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