{"id":7127,"date":"2024-08-15T17:08:47","date_gmt":"2024-08-15T08:08:47","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=7127"},"modified":"2024-08-15T17:13:12","modified_gmt":"2024-08-15T08:13:12","slug":"al2023-%e3%83%9b%e3%82%b9%e3%83%88%e5%90%8d","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/7127","title":{"rendered":"[AL2023] \u30db\u30b9\u30c8\u540d"},"content":{"rendered":"<h3>\u30db\u30b9\u30c8\u540d\u78ba\u8a8d<\/h3>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ hostname\r\nip-192-168-0-230.ap-northeast-1.compute.internal<\/pre>\n<p><!--more--><\/p>\n<h3>\u30db\u30b9\u30c8\u60c5\u5831\u8a73\u7d30<\/h3>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ hostnamectl\r\nip-192-168-0-230.ap-northeast-1.compute.internal\r\n[ec2-user@ip-192-168-0-230 ~]$ hostnamectl\r\n Static hostname: ip-192-168-0-230.ap-northeast-1.compute.internal\r\n       Icon name: computer-vm\r\n         Chassis: vm \ud83d\uddb4\r\n      Machine ID: ec21706d0f90777d66e2bdacxxxxxxxx\r\n         Boot ID: ce7acda3d06049f28c269660xxxxxxxx\r\n  Virtualization: amazon\r\nOperating System: Amazon Linux 2023.5.20240805\r\n     CPE OS Name: cpe:2.3:o:amazon:amazon_linux:2023\r\n          Kernel: Linux 6.1.102-108.177.amzn2023.aarch64\r\n    Architecture: arm64\r\n Hardware Vendor: Amazon EC2\r\n  Hardware Model: t4g.micro\r\nFirmware Version: 1.0<\/pre>\n<h3>\u30db\u30b9\u30c8\u540d\u5909\u66f4<\/h3>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ sudo hostnamectl set-hostname your_hostname<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30db\u30b9\u30c8\u540d\u78ba\u8a8d $ hostname ip-192-168-0-230.ap-northeast-1.compute.internal<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[55,42],"class_list":["post-7127","post","type-post","status-publish","format-standard","hentry","category-memo","tag-aws","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=7127"}],"version-history":[{"count":5,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7127\/revisions"}],"predecessor-version":[{"id":7132,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7127\/revisions\/7132"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=7127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=7127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=7127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}