{"id":168,"date":"2021-03-29T09:58:51","date_gmt":"2021-03-29T00:58:51","guid":{"rendered":"https:\/\/technet.chokin-chokin.com\/?p=168"},"modified":"2021-03-29T14:53:25","modified_gmt":"2021-03-29T05:53:25","slug":"post-168","status":"publish","type":"post","link":"https:\/\/technet.chokin-chokin.com\/?p=168","title":{"rendered":"Ubuntu Server\uff0fCentOS\u306e\u521d\u671f\u8a2d\u5b9a\u3000\u6642\u523b\u5408\u308f\u305b\u7de8"},"content":{"rendered":"<p>\u524d\u56de\u306e\u8a18\u4e8b\u3067Ubuntu Server 20.04.2 LTS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-internal-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/technet.chokin-chokin.com\/?p=130\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=technet.chokin-chokin.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">\u30a8\u30f3\u30b8\u30cb\u30a2\u5099\u5fd8\u9332<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/technet.chokin-chokin.com\/wp-content\/uploads\/2021\/03\/ubuntusvinst_24-150x150.png\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Ubuntu Server 20.04.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f<\/div><div class=\"lkc-date\">&#x1f552;&#xfe0f;2021-03-26<\/div><div class=\"lkc-excerpt\">Ubutntu Server 20.04.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u306e\u3067\u305d\u306e\u624b\u9806\u3092\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u9593\u9055\u3063\u3066Desktop\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u3001\u305d\u308c\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u3002\u2193\u2193\u2193&nbsp;\u307e\u3042\u3001\u305d\u3082\u305d\u3082\u306a\u305cUbuntu\u306a\u306e\u304b\uff1f\u3063\u3066\u8a71\u306a\u3093\u3067\u3059\u304c\u4ed5\u4e8b\u3067\u3001\u5ba2\u5148\u306e\u65e2\u5b58\u74b0\u5883\u304cUbuntu\u3060\u304b\u3089\u3063\u3066\u3044\u3046\u7406\u7531\u306a\u3093\u3067\u3059\u3088\u306d\u3002RHEL\u304b\u3068\u601d\u3063\u3066\u696d\u52d9\u306b\u5165\u3063\u305f\u3089Ubutu\u3060\u3063\u305f\u306e\u3067\u3073\u3063\u304f\u308a\u3057\u307e\u3057\u305f\u3002\u305b\u3081\u3066CentOS\u304b\u306a\u3042\u3001\u306a\u3093\u3066\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u9a5a\u304d\u3067\u3057\u305f\u3002\u305d\u3046\u3044\u3048\u3070\u3001\u8ee2\u8077\u524d\u306e\u4f1a\u793e\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3001\u81ea\u793e\u30b5\u30a4\u30c8\u306e\uff37\uff45\uff42\u30b5\u30fc\u30d0\u30fc\u304cCentOS\u3067\u3057\u305f\u3002\u30d6\u30e9\u30c3\u30af\u4f01\u696d\u3092\u7d75\u306b\u63cf\u3044...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u4eca\u56de\u306f\u521d\u671f\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\u6642\u523b\u8a2d\u5b9a<\/h2>\n<p>&nbsp;<\/p>\n<p>timedatectl\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u73fe\u5728\u30019\uff1a40\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><span style=\"color: #ffffff;\">user01@ubuntuserver01:~$ timedatectl<\/span><br \/>\n<span style=\"color: #ffffff;\">Local time: Mon 2021-03-29 00:40:25 UTC<\/span><br \/>\n<span style=\"color: #ffffff;\">Universal time: Mon 2021-03-29 00:40:25 UTC<\/span><br \/>\n<span style=\"color: #ffffff;\">RTC time: Mon 2021-03-29 00:40:25<\/span><br \/>\n<span style=\"color: #ffffff;\">Time zone: Etc\/UTC (UTC, +0000)<\/span><br \/>\n<span style=\"color: #ffffff;\">System clock synchronized: yes<\/span><br \/>\n<span style=\"color: #ffffff;\">NTP service: active<\/span><br \/>\n<span style=\"color: #ffffff;\">RTC in local TZ: no<\/span><br \/>\n<span style=\"color: #ffffff;\">user01@ubuntuserver01:~$<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u521d\u671f\u8a2d\u5b9a\u3092\u3057\u3066\u306a\u3044\u3068\u5354\u5b9a\u4e16\u754c\u6642 (UTC)\u3067\u8868\u793a\u3055\u308c\u3061\u3083\u3046\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u65e5\u672c\u6642\u9593\u304b\u30899\u6642\u9593\u5f15\u3044\u305f\u6642\u9593\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u30bf\u30a4\u30e0\u30ed\u30b1\u30fc\u30eb\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u65e5\u672c\u6642\u9593\u306b\u5408\u308f\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\/etc\/localtime\u300d\u306b\u300c\/usr\/share\/zoneinfo\/Etc\/UTC\u300d\u3078\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001<br \/>\n\u305d\u308c\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h3>\u73fe\u6642\u70b9\u306e\u8a2d\u5b9a\u78ba\u8a8d<\/h3>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><span style=\"color: #ffffff;\">user01@ubuntuserver01:~$ ls -l \/etc\/localtime<\/span><br \/>\n<span style=\"color: #ffffff;\">lrwxrwxrwx 1 root root 27 Feb 1 17:24 \/etc\/localtime -&gt; \/usr\/share\/zoneinfo\/Etc\/UTC<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>\u5909\u66f4<\/h3>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><span style=\"color: #ffffff;\">user01@ubuntuserver01:~$ sudo ln -sf \/usr\/share\/zoneinfo\/Asia\/Tokyo \/etc\/localtime<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>\u5909\u66f4\u306e\u78ba\u8a8d<\/h3>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #000000;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><span style=\"color: #ffffff;\">user01@ubuntuserver01:~$ ls -l \/etc\/localtime<\/span><br \/>\n<span style=\"color: #ffffff;\">lrwxrwxrwx 1 root root 30 Mar 29 09:46 \/etc\/localtime -&gt; \/usr\/share\/zoneinfo\/Asia\/Tokyo<\/span><br \/>\n<span style=\"color: #ffffff;\">user01@ubuntuserver01:~$ timedatectl<\/span><br \/>\n<span style=\"color: #ffffff;\">Local time: Mon 2021-03-29 09:48:19 JST<\/span><br \/>\n<span style=\"color: #ffffff;\">Universal time: Mon 2021-03-29 00:48:19 UTC<\/span><br \/>\n<span style=\"color: #ffffff;\">RTC time: Mon 2021-03-29 00:48:19<\/span><br \/>\n<span style=\"color: #ffffff;\">Time zone: Asia\/Tokyo (JST, +0900)<\/span><br \/>\n<span style=\"color: #ffffff;\">System clock synchronized: yes<\/span><br \/>\n<span style=\"color: #ffffff;\">NTP service: active<\/span><br \/>\n<span style=\"color: #ffffff;\">RTC in local TZ: no<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u610f\u5473\u306f\u3053\u3093\u306a\u611f\u3058<br \/>\n-s \u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a<br \/>\n-f \u540c\u3058\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u3063\u3066\u3082\u5f37\u5236\u7684\u306b\u8a2d\u5b9a<\/p>\n<p>&nbsp;<\/p>\n<p>\u203b\u306a\u304a\u3001NTP\u306b\u3088\u308b\u8a2d\u5b9a\u3067chrony\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001chrony\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\nsudo apt install chrony<\/p>\n<p>\u4ee5\u4e0a\u3001\u6642\u523b\u5408\u308f\u305b\u3067\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u4f8b\u306f Ubuntu Server 20.04.2 LTS\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u8a18\u4e8b\u3067Ubuntu Server 20.04.2 LTS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u4eca\u56de\u306f\u521d\u671f\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 &nbsp; &nbsp; \u6642\u523b\u8a2d\u5b9a &nbsp; timedatectl\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":155,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,6],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-ubuntu","category-centos"],"views":932,"_links":{"self":[{"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":2,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":181,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=\/wp\/v2\/media\/155"}],"wp:attachment":[{"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technet.chokin-chokin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}