Server/ntpd
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
¥È¥Ã¥×
¿·µ¬
°ìÍ÷
¸¡º÷
¥Ø¥ë¥×
³«»Ï¹Ô:
#contents
*¤Ï¤¸¤á¤Ë [#kcf33ec3]
µ×¤·¤Ö¤ê¤ÎÄɵ¤Ç¤¹^^;~
ºÇ¶á¡¢VineLinux4.0¤¬¸ø³«¤µ¤ì¤¿¤Î¤Ë¹ç¤ï¤»¤Æ¡¢VMWare¤òƳÆþ...
°ìÂ椷¤«¥Ñ¥½¥³¥ó¤¬Ìµ¤¤¤Î¤Ç¡¢Windows¾å¤Ç¶¦Â¸¤µ¤»¤ë¤³¤È¤¬¤Ç...
*¥¤¥ó¥¹¥È¡¼¥ë [#d865d0d7]
¤ª¼ê·Úapt¤ËÍê¤ê¤Þ¤·¤ç¤¦^^;
# apt-get update
# apt-get install ntp
*ÀßÄê [#tf7bfb6e]
**ÀßÄê¤Î¥Ð¥Ã¥¯¥¢¥Ã¥× [#yf1b3014]
# cp -p /etc/ntp.conf /etc/ntp.conf.org
**''/etc/ntp.conf''¤ÎÊÔ½¸ [#a08e98ae]
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.168.81.0 mask 255.255.255.0
#fudge 127.127.1.0 stratum 3
#server 127.127.1.0
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
ºÇ½é¤«¤éµ½Ò¤µ¤ì¤Æ¤¤¤ë'''fudge'''¤È'''server'''¤ò'''#'''...
'''server'''¤Î¹Ô¤Ë¡¢Æ±´üÀè¤Întp¥µ¡¼¥Ð¤ò»ØÄꤷ¤Þ¤¹¡£~
*µ¯Æ° [#b4f2e456]
**½àÈ÷ [#r00dce82]
µ¯Æ°¤ÎÁ°¤Ë¡¢»þ¹ï¤Î¶¯À©Æ±´ü¤ò¹Ô¤¤¤Þ¤¹¡£
# /usr/sbin/ntpdate -b ntp1.jst.mfeed.ad.jp
µ¯Æ°»þ¤Ë¥µ¡¼¥Ó¥¹³«»Ï
# /sbin/chkconfig ntpd on
**µ¯Æ° [#f4567d27]
# /sbin/service ntpd start
**Æ°ºî³Îǧ [#w631bad4]
# /usr/sbin ntpq -p
Àè¤Û¤É'''server'''¤ËÄɲä·¤¿¥Û¥¹¥È¤¬¡¢¥ê¥¹¥È¤Ëɽ¼¨¤µ¤ì¤ì...
*»²¹Í [#r84f54aa]
-http://linux.shoukun.com/Vine/ntp.htm
RIGHT:2006-12-02 (ÅÚ) 21:22:31
----
[[²È¥µ¡¼¥Ð´ÉÍýÄ¢]]
½ªÎ»¹Ô:
#contents
*¤Ï¤¸¤á¤Ë [#kcf33ec3]
µ×¤·¤Ö¤ê¤ÎÄɵ¤Ç¤¹^^;~
ºÇ¶á¡¢VineLinux4.0¤¬¸ø³«¤µ¤ì¤¿¤Î¤Ë¹ç¤ï¤»¤Æ¡¢VMWare¤òƳÆþ...
°ìÂ椷¤«¥Ñ¥½¥³¥ó¤¬Ìµ¤¤¤Î¤Ç¡¢Windows¾å¤Ç¶¦Â¸¤µ¤»¤ë¤³¤È¤¬¤Ç...
*¥¤¥ó¥¹¥È¡¼¥ë [#d865d0d7]
¤ª¼ê·Úapt¤ËÍê¤ê¤Þ¤·¤ç¤¦^^;
# apt-get update
# apt-get install ntp
*ÀßÄê [#tf7bfb6e]
**ÀßÄê¤Î¥Ð¥Ã¥¯¥¢¥Ã¥× [#yf1b3014]
# cp -p /etc/ntp.conf /etc/ntp.conf.org
**''/etc/ntp.conf''¤ÎÊÔ½¸ [#a08e98ae]
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.168.81.0 mask 255.255.255.0
#fudge 127.127.1.0 stratum 3
#server 127.127.1.0
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
ºÇ½é¤«¤éµ½Ò¤µ¤ì¤Æ¤¤¤ë'''fudge'''¤È'''server'''¤ò'''#'''...
'''server'''¤Î¹Ô¤Ë¡¢Æ±´üÀè¤Întp¥µ¡¼¥Ð¤ò»ØÄꤷ¤Þ¤¹¡£~
*µ¯Æ° [#b4f2e456]
**½àÈ÷ [#r00dce82]
µ¯Æ°¤ÎÁ°¤Ë¡¢»þ¹ï¤Î¶¯À©Æ±´ü¤ò¹Ô¤¤¤Þ¤¹¡£
# /usr/sbin/ntpdate -b ntp1.jst.mfeed.ad.jp
µ¯Æ°»þ¤Ë¥µ¡¼¥Ó¥¹³«»Ï
# /sbin/chkconfig ntpd on
**µ¯Æ° [#f4567d27]
# /sbin/service ntpd start
**Æ°ºî³Îǧ [#w631bad4]
# /usr/sbin ntpq -p
Àè¤Û¤É'''server'''¤ËÄɲä·¤¿¥Û¥¹¥È¤¬¡¢¥ê¥¹¥È¤Ëɽ¼¨¤µ¤ì¤ì...
*»²¹Í [#r84f54aa]
-http://linux.shoukun.com/Vine/ntp.htm
RIGHT:2006-12-02 (ÅÚ) 21:22:31
----
[[²È¥µ¡¼¥Ð´ÉÍýÄ¢]]
¥Ú¡¼¥¸Ì¾: