{"id":235,"date":"2020-03-06T15:00:29","date_gmt":"2020-03-06T06:00:29","guid":{"rendered":"https:\/\/pocolog.bass-world.net\/tech\/?p=235"},"modified":"2020-06-12T18:00:34","modified_gmt":"2020-06-12T09:00:34","slug":"mediawiki%e3%82%92aws%e3%81%aeec2rds%e6%a7%8b%e6%88%90%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/pocolog.bass-world.net\/tech\/2020\/mediawiki%e3%82%92aws%e3%81%aeec2rds%e6%a7%8b%e6%88%90%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%99%e6%96%b9%e6%b3%95\/","title":{"rendered":"MediaWiki\u3092AWS\u306eEC2+RDS\u69cb\u6210\u3067\u52d5\u304b\u3059\u65b9\u6cd5"},"content":{"rendered":"\n<p>MediaWiki\u306b\u9650\u3089\u306a\u3044\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u304c\u3001Amazon Web Service \u306e EC2 + RDS\u69cb\u6210\u3067\u52d5\u4f5c\u3055\u305b\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>MariaDB \u306b\u306f\u30db\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3002<br>mysql -h maria.xxxxxx.ap-northeast-1.rds.amazonaws.com -P 3306 -u admin -p<\/li><li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3002<br>create database [\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d];<\/li><li>\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3059\u308b\u3002<br>create user &#8216;[\u30e6\u30fc\u30b6\u540d]&#8217;@'[<em>EC2 \u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 IP \u30a2\u30c9\u30ec\u30b9<\/em>]&#8217; identified by &#8216;[\u30d1\u30b9\u30ef\u30fc\u30c9]&#8217;;<\/li><li>\u30e6\u30fc\u30b6\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u306e\u6a29\u9650\u3092\u4e0e\u3048\u308b\u3002\u3053\u3053\u3067\u3001[\u30e6\u30fc\u30b6\u540d]@[<em>EC2\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9<\/em>]\u3092\u6307\u5b9a\u3059\u308b\u3002<br>grant all privileges on [\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d].* to &#8216;[\u30e6\u30fc\u30b6\u540d]&#8217;@'[<em>EC2\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9<\/em>]&#8217; identified by &#8216;[\u30d1\u30b9\u30ef\u30fc\u30c9]&#8217;;<\/li><\/ol>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u5f8c\u306bMediaWiki\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3001\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u306f\u305a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MediaWiki\u306b\u9650\u3089\u306a\u3044\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u304c\u3001Amazon Web Service \u306e EC2 + RDS\u69cb\u6210\u3067\u52d5\u4f5c\u3055\u305b\u308b\u65b9\u6cd5\u3067\u3059\u3002 MariaDB \u306b\u306f\u30db\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3002mysql -h maria.xxxxx &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/pocolog.bass-world.net\/tech\/2020\/mediawiki%e3%82%92aws%e3%81%aeec2rds%e6%a7%8b%e6%88%90%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%99%e6%96%b9%e6%b3%95\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;MediaWiki\u3092AWS\u306eEC2+RDS\u69cb\u6210\u3067\u52d5\u304b\u3059\u65b9\u6cd5&#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":{"footnotes":""},"categories":[3,4,10,12],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-amazon-aws","category-apache","category-linux","category-php"],"_links":{"self":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":2,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/235\/revisions\/271"}],"wp:attachment":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}