Jump to content
Sign in to follow this  
TRUNASUCI

Ntp Client

Recommended Posts

Aku penah diajukan soalan2 pasal masalah time yg tak seragam pada server.. mungkin pada sesetengah org, mende nih remeh, tapi kalau critical server yg melibatkan database dan ada beberapa server dilocation jauh, memerlukan masa yg tepat, maka setting time+date yg tepat amat penting..

lagi satu, kalau bateri BIOS dah keok dan kedekut serta malas nak pi beli, pun boleh gak.. nih aku setkan kat FreeBSD 4.11/5.4

[root@gentleimpact]# ntpdate time.nuri.net

21 Dec 03:41:24 ntpdate[5807]: step time server 211.115.194.21 offset 2.645820 sec

[root@gentleimpact]#

jadi system akan membetulkan time mengikut time server...untuk aktifkan ntpdate masa boot, tambahkan line nih kat /etc/rc.conf

ntpdate_flags="time.nuri.net"

ntpdate_enable="YES"

ntpdate_program="/usr/sbin/ntpdate"

server time.nuri.net nih ada klat korea, korang boleh gak try server lain mcm asia.pool.ntp.org dan lain2

seeloknya untuk server setkan crontab setiap sejam sekali runkan command nih smile.gif

TQ

Edited by TRUNASUCI

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...