{"id":897,"date":"2017-12-13T10:41:43","date_gmt":"2017-12-13T01:41:43","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=897"},"modified":"2017-12-13T11:13:38","modified_gmt":"2017-12-13T02:13:38","slug":"linux_ntp","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/linux_ntp\/","title":{"rendered":"\u3010Linux\u3011\u624b\u52d5\u3067NTP\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6642\u523b\u3092\u5408\u308f\u305b\u308b"},"content":{"rendered":"<p>NTP\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u4e2d\u306a\u306e\u306b\u6642\u9593\u304c\u305a\u308c\u3066\u3044\u308b\u5834\u5408\u3001<br \/>\n\u305d\u306e\u539f\u56e0\u306f\u3068\u3082\u304b\u304f\u3001\u307e\u305a\u306f\u624b\u52d5\u3067\u6642\u523b\u3092\u5408\u308f\u305b\u307e\u3059\u3002<\/p>\n<p>date\u30b3\u30de\u30f3\u30c9\u3067\u65e5\u6642\u3092\u76f4\u63a5\u3057\u3066\u3082\u3088\u3044\u3067\u3059\u304c\u3001<\/p>\n<pre>\r\ndate -s '03\/04 08:05 2017'\r\n<\/pre>\n<p>\u305b\u3063\u304b\u304fNTP\u30b5\u30fc\u30d0\u30fc\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3067<br \/>\n\u624b\u52d5\u3067\u5916\u90e8\u306eNTP\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6642\u523b\u3092\u5408\u308f\u305b\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre>\r\nntpdate ntp1.sakura.ad.jp\r\n<\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u306f\u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306eNTP\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001NTP\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u4e2d\u306a\u306e\u306b\u6642\u9593\u304c\u305a\u308c\u3066\u3044\u305f\u539f\u56e0\u3067\u3059\u304c\u3001<br \/>\n\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u306a\u306e\u3067\u3059\u304c<br \/>\n\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u3042\u3048\u3066\u5916\u90e8\u3068\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u306b\u3082\u95a2\u308f\u3089\u305a\u5916\u90e8\u306eNTP\u30b5\u30fc\u30d0\u30fc\u3092\u898b\u306b\u884c\u304f\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u305d\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u552f\u4e00\u3001\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3001<br \/>\n\u305d\u306e\u30b7\u30b9\u30c6\u30e0\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306e\u6642\u523b\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u624b\u52d5\u8a2d\u5b9a<\/p>\n<pre>\r\nntpdate 192.168.50.1\r\n<\/pre>\n<p>NTP\u306e\u8a2d\u5b9a<br \/>\n\/etc\/ntp.conf<\/p>\n<pre>\r\nserver 192.168.50.1\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>NTP\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u4e2d\u306a\u306e\u306b\u6642\u9593\u304c\u305a\u308c\u3066\u3044\u308b\u5834\u5408\u3001 \u305d\u306e\u539f\u56e0\u306f\u3068\u3082\u304b\u304f\u3001\u307e\u305a\u306f\u624b\u52d5\u3067\u6642\u523b\u3092\u5408\u308f\u305b\u307e\u3059\u3002 date\u30b3\u30de\u30f3\u30c9\u3067\u65e5\u6642\u3092\u76f4\u63a5\u3057\u3066\u3082\u3088\u3044\u3067\u3059\u304c\u3001 date -s &#8217;03\/04 08:05 2017&#8242; \u305b\u3063\u304b\u304fNTP &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/linux_ntp\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011\u624b\u52d5\u3067NTP\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6642\u523b\u3092\u5408\u308f\u305b\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[95,371],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-et","jetpack-related-posts":[{"id":1000,"url":"https:\/\/clouds.tokyo\/blog\/nas_cloud\/","url_meta":{"origin":897,"position":0},"title":"PC\u76f4\u3067\u306f\u306a\u304fNAS\u7d4c\u7531\u3067\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8","author":"yamamoto","date":"2018\u5e744\u670813\u65e5","format":false,"excerpt":"Dropbox\u3084OneDrive\u306a\u3069\u306e\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u306f \u7c21\u5358\u306bPC\u306e\u30c7\u30fc\u30bf\u3068\u81ea\u52d5\u7684\u306b\u540c\u671f\u3055\u305b\u308b\u3053\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/clouds.tokyo\/blog\/wp-content\/uploads\/2018\/04\/cap000006.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":931,"url":"https:\/\/clouds.tokyo\/blog\/linux_ntpd_pid\/","url_meta":{"origin":897,"position":1},"title":"\u3010CentOS\u3011\u300cntpd\u304c\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u304cPID\u30d5\u30a1\u30a4\u30eb\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059\u300d","author":"yamamoto","date":"2018\u5e741\u670823\u65e5","format":false,"excerpt":"\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u3066\u3044\u308b\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u30b1\u30fc\u30b9\u304c\u5897\u3048\u3001\u539f\u56e0\u3092\u63a2\u3063\u3066\u3044\u307e\u3057\u305f\u3002 \u8272\u3005\u8abf\u3079\u305f\u7d50\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":792,"url":"https:\/\/clouds.tokyo\/blog\/php_timezone\/","url_meta":{"origin":897,"position":2},"title":"\u3010PHP\u3011\u53d6\u5f97\u3057\u305f\u73fe\u5728\u65e5\u6642\u304c9\u6642\u9593\u305a\u308c\u3066\u3044\u308b\u3068\u304d\u306f","author":"yamamoto","date":"2017\u5e748\u670825\u65e5","format":false,"excerpt":"PHP\u3067date\u3084strtotime\u3067\u53d6\u5f97\u3057\u305f\u73fe\u5728\u65e5\u6642\u304c9\u6642\u9593\u305a\u308c\u3066\u3044\u308b\u3068\u304d\u306f\u3001 \u65e5\u672c\u3067\u306f\u306a\u3044\u30bf\u30a4\u30e0\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1518,"url":"https:\/\/clouds.tokyo\/blog\/ssh-ecdsa\/","url_meta":{"origin":897,"position":3},"title":"\u3010Linux\u3011CentOS6\u304b\u3089AlmaLinux9\u3078\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057ssh\u63a5\u7d9a","author":"yamamoto","date":"2023\u5e742\u67089\u65e5","format":false,"excerpt":"\u53e4\u3044\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u3078\u30d1\u30b9\u306a\u3057\u63a5\u7d9a\u304c\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u3082\u3061\u308d\u3093\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1808,"url":"https:\/\/clouds.tokyo\/blog\/mysql_lock\/","url_meta":{"origin":897,"position":4},"title":"\u3010MySQL\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eMySQL\u304c\u30ed\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306e\u5bfe\u51e6\u65b9\u6cd5","author":"yamamoto","date":"2025\u5e744\u670811\u65e5","format":false,"excerpt":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eMySQL\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3057\u3066\u307b\u3057\u3044\u3068\u3044\u3046\u4f9d\u983c\u3092\u53d7\u3051\u5bfe\u5fdc\u3057\u305f\u306e\u3067\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1079,"url":"https:\/\/clouds.tokyo\/blog\/win_update_smb\/","url_meta":{"origin":897,"position":5},"title":"\u3010Windows10\u3011Windows 10 April 2018 Update (1803)\u9069\u7528\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u30fc\uff08\u5171\u6709\u30d5\u30a9\u30eb\u30c0\uff09\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3089","author":"yamamoto","date":"2018\u5e745\u670825\u65e5","format":false,"excerpt":"\u4eca\u6708\u306f\u3058\u3081\u3042\u305f\u308a\u304b\u3089Windows10\u3067 \u5927\u578b\u306eWindows Update\u3067\u3042\u308b\u300cWindows \u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/897"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=897"}],"version-history":[{"count":3,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/897\/revisions"}],"predecessor-version":[{"id":900,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/897\/revisions\/900"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}