{"id":1064,"date":"2009-08-11T04:59:22","date_gmt":"2009-08-10T19:59:22","guid":{"rendered":"http:\/\/doodlenote.net\/?p=1064"},"modified":"2009-08-11T04:59:22","modified_gmt":"2009-08-10T19:59:22","slug":"ubuntu%e3%81%a7ntp","status":"publish","type":"post","link":"https:\/\/doodlenote.net\/?p=1064","title":{"rendered":"ubuntu\u3067ntp"},"content":{"rendered":"<p>apt-get\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067ntp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p><\/p>\n<p>sudo apt-get install ntp<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059&#8230; \u5b8c\u4e86<br \/>\n\u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059<br \/>\n\u72b6\u614b\u60c5\u5831\u3092\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059&#8230; \u5b8c\u4e86<br \/>\n\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u81ea\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u3082\u3046\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u305b\u3093:<br \/>\n  libbeecrypt6 python-libxml2 python-celementtree librpm4.4 python-rpm rpm python-elementtree python-urlgrabber<br \/>\n\u3053\u308c\u3089\u3092\u524a\u9664\u3059\u308b\u306b\u306f &#8216;apt-get autoremove&#8217; \u3092\u5229\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u63d0\u6848\u30d1\u30c3\u30b1\u30fc\u30b8:<br \/>\n  ntp-doc<br \/>\n\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u65b0\u305f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:<br \/>\n  ntp<br \/>\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9: 0 \u500b\u3001\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: 1 \u500b\u3001\u524a\u9664: 0 \u500b\u3001\u4fdd\u7559: 150 \u500b\u3002<br \/>\n432kB \u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u64cd\u4f5c\u5f8c\u306b\u8ffd\u52a0\u3067 1069kB \u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c\u6d88\u8cbb\u3055\u308c\u307e\u3059\u3002<br \/>\n\u53d6\u5f97:1 http:\/\/jp.archive.ubuntu.com hardy-updates\/main ntp 1:4.2.4p4+dfsg-3ubuntu2.2 [432kB]<br \/>\n432kB \u3092 0s \u3067\u53d6\u5f97\u3057\u307e\u3057\u305f (525kB\/s)<br \/>\n\u672a\u9078\u629e\u30d1\u30c3\u30b1\u30fc\u30b8 ntp \u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059 &#8230; \u73fe\u5728 30080 \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002)<br \/>\n(&#8230;\/ntp_1%3a4.2.4p4+dfsg-3ubuntu2.2_i386.deb \u304b\u3089) ntp \u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059&#8230;<br \/>\nntp (1:4.2.4p4+dfsg-3ubuntu2.2) \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 &#8230;<br \/>\n * Starting NTP server ntpd                                                                                                                                     [ OK ]<\/p>\n<p>$ sudo vi \/etc\/ntp.conf<\/p>\n<p># You do need to talk to an NTP server or two (or three).<br \/>\n#server ntp.ubuntu.com<br \/>\nserver ntp.nict.jp<br \/>\nserver ntp.nict.jp<br \/>\nserver ntp.nict.jp<\/p>\n<p>12 \u884c\u76ee\u306e server \u3067\u6642\u523b\u3092\u540c\u671f\u3059\u308b NTP \u30b5\u30fc\u30d0\u30fc\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u3001\u65b0\u305f\u306b 3 \u884c\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\nNTP \u30b5\u30fc\u30d0\u30fc\u3092 3 \u3064\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5236\u5ea6\u3092\u3042\u3052\u308b\u305f\u3081\u306b\u306f\u8907\u6570\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f ntp.nict.jp \u3092 3 \u884c\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3053\u308c\u306f NICT \u516c\u958b NTP \u30b5\u30fc\u30d3\u30b9 \u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3082\u306e\u3067\u3001DNS \u30e9\u30a6\u30f3\u30c9\u30ed\u30d3\u30f3\u306b\u3088\u308b\u8ca0\u8377\u5206\u6563\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3057\u3066\u5225\u3005\u306e NTP \u30b5\u30fc\u30d0\u3078\u8a98\u5c0e\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\n~$ sudo \/etc\/init.d\/ntp restart<br \/>\n * Stopping NTP server ntpd                                                                                                                                     [ OK ]<br \/>\n * Starting NTP server ntpd                                                                                                                                     [ OK ]<br \/>\n~$ sudo ntpq -p<br \/>\n     remote           refid      st t when poll reach   delay   offset  jitter<br \/>\n==============================================================================<br \/>\n ntp-b2.nict.go. .NICT.           1 u   17   64    1   21.406   20.314   0.001<br \/>\n ntp-b3.nict.go. .NICT.           1 u   16   64    1   20.350   20.742   0.001<br \/>\n ntp-a3.nict.go. .NICT.           1 u   15   64    1   20.389   20.257   0.001<\/p>\n<p>\u5de6\u7aef\u306e * \u306e\u8a18\u53f7\u306f\u73fe\u5728\u540c\u671f\u3092\u884c\u3063\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u3001+ \u306e\u8a18\u53f7\u306f\u6b21\u306b\u540c\u671f\u884c\u3046\u5019\u88dc\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>apt-get\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067ntp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 sudo apt-get install ntp \u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059&#8230; \u5b8c\u4e86 \u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 &hellip;<a href=\"https:\/\/doodlenote.net\/?p=1064\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ubuntu\u3067ntp<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[3],"class_list":["post-1064","post","type-post","status-publish","format-standard","hentry","category-server","tag-oldblog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu\u3067ntp - Memolog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/doodlenote.net\/?p=1064\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu\u3067ntp - Memolog\" \/>\n<meta property=\"og:description\" content=\"apt-get\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067ntp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 sudo apt-get install ntp \u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059&#8230; \u5b8c\u4e86 \u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 &hellip;Continue reading ubuntu\u3067ntp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/doodlenote.net\/?p=1064\" \/>\n<meta property=\"og:site_name\" content=\"Memolog\" \/>\n<meta property=\"article:published_time\" content=\"-0001-11-30T00:00:00+00:00\" \/>\n<meta name=\"author\" content=\"\u4ffa\u69d8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4ffa\u69d8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/doodlenote.net\/?p=1064#article\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1064\"},\"author\":{\"name\":\"\u4ffa\u69d8\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"headline\":\"ubuntu\u3067ntp\",\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1064\"},\"wordCount\":144,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"keywords\":[\"OldBlog\"],\"articleSection\":[\"\u30b5\u30fc\u30d0\u30fc\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/doodlenote.net\/?p=1064\",\"url\":\"https:\/\/doodlenote.net\/?p=1064\",\"name\":\"ubuntu\u3067ntp - Memolog\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/#website\"},\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1064#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/doodlenote.net\/?p=1064\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/doodlenote.net\/?p=1064#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/doodlenote.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu\u3067ntp\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/doodlenote.net\/#website\",\"url\":\"https:\/\/doodlenote.net\/\",\"name\":\"Memolog\",\"description\":\"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e\",\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/doodlenote.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\",\"name\":\"\u4ffa\u69d8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"caption\":\"\u4ffa\u69d8\"},\"logo\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ubuntu\u3067ntp - Memolog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/doodlenote.net\/?p=1064","og_locale":"ja_JP","og_type":"article","og_title":"ubuntu\u3067ntp - Memolog","og_description":"apt-get\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067ntp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 sudo apt-get install ntp \u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059&#8230; \u5b8c\u4e86 \u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 &hellip;Continue reading ubuntu\u3067ntp","og_url":"https:\/\/doodlenote.net\/?p=1064","og_site_name":"Memolog","article_published_time":"-0001-11-30T00:00:00+00:00","author":"\u4ffa\u69d8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u4ffa\u69d8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/doodlenote.net\/?p=1064#article","isPartOf":{"@id":"https:\/\/doodlenote.net\/?p=1064"},"author":{"name":"\u4ffa\u69d8","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"headline":"ubuntu\u3067ntp","datePublished":"-0001-11-30T00:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/doodlenote.net\/?p=1064"},"wordCount":144,"commentCount":0,"publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"keywords":["OldBlog"],"articleSection":["\u30b5\u30fc\u30d0\u30fc"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/doodlenote.net\/?p=1064","url":"https:\/\/doodlenote.net\/?p=1064","name":"ubuntu\u3067ntp - Memolog","isPartOf":{"@id":"https:\/\/doodlenote.net\/#website"},"datePublished":"-0001-11-30T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/doodlenote.net\/?p=1064#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/doodlenote.net\/?p=1064"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/doodlenote.net\/?p=1064#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/doodlenote.net\/"},{"@type":"ListItem","position":2,"name":"ubuntu\u3067ntp"}]},{"@type":"WebSite","@id":"https:\/\/doodlenote.net\/#website","url":"https:\/\/doodlenote.net\/","name":"Memolog","description":"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e","publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/doodlenote.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1","name":"\u4ffa\u69d8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","caption":"\u4ffa\u69d8"},"logo":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1064"}],"version-history":[{"count":0,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1064\/revisions"}],"wp:attachment":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}