{"id":54,"date":"2007-11-12T15:38:23","date_gmt":"2007-11-12T06:38:23","guid":{"rendered":"http:\/\/www.kaz.bz\/wp\/2007-11-12_192\/"},"modified":"2010-10-25T14:09:29","modified_gmt":"2010-10-25T05:09:29","slug":"ntp%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/wp.kaz.bz\/tech\/2007\/11\/12\/54.html","title":{"rendered":"NTP\u306e\u8a2d\u5b9a"},"content":{"rendered":"<p>\u25a0\u30b5\u30fc\u30d0\u306e\u6642\u523b\u5408\u308f\u305b\u306b\u3064\u3044\u3066<\/p>\n<p>\u30b5\u30fc\u30d0\u306e\u6642\u8a08\u306e\u6642\u523b\u5408\u308f\u305b\u306b\u306fNTP\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\nNTP\u306b\u306f\u4e3b\u306b<\/p>\n<p>\u30fb\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306b\u77ac\u9593\u7684\u306b\u6642\u523b\u3092\u5408\u308f\u305b\u308b\u300cntpdate\u300d\u30b3\u30de\u30f3\u30c9<br \/>\n\u30fb\u5e38\u99d0\u7684\u306b\u6642\u523b\u63d0\u4f9b\u30b5\u30fc\u30d0\uff08NTP\u30b5\u30fc\u30d0\uff09\u306b\u6642\u523b\u3092\u540c\u671f\u3057\u7d9a\u3051\u308b\u300cntpd\u300d\u30c7\u30fc\u30e2\u30f3\uff08\u30b5\u30fc\u30d3\u30b9\uff09<\/p>\n<p>\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\nNTP\u30c7\u30fc\u30e2\u30f3\u306f\u5f90\u3005\u306b\u540c\u671f\u3092\u3068\u3063\u3066\u3044\u304f\u4ed5\u7d44\u307f\u306e\u305f\u3081\u3001\u5927\u5e45\u306b\u6642\u523b\u304c\u305a\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d0\u306e\u6642\u523b\u5408\u308f\u305b\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u4e8b\u524d\u306bntpdate\u30b3\u30de\u30f3\u30c9\u3067\u5408\u308f\u305b\u3066\u304b\u3089\u3001\u30c7\u30fc\u30e2\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u25a0ntpdate\u30b3\u30de\u30f3\u30c9<\/p>\n<pre class=\"brush:bash\">ntpdate NTP\u30b5\u30fc\u30d0\u540d<\/pre>\n<p>\u4f8b\uff09ntpdate xxx.xxx.xxx.xxx<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u6642\u70b9\u306eNTP\u30b5\u30fc\u30d0\u6642\u523b\u306b\u5408\u308f\u305b\u307e\u3059\u3002<\/p>\n<p>\u203b\u65e2\u306bntpd\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u3057\u3066\u3057\u307e\u3046\u305f\u3081ntpd\u3092\u505c\u6b62\u3057\u3066\u304b\u3089\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u25a0ntpd\u30c7\u30fc\u30e2\u30f3<\/p>\n<p>\/etc\/ntp.conf \u306b\u540c\u671f\u3059\u308b\u30b5\u30fc\u30d0\u306b\u3064\u3044\u3066\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush:text\">\r\nrestrict xxx.xxx.xxx.xxx mask 255.255.255.255 nomodify notrap noquery\r\nrestrict yyy.yyy.yyy.yyy mask 255.255.255.255 nomodify notrap noquery\r\n\r\nserver xxx.xxx.xxx.xxx\r\nserver yyy.yyy.yyy.yyy\r\n<\/pre>\n<p>\u305d\u306e\u5f8c\u3001<\/p>\n<pre class=\"brush:bash\">service ntpd start<\/pre>\n<p>\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u518d\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush:bash\">chkconfig --level 2345 ntpd on<\/pre>\n<p>OR<\/p>\n<pre class=\"brush:bash\">chkconfig --level ntpd on<\/pre>\n<p>\u30c7\u30fc\u30e2\u30f3\u8d77\u52d5\u5f8c\u3001\u3057\u3070\u3089\u304f\u3057\u3066\u540c\u671f\u304c\u53d6\u308c\u305f\u9803\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u540c\u671f\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush:bash\">ntpq -p<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u51fa\u3066\u304f\u308c\u3070\u6b63\u5e38\u306b\u540c\u671f\u304c\u53d6\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u898b\u65b9\uff09\u2192<br \/>\n<a href=\"http:\/\/network.station.ez-net.jp\/special\/ntp\/appendix\/A-1.asp\" class=\"ext-link\" rel=\"external nofollow\" target=\"_blank\">http:\/\/network.station.ez-net.jp\/special\/ntp\/appendix\/A-1.asp <\/a><br \/>\n<a href=\"http:\/\/www.oiden.net\/Flets\/bangai02\/ntpq_output\" class=\"ext-link\" rel=\"external nofollow\" target=\"_blank\">http:\/\/www.oiden.net\/Flets\/bangai02\/ntpq_output<\/a><\/p>\n<pre class=\"brush:text\">\r\n     remote           refid      st t when poll reach   delay   offset  jitter\r\n==============================================================================\r\n LOCAL(0)        LOCAL(0)        10 l   46   64  377    0.000    0.000   0.008\r\n*xxx.xxx.xxx.xxx ntp1.jst.mfeed.  3 u  626 1024  377    0.229    0.166   0.446\r\n+yyy.yyy.yyy.yyy ntp3.jst.mfeed.  3 u  713 1024  377    0.261    0.343   0.371\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0\u30b5\u30fc\u30d0\u306e\u6642\u523b\u5408\u308f\u305b\u306b\u3064\u3044\u3066 \u30b5\u30fc\u30d0\u306e\u6642\u8a08\u306e\u6642\u523b\u5408\u308f\u305b\u306b\u306fNTP\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3057\u307e\u3059\u3002 NTP\u306b\u306f\u4e3b\u306b \u30fb\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306b\u77ac\u9593\u7684\u306b\u6642\u523b\u3092\u5408\u308f\u305b\u308b\u300cntpdate\u300d\u30b3\u30de\u30f3\u30c9 \u30fb\u5e38\u99d0\u7684\u306b\u6642\u523b\u63d0\u4f9b\u30b5\u30fc\u30d0\uff08NTP\u30b5\u30fc\u30d0\uff09\u306b\u6642 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[29],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-ntp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":921,"url":"https:\/\/wp.kaz.bz\/tech\/2011\/08\/08\/921.html","url_meta":{"origin":54,"position":0},"title":"ProxmoxVE\u306eVE\u3067UT-VPN\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u306e\u63a5\u7d9a\u306e\u307f\u306eVE\u3092\u4f5c\u308b","author":"kaz. Suenaga","date":"2011\/08\/08","format":false,"excerpt":"ProxmoxVE\u306eOpenVZ\u30b3\u30f3\u30c6\u30ca\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3064\u3044\u3066\u3002 \u306e\u7d9a\u304d\u3002 \u8ab2\u984c ProxmoxVE\u2026","rel":"","context":"PacketiX VPN \/ UT-VPN","block_context":{"text":"PacketiX VPN \/ UT-VPN","link":"https:\/\/wp.kaz.bz\/tech\/category\/security\/packetix-vpn-ut-vpn"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1606,"url":"https:\/\/wp.kaz.bz\/tech\/2013\/04\/15\/1606.html","url_meta":{"origin":54,"position":1},"title":"DNS\u30b5\u30fc\u30d0\u306e\u5909\u66f4\u306e\u969b\u306e\u624b\u9806\u3002","author":"kaz. Suenaga","date":"2013\/04\/15","format":false,"excerpt":"\u3044\u308f\u3086\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u3001\u3042\u308b\u30c9\u30e1\u30a4\u30f3\u540d\u306eDNS\u30b5\u30fc\u30d0\u3092\u5225\u306e\u30b5\u30fc\u30d0\u306b\u5909\u66f4\uff08\u79fb\u884c\uff09\u3059\u308b\u969b\u306e\u6ce8\u610f\u4e8b\u9805\u3084\u3089\u2026","rel":"","context":"\u30c9\u30e1\u30a4\u30f3\u30fbDNS","block_context":{"text":"\u30c9\u30e1\u30a4\u30f3\u30fbDNS","link":"https:\/\/wp.kaz.bz\/tech\/category\/internet\/domain_dns"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1335,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/08\/09\/1335.html","url_meta":{"origin":54,"position":2},"title":"ProxmoxVE\u306e\u7ba1\u7406\u753b\u9762\u3067AD\u8a8d\u8a3c\u3092\u5229\u7528\u3059\u308b\u3002","author":"kaz. Suenaga","date":"2012\/08\/09","format":false,"excerpt":"Ver.2.0\u4ee5\u964d\u306e\u3064\u3082\u308a\u3067\u3059\u3002 \u307e\u305a\u3001\u7ba1\u7406\u753b\u9762\u306b\u5165\u308a\u3001\u5de6\u306e\u30c4\u30ea\u30fc\u3067\u300c\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u2026","rel":"","context":"Proxmox VE","block_context":{"text":"Proxmox VE","link":"https:\/\/wp.kaz.bz\/tech\/category\/virtualization\/proxmoxve"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/s3.kaz.bz\/tech\/wp-content\/uploads\/2012\/08\/proxmoxve-ad-auth-300x94.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":992,"url":"https:\/\/wp.kaz.bz\/tech\/2011\/09\/15\/992.html","url_meta":{"origin":54,"position":3},"title":"FAX\u3092PDF\u53d7\u4fe1\u3057\u3066\u3044\u308b\u74b0\u5883\u3067\u306e\u81ea\u52d5\u5370\u5237\u3002","author":"kaz. Suenaga","date":"2011\/09\/15","format":false,"excerpt":"\u305d\u3093\u306a\u76f8\u8ac7\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 Windows\u74b0\u5883\u3067\u3059\u3002 \u73fe\u72b6\u3001FAX\u3092PDF\u53d7\u4fe1\u3057\u3066\u3044\u308b\uff08\u7d19\u51fa\u529b\u305b\u305a\u2026","rel":"","context":"Desktop","block_context":{"text":"Desktop","link":"https:\/\/wp.kaz.bz\/tech\/category\/windows\/desktop"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1212,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/07\/20\/1212.html","url_meta":{"origin":54,"position":4},"title":"\u30e1\u30fc\u30e9\u30fc\u304c\u306a\u304f\u3066\u3082 telnet \u3067\u30e1\u30fc\u30eb\u3092\u9001\u308b\u65b9\u6cd5\u3002","author":"kaz. Suenaga","date":"2012\/07\/20","format":false,"excerpt":"\u534a\u5206\u30cd\u30bf\u3060\u3051\u3069\u7d50\u69cb\u5927\u4e8b\u3060\u3068\u601d\u3046\u3053\u306e\u624b\u306e\u304a\u8a71\u3002 \u4efb\u610f\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff08\u4f8b\uff1a info@example.\u2026","rel":"","context":"\u30b3\u30de\u30f3\u30c9\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9","block_context":{"text":"\u30b3\u30de\u30f3\u30c9\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9","link":"https:\/\/wp.kaz.bz\/tech\/category\/cmdref"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1725,"url":"https:\/\/wp.kaz.bz\/tech\/2013\/07\/26\/1725.html","url_meta":{"origin":54,"position":5},"title":"CentOS6\u7cfb\u3067SSH\u516c\u958b\u9375\u8a8d\u8a3c\u3092LDAP\u8a8d\u8a3c\u306b\u3059\u308b\u65b9\u6cd5\u3002","author":"kaz. Suenaga","date":"2013\/07\/26","format":false,"excerpt":"SSH\uff08CentOS\u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u306eOpenSSH\uff09\u306e\u516c\u958b\u9375\u8a8d\u8a3c\u3067LDAP\u8a8d\u8a3c\u3092\u5229\u7528\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u2026","rel":"","context":"CentOS","block_context":{"text":"CentOS","link":"https:\/\/wp.kaz.bz\/tech\/category\/lin\/centos"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}