{"id":245,"date":"2022-07-28T21:40:05","date_gmt":"2022-07-28T12:40:05","guid":{"rendered":"https:\/\/th0x0472.net\/?p=245"},"modified":"2022-08-02T10:21:16","modified_gmt":"2022-08-02T01:21:16","slug":"%e3%82%aa%e3%83%ac%e3%82%b4%e3%83%b3%e3%81%ab%e3%81%8a%e5%bc%95%e8%b6%8a%e3%81%97%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81","status":"publish","type":"post","link":"https:\/\/th0x0472.net\/index.php\/2022\/07\/28\/245\/","title":{"rendered":"\u30aa\u30ec\u30b4\u30f3\u306b\u304a\u5f15\u8d8a\u3057\u3057\u307e\u3057\u305f\uff01"},"content":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u3092\u304a\u5c4a\u3051\u3057\u3066\u3044\u308bEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30aa\u30ec\u30b4\u30f3\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u304a\u5f15\u8d8a\u3057\u3057\u307e\u3057\u305f\u3002<!--more--><\/p>\n<p>\u672c\u5f53\u306f\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067Phoenix\u30be\u30fc\u30f3\u306b\u3057\u305f\u304b\u3063\u305f\u3051\u308c\u3069\u3001\u304a\u5b89\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30bf\u30a4\u30d7\u304c\u63d0\u4f9b\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u65ad\u5ff5\u3002\u30aa\u30ec\u30b4\u30f3\u30ea\u30fc\u30b8\u30e7\u30f3\u3067\u30be\u30fc\u30f3\u306f\u6307\u5b9a\u305b\u305a\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3057\u3066\u3001\u7d50\u679cus-west-2d\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u5148\u65e5\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u30ea\u30b9\u30c8\u30a2\u8a66\u9a13\u3082\u517c\u306d\u3066\u518d\u69cb\u7bc9\u3057\u3066\u3001\u3044\u304f\u3089\u304b\u30cf\u30de\u308a\u30dd\u30a4\u30f3\u30c8\u306f\u3042\u3063\u305f\u3082\u306e\u306e\u3001\u304a\u304a\u3080\u306d\u554f\u984c\u306a\u304f\u304a\u5f15\u8d8a\u3057\u3067\u304d\u307e\u3057\u305f\u3002\u69cb\u7bc9\u6642\u306b\u6b8b\u3057\u305f\u30e1\u30e2\u3092\u53c2\u7167\u3057\u306a\u304c\u3089\u4f5c\u696d\u3057\u3066\u53d6\u5f97\u3057\u3066\u3042\u3063\u305f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u30ea\u30b9\u30c8\u30a2\u3057\u3066\u7121\u4e8b\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p>Nitro System\u4e0a\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30bf\u30a4\u30d7\u3001\u5177\u4f53\u7684\u306b\u306ft3a.micro\u306b\u3057\u3066\u3001\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a\u3082\u5c02\u7528\u30e6\u30fc\u30b6\u4f5c\u3063\u3066\u6e80\u8db3\u3067\u3059\u3002<br \/>\nt3a\u3060\u3068CPU\u306fAMD EPYC\u306a\u3093\u3067\u3059\u306d\u3002\u65b0\u9bae\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ cat \/proc\/cpuinfo | grep \"model name\" | uniq -c\r\n2 model name : AMD EPYC 7571<\/code><\/pre>\n<\/div>\n<p>\u30cf\u30de\u308a\u30dd\u30a4\u30f3\u30c8\u306b\u3064\u3044\u3066\u30e1\u30e2\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001MySQL\u306e\u521d\u671f\u8a2d\u5b9a\u3067<code>mysql_secure_installation<\/code>\u3057\u3066root\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u304c\u3067\u304d\u306a\u304f\u3066\u306f\u307e\u308a\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3001<code>mysql_secure_installation<\/code>\u304c\u4e2d\u3067\u5b9f\u884c\u3057\u3066\u3044\u308bSQL\u304c\u60aa\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters.<\/code><\/pre>\n<\/div>\n<p>\u30a2\u30c9\u30d0\u30a4\u30b9\u306b\u3042\u308b\u901a\u308a\u3001<code>ALTER USER<\/code>\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u304b\u3089\u3001\u518d\u5ea6<code>mysql_secure_installation<\/code>\u3092\u5b9f\u884c\u3057\u3066\u3084\u3063\u3066\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u305f\u3060\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u306b\u5931\u6557\u3057\u3066\u3082\u7e70\u308a\u8fd4\u3057\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u805e\u304b\u308c\u308b\u3070\u304b\u308a\u3067\u3001CTRL-C\u3067\u629c\u3051\u3089\u308c\u306a\u304f\u3066\u30cf\u30de\u308a\u307e\u3057\u305f\u3002\u7d50\u5c40\u3082\u3046\u4e00\u3064ssh\u63a5\u7d9a\u3057\u3066\u3001\u30d7\u30ed\u30bb\u30b9\u3092kill\u3057\u3066\u3084\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f<code>mysql-server<\/code>\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ apt info mysql-server\r\nPackage: mysql-server\r\nVersion: 8.0.29-0ubuntu0.22.04.3<\/code><\/pre>\n<\/div>\n<p>\u3064\u304e\u306b\u3001PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u304f\u3066\u30cf\u30de\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u7c21\u5358\u3067\u3001\u30e1\u30e2\u3092\u6b8b\u3057\u305f\u5f53\u6642\u304b\u3089PHP\u306eVersion\u304c\u4e0a\u304c\u3063\u3066\u3044\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u304c\u5909\u308f\u3063\u305f\u305f\u3081\u3067\u3059\u3002Ver\u8fbc\u307f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306f\u3053\u3046\u3044\u3046\u6642\u30cf\u30de\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\u81ea\u5b85\u306e\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3063\u3066\u3044\u305f\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\uff08\u5236\u9650\uff09\u7cfb\u3067\u3061\u3087\u3063\u3068\u9762\u5012\u304f\u3055\u3044\u76ee\u306b\u3042\u3044\u307e\u3057\u305f\u3002AWS\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u3001\u307e\u305f\u5909\u308f\u3063\u3066\u308b\u306a\u30fc\u3068\u3044\u3046\u306e\u306b\u306f\u6c17\u4ed8\u3044\u3066\u3044\u305f\u306e\u3067\u3001\u7c9b\u3005\u3068\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u304c\u2026\u2026\u3002<\/p>\n<p>\u81ea\u5b85\u306e\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306f\u5b9a\u671f\u7684\u306b\u78ba\u8a8d\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u305f\u306e\u3067\u3001\u306a\u3093\u3068\u304b\u3046\u307e\u3044\u3053\u3068\u3084\u308a\u305f\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u660e\u65e5\u3001\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u53d6\u5f97\u7cfb\u3092\u5207\u308a\u66ff\u3048\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u3053\u308c\u304f\u3089\u3044\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u3092\u304a\u5c4a\u3051\u3057\u3066\u3044\u308bEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30aa\u30ec\u30b4\u30f3\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u304a\u5f15\u8d8a\u3057\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,2,4],"tags":[],"class_list":["post-245","post","type-post","status-publish","format-standard","hentry","category-aws","category-blog","category-linux"],"_links":{"self":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":4,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/245\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}