Thursday, 2 April 2015

Setting NTP SErver di Debian

Posted By: Rufaidah-network - 20:02

Share

& Comment

root@rufaidah:~# aptitude -y install ntp

root@rufaidah:~# vi /etc/ntp.conf

# line 21: make it comment
# server 0.debian.pool.ntp.org iburst
# server 1.debian.pool.ntp.org iburst
# server 2.debian.pool.ntp.org iburst
# server 3.debian.pool.ntp.org iburst
# change servers for synchronization
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp

# line 48: add the network range you allow to receive requests
restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap

root@rufaidah:~# /etc/init.d/ntp restart
[ ok ] Stopping NTP server: ntpd.
[ ok ] Starting NTP server: ntpd.

root@rufaidah:~# ntpq -p # check working
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp1.jst.mfeed. 172.29.3.50      2 u   27   64    1   18.466   -0.379   0.000
 ntp2.jst.mfeed. 172.29.2.50      2 u   26   64    1   18.773    0.316   0.000
 ntp3.jst.mfeed. 172.29.3.50      2 u   25   64    1   20.092   -2.592   0.000

About Rufaidah-network

Techism is an online Publication that complies Bizarre, Odd, Strange, Out of box facts about the stuff going around in the world which you may find hard to believe and understand. The Main Purpose of this site is to bring reality with a taste of entertainment

0 komentar:

Post a Comment

Copyright © Pembelajaran IT ™ is a registered trademark.

Designed by Templateism. Hosted on Blogger Platform.