{"id":725,"date":"2016-08-06T08:00:45","date_gmt":"2016-08-05T23:00:45","guid":{"rendered":"https:\/\/www.agent-grow.com\/self20percent\/?p=725"},"modified":"2016-11-29T14:19:56","modified_gmt":"2016-11-29T05:19:56","slug":"change-timezone-at-centos7","status":"publish","type":"post","link":"https:\/\/www.agent-grow.com\/self20percent\/2016\/08\/06\/change-timezone-at-centos7\/","title":{"rendered":"CentOS7\u3067\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u5909\u3048\u308b\u3068\u304d\u306e\u03c6(\uff0e\uff0e)\u30e1\u30e2\u30e1\u30e2"},"content":{"rendered":"<h1>\u5c0f\u30cd\u30bf\u3067\u30fc\u3059<\/h1>\n<p>\u4f11\u65e5\u3068\u3044\u3048\u3070\u3001\u5c0f\u30cd\u30bf\u3060\u3088\u306d\uff01<\/p>\n<p>\u3063\u3066\u3053\u3068\u3067\u3001\u4eca\u65e5\u306f\u3053\u3093\u306a\u30cd\u30bf\u3002<\/p>\n<h1>\u3042\u308c\uff1fUTC\u306b\u306a\u3063\u3066\u308b\uff1f<\/h1>\n<p>\u793e\u5185Lab\u7528\u306b\u4f5c\u3063\u305fRaspberry Pi\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u4f55\u6c17\u306a\u304f\u65e5\u4ed8\u3092\u898b\u3066\u307f\u305f\u3089\u2026\u2026\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;user1@centos-rpi3 \/]$ date\r\n2016\u5e74  8\u6708  5\u65e5 \u91d1\u66dc\u65e5 03:34:58 UTC 2016\r\n<\/pre>\n<p>\u2026\u2026\u3042\u308c\uff1fUTC\u306b\u306a\u3063\u3066\u308b\u2026\u2026\uff1f<\/p>\n<p>\u3053\u308c\u3060\u3068\u4e0d\u4fbf\u306a\u3093\u3067\u3001\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092JST\u306b\u304b\u3048\u307e\u305b\u3045\u3002<\/p>\n<h1>\u7c21\u5358\u306b\u5909\u3048\u3089\u308c\u308b\u3088\u301c<\/h1>\n<p>CentOS7\u306e\u5834\u5408\u306f\u3001\u300ctimedatectl\u300d\u3063\u3066\u306e\u3092\u4f7f\u3046\u3068\u304a\u624b\u8efd\u3067\u826f\u3044\u3067\u3059\u3002<\/p>\n<p>\u4f55\u3082\u5f15\u6570\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3068\u3001\u73fe\u72b6\u3069\u3046\u306a\u3063\u3066\u308b\u304b\u3092\u6559\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;user1@centos-rpi3 ~]$ sudo timedatectl\r\n      Local time: \u91d1 2016-08-05 03:41:03 UTC\r\n  Universal time: \u91d1 2016-08-05 03:41:03 UTC\r\n        RTC time: n\/a\r\n       Time zone: UTC (UTC, +0000)\r\n     NTP enabled: yes\r\nNTP synchronized: yes\r\n RTC in local TZ: no\r\n      DST active: n\/a\r\n<\/pre>\n<p>\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u5909\u66f4\u3059\u308b\u6642\u306f\u3001\u300ctimedatectl set-timezone {\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u540d}\u300d\u3063\u3066\u611f\u3058\u3067\u6307\u5b9a\u3059\u308c\u3070OK\u3002\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u540d\u306e\u4e00\u89a7\u306f\u4e0b\u8a18\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;user1@centos-rpi3 ~]$ sudo timedatectl list-timezones\r\n<\/pre>\n<p>JST\u306b\u3059\u308b\u6642\u306f\u3001\u4f8b\u3048\u3070\u3053\u3093\u306a\u611f\u3058\u3067\u3084\u308c\u3070OK\u3063\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;user1@centos-rpi3 ~]$ sudo timedatectl set-timezone Asia\/Tokyo\r\n&#x5B;user1@centos-rpi3 ~]$ sudo timedatectl\r\n      Local time: \u91d1 2016-08-05 12:45:52 JST\r\n  Universal time: \u91d1 2016-08-05 03:45:52 UTC\r\n        RTC time: n\/a\r\n       Time zone: Asia\/Tokyo (JST, +0900)\r\n     NTP enabled: yes\r\nNTP synchronized: yes\r\n RTC in local TZ: no\r\n      DST active: n\/a\r\n<\/pre>\n<p>\u30b3\u30ec\u3067\u5e78\u305b\u306b\u306a\u308c\u307e\u3059\u306d(`\uff65\u03c9\uff65\u00b4)b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u30cd\u30bf\u3067\u30fc\u3059 \u4f11\u65e5\u3068\u3044\u3048\u3070\u3001\u5c0f\u30cd\u30bf\u3060\u3088\u306d\uff01 \u3063\u3066\u3053\u3068\u3067\u3001\u4eca\u65e5\u306f\u3053\u3093\u306a\u30cd\u30bf\u3002 \u3042\u308c\uff1fUTC\u306b\u306a\u3063\u3066\u308b\uff1f \u793e\u5185Lab\u7528\u306b\u4f5c\u3063\u305fRaspberry Pi\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u4f55\u6c17\u306a\u304f\u65e5\u4ed8\u3092\u898b\u3066\u307f\u305f\u3089\u2026\u2026\u3002 &#x5B;user1@ce [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":595,"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":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[12,35,36],"class_list":["post-725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-centos","tag-raspberry-pi","tag-lab"],"jetpack_featured_media_url":"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2016\/07\/DSC_1499.jpg","jetpack_shortlink":"https:\/\/wp.me\/p7Bq4F-bH","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/comments?post=725"}],"version-history":[{"count":0,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/725\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media\/595"}],"wp:attachment":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media?parent=725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/categories?post=725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/tags?post=725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}