{"id":442,"date":"2024-12-08T12:43:23","date_gmt":"2024-12-08T03:43:23","guid":{"rendered":"https:\/\/anabuki.mydns.jp\/blog1\/?p=442"},"modified":"2024-12-09T10:12:34","modified_gmt":"2024-12-09T01:12:34","slug":"%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4%e3%81%b8%e3%81%aemariadb%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/anabuki.mydns.jp\/blog1\/?p=442","title":{"rendered":"\u30e9\u30ba\u30d1\u30a4\u3078\u306eWordprss\u306e\u5b9f\u88c5"},"content":{"rendered":"\n<p>\u30e9\u30ba\u30d1\u30a4\u3067Wordpress\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u306f\u3001apache2 Mariadb PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067Wordpress\u306e\u52d5\u4f5c\u74b0\u5883\u3092\u6574\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p><strong>Apache2<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Mariadb<\/strong><\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6d41\u308c\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n\n\n\n<ol>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u306e\u78ba\u8a8d<\/li>\n\n\n\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n\n\n\n<li>\u521d\u671f\u8a2d\u5b9a<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001MariaDB \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br><br>\u30b3\u30de\u30f3\u30c9\u306e\u7d50\u679c\u3001<br>\u300c-bash: mariadbd: command not found\u300d\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001MariaDB \u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<br>\u300cmariadbd Ver X.X.X\u300d\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001MariaDB \u306f\u3001\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br><br>\u88dc\u8db3\uff09<br>MariaDB\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9 : mariadbd&nbsp;&#8211;version<br>MariaDB\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9 : mariadb &#8211;version<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u307e\u305a\u3001\u6700\u65b0\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001MariaDB \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u3001\u6570\u5206\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u521d\u671f\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001MariaDB \u306e\u521d\u671f\u8a2d\u5b9a\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u30fbEnter current password for root (enter for none):\u30ab\u30ec\u30f3\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u7a7a\u306a\u306e\u3067\u3001\u4f55\u3082\u62bc\u3055\u305a\u306b\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbSwitch to unix_socket authentication [Y\/n]\u300cunix_socket authentication\u300d\u306f\u7121\u52b9\u5316\u3057\u305f\u3044\u306e\u3067\u3001\u300cn\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbYou already have your root account protected, so you can safely answer &#8216;n&#8217;.root\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u305f\u3044\u306e\u3067\u3001\u300cY\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002<br>\u8a2d\u5b9a\u3057\u305f\u3044root\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002<br>\u5165\u529b\u78ba\u8a8d\u3067\u3001\u8a2d\u5b9a\u3057\u305f\u3044root\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u5ea6\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbRemove anonymous users? [Y\/n]\u30a2\u30ce\u30cb\u30de\u30b9\u30e6\u30fc\u30b6\u30fc\u3092\u524a\u9664\u3057\u305f\u3044\u306e\u3067\u3001\u300cY\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbDisallow root login remotely? [Y\/n]\u30eb\u30fc\u30c8\u306e\u30ea\u30e2\u30fc\u30c8\u30ed\u30b0\u30a4\u30f3\u306f\u8a31\u53ef\u3057\u305f\u304f\u306a\u3044\u306e\u3067\u3001\u300cY\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbRemove test database and access to it? [Y\/n]\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u524a\u9664\u3057\u305f\u3044\u306e\u3067\u3001\u300cY\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002\u30fbReload privilege tables now? [Y\/n]\u6a29\u9650\u30c6\u30fc\u30d6\u30eb\u3092\u3059\u3050\u306b\u53cd\u6620\u3055\u305b\u305f\u3044\u306e\u3067\u3001\u300cY\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u62bc\u4e0b\u3002<\/p>\n\n\n\n<p>\u53c2\u8003<\/p>\n\n\n\n<p>\u81ea\u52d5\u8d77\u52d5\uff08OS\u306e\u8d77\u52d5\u6642\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5)\u306e\u8a2d\u5b9a\u306e\u78ba\u8a8d<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001systemctl\u304c\u5229\u7528\u53ef\u80fd\u306a\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\u89e3\u8aac\uff09<\/p>\n\n\n\n<ul>\n<li>list-unit-files : systemd\u304c\u30ed\u30fc\u30c9\u3057\u306a\u3044\u3082\u306e\u3092\u542b\u3081\u3001systemd\u30d1\u30b9\u5185\u306e\u5229\u7528\u53ef\u80fd\u306a\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u3059\u3079\u3066\u8868\u793a\u3059\u308b\u3002<\/li>\n\n\n\n<li>&#8211;type=service : \u30b5\u30fc\u30d3\u30b9\u3092\u8868\u793a\u3059\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u306e\u7d50\u679c\u8868\u793a\u3055\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u30ea\u30b9\u30c8\u304b\u3089\u300cmariadb.service\u300d\u3092\u63a2\u3057\u307e\u3059\u3002<br>\u300cmariadb.service\u300d\u306eSTATE\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br>STATE\u304c\u3001\u300cenabled\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u81ea\u52d5\u8d77\u52d5\uff08OS\u306e\u8d77\u52d5\u6642\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\uff09\u306f\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>STATE\u304c\u3001\u300cdisabled\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u81ea\u52d5\u8d77\u52d5\uff08OS\u306e\u8d77\u52d5\u6642\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\uff09\u306f\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br><br>\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u300cctrl + c\u300d\u3092\u62bc\u4e0b\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u52d5\u8d77\u52d5\u3092\u6709\u52b9\u5316\/\u7121\u52b9\u5316\u3059\u308b\u65b9\u6cd5<\/h3>\n\n\n\n<p>MariaDB \u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5\u3092\u6709\u52b9\u5316\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u88dc\u8db3\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306f\u3001\u81ea\u52d5\u8d77\u52d5\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u7279\u306b\u7406\u7531\u304c\u7121\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002<br><br>MariaDB \u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5\u3092\u7121\u52b9\u5316\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u88dc\u8db3\uff09\u624b\u52d5\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\u3001\u505c\u6b62\u3059\u308b\u5834\u5408\u3084\u3001\u4ed6\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u5b9f\u884c\u3059\u308b\u3002<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d3\u30b9\u306e\u72b6\u614b\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p>MariaDB \u30b5\u30fc\u30d3\u30b9\u304c\u958b\u59cb\u3057\u3066\u3044\u308b\u304b\u505c\u6b62\u3057\u3066\u3044\u308b\u304b\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u306e\u7d50\u679c\u8868\u793a\u3055\u308c\u308b\u60c5\u5831\u304b\u3089\u300cActive:\u300d\u884c\u3092\u63a2\u3057\u307e\u3059\u3002<br>\u300cActive:\u300d\u304c\u3001\u300cactive (running)\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u306f\u958b\u59cb\u3057\u3066\u3044\u307e\u3059\u3002<br>\u300cActive:\u300d\u304c\u3001\u300cinactive (dead)\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u306f\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002<br><br>\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u300cctrl + c\u300d\u3092\u62bc\u4e0b\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\/\u505c\u6b62\u3059\u308b\u65b9\u6cd5<\/h3>\n\n\n\n<p>MariaDB \u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u88dc\u8db3\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u306f\u958b\u59cb\u6e08\u307f\u306a\u306e\u3067\u3001\u7279\u306b\u7406\u7531\u304c\u7121\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002<br>MariaDB \u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u6ce8\u610f\uff09\u81ea\u52d5\u8d77\u52d5\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3057\u3066\u3082\u3001OS\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d3\u30b9\u306f\u958b\u59cb\u3059\u308b\u3002<br><\/p>\n\n\n\n<p><strong>PHP<\/strong><\/p>\n\n\n\n<p>pi@raspberrypi:~ $ sudo apt install php7.4<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305fPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ php -v\nPHP 7.4.15 (cli) (built: Feb 12 2021 14:48:10) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n    with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>WordPress\u30b5\u30fc\u30d0\u3092\u52d5\u4f5c\u3055\u305b\u308b\u4e0a\u3067\u5fc5\u8981\u306aPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo apt install php7.4-curl php7.4-json php7.4-mbstring php7.4-mysql php7.4-imagick php7.4-xml php7.4-zip\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">PHP\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u300c\/etc\/php\/7.4\/apache2\/php.ini\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3001\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo vi \/etc\/php\/7.4\/apache2\/php.ini\n\n\u3010\u7de8\u96c6\u5185\u5bb9\u3011\n\uff5e\uff08\u7565\uff09\uff5e\n<\/code><\/pre>\n\n\n<p>[mbstring]<\/p>\n\n\n\n<p>; language for internal character representation. ; This affects mb_send_mail() and mbstring.detect_order. ; http:\/\/php.net\/mbstring.language mbstring.language = Japanese &lt;== \u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u89e3\u9664 \uff5e\uff08\u7565\uff09\uff5e memory_limit = 128M post_max_size = 40M upload_max_filesize = 30M pi@raspberrypi:~ $<\/p>\n\n\n\n<p>\u300cmemory_limit\u300d\u3001\u300cpost_max_size\u300d\u3001\u300cupload_max_filesize\u300d\u306e\u521d\u671f\u306e\u8a2d\u5b9a\u5024\u3067\u306f\u3001\u30b5\u30a4\u30ba\u306e\u5927\u304d\u306a\u30c6\u30fc\u30de\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u5834\u5408\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u3001\u8a2d\u5b9a\u5909\u66f4\u3092\u884c\u3044\u307e\u3059\u3002<br>\u5404\u8a2d\u5b9a\u5024\u306f\u3001\u300cmemory_limit\u300d\u306e\u6570\u5024\u304c\u4e00\u756a\u5927\u304d\u304f\u3001\u7d9a\u3044\u3066\u3001\u300cze\u300d\u306e\u6570\u5024\u3001\u305d\u3057\u3066\u3001\u300cupload_max_filesize\u300d\u304c\u4e00\u756a\u5c0f\u3055\u3044\u6570\u5024\u306b\u306a\u308b\u3088\u3046\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">php-fpm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>Apache Web\u30b5\u30fc\u30d0\u304b\u3089PHP\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u5fc5\u8981\u306b\u306a\u308bphp-fpm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<br>php-fpm\u306f\u3001FPM\uff08FastCGI Process Manager)\u3068\u8a00\u308f\u308c\u308bPHP\u306eFastCGI\u5b9f\u88c5\u306e\u3072\u3068\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo apt install php7.4-fpm\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059... \u5b8c\u4e86\n    \uff5e\uff08\u4e2d\u7565\uff09\uff5e\nCreating config file \/etc\/php\/7.4\/fpm\/php.ini with new version\nNOTICE: Not enabling PHP 7.4 FPM by default.\nNOTICE: To enable PHP 7.4 FPM in Apache2 do:\nNOTICE: a2enmod proxy_fcgi setenvif\nNOTICE: a2enconf php7.4-fpm\nNOTICE: You are seeing this message because you have apache2 package installed.\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/php7.4-fpm.service \u2192 \/lib\/systemd\/system\/php7.4-fpm.service.\nman-db (2.8.5-2) \u306e\u30c8\u30ea\u30ac\u3092\u51e6\u7406\u3057\u3066\u3044\u307e\u3059 ...\nsystemd (241-7~deb10u6+rpi1) \u306e\u30c8\u30ea\u30ac\u3092\u51e6\u7406\u3057\u3066\u3044\u307e\u3059 ...\nphp7.4-fpm (7.4.15-2+0~20210212.37+debian10~1.gbp5dee47) \u306e\u30c8\u30ea\u30ac\u3092\u51e6\u7406\u3057\u3066\u3044\u307e\u3059 ...\nNOTICE: Not enabling PHP 7.4 FPM by default.\nNOTICE: To enable PHP 7.4 FPM in Apache2 do:\nNOTICE: a2enmod proxy_fcgi setenvif\nNOTICE: a2enconf php7.4-fpm\nNOTICE: You are seeing this message because you have apache2 package installed.\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u5b9f\u884c\u7d50\u679c\u3088\u308a\u3001php-fpm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3068\u3001\u81ea\u52d5\u7684\u306b\u6709\u52b9\u5316\u3055\u308c\u3001\u5fc5\u8981\u306a\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306ephp-fpm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u7d50\u679c\u3088\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3068\u3001\u81ea\u52d5\u7684\u306b\u6709\u52b9\u5316\u3055\u308c\u3001\u5fc5\u8981\u306a\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>Apache Web\u30b5\u30fc\u30d0\u306e\u518d\u8d77\u52d5\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo systemctl restart apache2\npi@raspberrypi:~<\/code><\/pre>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color has-large-font-size wp-elements-4dc1f9d1342439b04dfd052142c02f0c\"><a href=\"https:\/\/www.ingenious.jp\/articles\/howto\/raspberry-pi-howto\/wordpress-server-setup\/\">https:\/\/www.ingenious.jp\/articles\/howto\/raspberry-pi-howto\/wordpress-server-setup\/<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PHP\u74b0\u5883\u306e\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30c6\u30b9\u30c8\u7528\u30d5\u30a1\u30a4\u30eb\u300ctest.php\u300d\u3092\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\uff08\/var\/www\/\uff09\u306b\u4f5c\u6210\u3057\u3001PHP\u306e\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo vi \/var\/www\/html\/test.php\n\n\u3010\u8a18\u8f09\u5185\u5bb9\u3011\n&lt;?php\n        phpinfo();\n?&gt;\n\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>Web\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u306b\u3001PHP\u306e\u5404\u7a2e\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>URL\uff1ahttp:\/\/&lt;IP\u30a2\u30c9\u30ec\u30b9\u3000\u307e\u305f\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u540d&gt;\/test.php<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-phpinfo.png\" alt=\"\" class=\"wp-image-1571\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Apache Web\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">ServerName\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>Apache Web\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u76f4\u5f8c\u306e\u521d\u671f\u8a2d\u5b9a\u3067\u306f\u3001\u300cServerName\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u300c\/etc\/apache2\/apache2.conf\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3001\u300cServerName\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u30b5\u30fc\u30d0\u540d\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<br>\u300cServerName\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u300c# Global configuration\u300d\u3068\u3044\u3046\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002\u8a18\u8f09\u3059\u308b\u30b5\u30fc\u30d0\u540d\u306f\u3001\u3054\u4f7f\u7528\u306e\u74b0\u5883\u306b\u5fdc\u3058\u3066\u3001\u9069\u5b9c\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<br>\uff08\u3053\u3053\u3067\u306f\u3001\u30b5\u30fc\u30d0\u540d\u3092\u300cwww.ingenious.jp\u300d\u3068\u3057\u307e\u3059\u3002\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo vi \/etc\/apache2\/apache2.conf\n\n\u3010\u8a18\u8f09\u5185\u5bb9\u3011\n# Global configuration\n#\n\nServerName www.ingenious.jp  &lt;-- \u300c# Global configuration\u300d\u306e\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\u306b\u8ffd\u8a18\n\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>ServerName\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u8a18\u8f09\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u3001\u300capache2ctl\u300d\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u6642\u306b\u3001\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>AH00558: apache2: Could not reliably determine the server\u2019s fully qualified domain name, using 127.0.1.1. Set the \u2018ServerName\u2019 directive globally to suppress this message<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DirectoryIndex\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u8a2d\u5b9a\u5909\u66f4<\/h3>\n\n\n\n<p>\u521d\u671f\u8a2d\u5b9a\u3067\u306f\u3001Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3063\u305f\u5834\u5408\u3084\u30d5\u30a1\u30a4\u30eb\u304c\u6307\u5b9a\u3055\u308c\u306a\u304b\u3063\u305f\u5834\u5408\uff08\u6700\u5f8c\u304c\u300c\/\u300d\u3067\u7d42\u308b\uff09\u306b\u300cindex.html\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u8fd4\u3055\u308c\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u3001WordPress\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u3042\u308b\u300cindex.php\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u8fd4\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u8a2d\u5b9a\u5909\u66f4\u3092\u884c\u3044\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3001\u300c\/etc\/apache2\/mods-available\/dir.conf\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3001WordPress\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u3042\u308b\u300cindex.php\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u6700\u521d\u306b\u8fd4\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u5909\u66f4\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo vi \/etc\/apache2\/mods-available\/dir.conf\n\n\u3010\u7de8\u96c6\u524d\u3011\n&lt;IfModule mod_dir.c&gt;\n        DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm\n&lt;\/IfModule&gt;\n\n\u3010\u7de8\u96c6\u5f8c\u3011\uff1a\u300cindex.php\u300d\u3092\u4e00\u756a\u6700\u521d\u306b\u8a18\u8f09\u3057\u307e\u3059\u3002\n&lt;IfModule mod_dir.c&gt;\n        DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm\n&lt;\/IfModule&gt;\n\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>DirectoryIndex\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u8a18\u8f09\u3057\u305f\u9806\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u6709\u52b9\u5316<\/h3>\n\n\n\n<p>WordPress \u306f\u3001\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308bRewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u305fRewriteRule\u306b\u57fa\u3065\u304d\u3001\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u306f\u3001Apache Web\u30b5\u30fc\u30d0\u3092\u4f7f\u7528\u3057\u305f\u74b0\u5883\u3067\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5358\u4f4d\u3067\u5236\u5fa1\u3092\u884c\u3046\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3059\u308b\u3068\u3001\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u8a2d\u5b9a\u5185\u5bb9\u304c\u3001\u914d\u7f6e\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3068\u305d\u306e\u914d\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u5bfe\u3057\u3066\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001Apache Web\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u76f4\u5f8c\u306e\u521d\u671f\u8a2d\u5b9a\u3067\u306f\u3001Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u72b6\u614b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ apache2ctl -t -D DUMP_MODULES | grep rewrite\npi@raspberrypi:~ $\n\n\u203b\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u300crewrite_module (shared)\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f\uff01<br>Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u7121\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067\u3001\u6295\u7a3f\u8a18\u4e8b\u3092\u4f5c\u6210\u3057\u300c\u4e0b\u66f8\u304d\u4fdd\u5b58\u300d\u3084\u300c\u516c\u958b\u300d\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u753b\u9762\u306e\u3088\u3046\u306b\u3001<strong>\u300c\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u8fd4\u7b54\u304c\u6b63\u3057\u3044JSON\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u300d<\/strong>\u3068\u8868\u793a\u3055\u308c\u3001\u6295\u7a3f\u8a18\u4e8b\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/04\/wordpress-json-error.png\" alt=\"\" class=\"wp-image-1663\"\/><\/figure>\n\n\n\n<p>\u3053\u306e\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo a2enmod rewrite\nEnabling module rewrite.\nTo activate the new configuration, you need to run:\n  systemctl restart apache2\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u6b21\u306b\u3001\u5909\u66f4\u5185\u5bb9\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001Apache Web\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo systemctl restart apache2\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u518d\u8d77\u52d5\u5f8c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001Rewrite\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6709\u52b9\u5316\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ apache2ctl -t -D DUMP_MODULES | grep rewrite\n rewrite_module (shared)\npi@raspberrypi:~ $\n\n\u203b\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u300crewrite_module (shared)\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">AllowOverride\u306e\u8a2d\u5b9a\u5909\u66f4<\/h3>\n\n\n\n<p>\u521d\u671f\u72b6\u614b\u3067\u306f\u3001\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8f09\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u3001\u3059\u3079\u3066\u7121\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u6709\u52b9\u5316\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300c\/etc\/apache2\/apache2.conf\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u5ff5\u306e\u305f\u3081\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u6307\u5b9a\u3055\u308c\u305f\u5834\u5408\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4e00\u89a7\u8868\u793a\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u5909\u66f4\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo vi \/etc\/apache2\/apache2.conf\n\n\u3010\u5909\u66f4\u524d\u3011\n&lt;Directory \/var\/www\/&gt;\n        Options Indexes FollowSymLinks\n        AllowOverride None\n        Require all granted\n&lt;\/Directory&gt;\n\n\u3010\u5909\u66f4\u5f8c\u3011\n&lt;Directory \/var\/www\/&gt;\n        Options FollowSymLinks  &lt;-- \u300cIndexes\u300d\u3092\u524a\u9664\n        AllowOverride All  &lt;-- \u300cAll\u300d\u306b\u4fee\u6b63\n        Require all granted\n&lt;\/Directory&gt;\n\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>Options\u306f\u3001\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u6a5f\u80fd\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Indexes<\/td><td>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u3001DirectoryIndex\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb<br>\uff08index.php\u7b49\uff09\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td>FollowSymLinks<\/td><td>\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306e\u30ea\u30f3\u30af\u5148\u3092\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>AllowOverride\u306f\u3001\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u7528\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>None<\/td><td>\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<\/td><\/tr><tr><td>All<\/td><td>\u300c.htaccess\u300d\u30d5\u30a1\u30a4\u30eb\u3067\u8a18\u8ff0\u53ef\u80fd\u306a\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u3059\u3079\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">MariaDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u4f7f\u7528\u3059\u308bMariaDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<br>MariaDB\u306f\u3001MySQL\u304b\u3089\u6d3e\u751f\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\uff08RDBMS\uff09\u3067\u3001\u7121\u6599\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001MySQL\u3068\u9ad8\u3044\u4e92\u63db\u6027\u3092\u6709\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MariaDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u6a19\u6e96\u306eapt\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u300cVersion 10.3\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo apt install mariadb-server-10.3\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo mysql -u root -p\nEnter password:  &lt;-- &#91;Enter]\u3092\u62bc\u3057\u307e\u3059\u3002\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 12\nServer version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#91;(none)]&gt; quit\nBye\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">MariaDB\u306e\u521d\u671f\u8a2d\u5b9a<\/h3>\n\n\n\n<p>MariaDB\u306e\u521d\u671f\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\u300cmysql_secure_installation\u300d\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001MariaDB\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30d7\u30b7\u30e7\u30f3\u7b49\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo  mysql_secure_installation\n\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\n\nIn order to log into MariaDB to secure it, we'll need the current\npassword for the root user.  If you've just installed MariaDB, and\nyou haven't set the root password yet, the password will be blank,\nso you should just press enter here.\n\nEnter current password for root (enter for none):    &lt;== &#91;Enter]\u3092\u62bc\u3057\u307e\u3059\u3002\nOK, successfully used password, moving on...\n\nSetting the root password ensures that nobody can log into the MariaDB\nroot user without the proper authorisation.\n\nSet root password? &#91;Y\/n] Y   &lt;== root\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u3001&#91;Y]\u3092\u5165\u529b\u3057\u307e\u3059\u3002\nNew password:    &lt;== \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002\nRe-enter new password:   &lt;== \u518d\u5ea6\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002\nPassword updated successfully!\nReloading privilege tables..\n ... Success!\n\n\nBy default, a MariaDB installation has an anonymous user, allowing anyone\nto log into MariaDB without having to have a user account created for\nthem.  This is intended only for testing, and to make the installation\ngo a bit smoother.  You should remove them before moving into a\nproduction environment.\n\nRemove anonymous users? &#91;Y\/n] Y    &lt;== \u533f\u540d\u30e6\u30fc\u30b6\u30fc\u3092\u524a\u9664\u3059\u308b\u305f\u3081\u3001&#91;Y]\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n ... Success!\n\nNormally, root should only be allowed to connect from 'localhost'.  This\nensures that someone cannot guess at the root password from the network.\n\nDisallow root login remotely? &#91;Y\/n] Y    &lt;== \u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3092\u62d2\u5426\u3059\u308b\u305f\u3081\u3001&#91;Y]\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n ... Success!\n\nBy default, MariaDB comes with a database named 'test' that anyone can\naccess.  This is also intended only for testing, and should be removed\nbefore moving into a production environment.\n\nRemove test database and access to it? &#91;Y\/n] Y    &lt;== \u4e0d\u8981\u306a\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u524a\u9664\u3059\u308b\u305f\u3081\n - Dropping test database...                          &#91;Y]\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n ... Success!\n - Removing privileges on test database...\n ... Success!\n\nReloading the privilege tables will ensure that all changes made so far\nwill take effect immediately.\n\nReload privilege tables now? &#91;Y\/n] Y    &lt;== \u3053\u308c\u307e\u3067\u306b\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\n ... Success!                               &#91;Y]\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n\nCleaning up...\n\nAll done!  If you've completed all of the above steps, your MariaDB\ninstallation should now be secure.\n\nThanks for using MariaDB!\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u521d\u671f\u8a2d\u5b9a\u306e\u5909\u66f4<\/h3>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306e\u521d\u671f\u72b6\u614b\u3067\u306f\u3001\u300cmysql -u root -p\u300d\u30b3\u30de\u30f3\u30c9\u3067\u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u300csudo mysql -u root -p\u300d\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u63a5\u7d9a\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ mysql -u root -p\nEnter password:\nERROR 1698 (28000): Access denied for user 'root'@'localhost'\npi@raspberrypi:~ $ sudo mysql -u root -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 59\nServer version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#91;(none)]&gt; quit\nBye\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u305f\u3081\u3001\u4ee5\u4e0b\u306eSQL\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u300cmysql -u root -p\u300d\u30b3\u30de\u30f3\u30c9\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo mysql -u root -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 64\nServer version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#91;(none)]&gt; grant all privileges on *.* to root@localhost identified by 'password' with grant option;\nQuery OK, 0 rows affected (0.001 sec)\n\nMariaDB &#91;(none)]&gt; flush privileges;\nQuery OK, 0 rows affected (0.001 sec)\n\nMariaDB &#91;(none)]&gt; quit\nBye\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u300cmysql -u root -p\u300d\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ mysql -u root -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 66\nServer version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#91;(none)]&gt; quit\nBye\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n\n\n\n<p>WordPress\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ wget https:\/\/ja.wordpress.org\/latest-ja.tar.gz\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u300clatest-ja.tar.gz\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ ls -l\n\u5408\u8a08 15940\ndrwxr-xr-x 2 pi   pi       4096  1\u6708 11 22:01 Bookshelf\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 buster\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 deb\n-rw-r--r-- 1 pi   pi   16304330  2\u6708 12 17:00 latest-ja.tar.gz\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 main\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u6b21\u306b\u3001\u89e3\u51cd\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ tar -xzvf latest-ja.tar.gz\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u300cwordpress\u300d\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ ls -l\n\u5408\u8a08 15944\ndrwxr-xr-x 2 pi   pi       4096  1\u6708 11 22:01 Bookshelf\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 buster\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 deb\n-rw-r--r-- 1 pi   pi   16304330  2\u6708 12 17:00 latest-ja.tar.gz\n-rw-r--r-- 1 root root       46  2\u6708 17 18:57 main\ndrwxr-xr-x 5 pi   pi       4096  2\u6708 12 17:00 wordpress\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001MySQL\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3092\u300cdb_wordpress\u300d\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u300cwp_user\u300d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u300cpassword\u300d\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ mysql -u root -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 13\nServer version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#91;(none)]&gt; CREATE DATABASE db_wordpress;\nQuery OK, 1 row affected (0.001 sec)\n\nMariaDB &#91;(none)]&gt; GRANT ALL PRIVILEGES ON db_wordpress.* TO \"wp_user\"@\"localhost\" IDENTIFIED BY \"password\";\nQuery OK, 0 rows affected (0.003 sec)\n\nMariaDB &#91;(none)]&gt; FLUSH PRIVILEGES;\nQuery OK, 0 rows affected (0.001 sec)\n\nMariaDB &#91;(none)]&gt; quit\nBye\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">wp-config.php\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>WordPress\u306e\u8a2d\u5b9a\u306f\u3001\u300cwp-config.php\u300d\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4e8b\u524d\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Apache&nbsp;Web\u30b5\u30fc\u30d0\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30fb\u30eb\u30fc\u30c8\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bWordPress\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo cp -R .\/wordpress\/* \/var\/www\/html\/\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f\uff01<br>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bWordPress\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u300cwordpress\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u81ea\u4f53\u3067\u306f\u306a\u304f\u3001\u300cwordpress\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6a29\u9650\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>Apache Web\u30b5\u30fc\u30d0\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30fb\u30eb\u30fc\u30c8\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305fWordPress\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002Apache&nbsp;Web\u30b5\u30fc\u30d0\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\uff08www-data\uff09\u306e\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~ $ sudo chown -R www-data:www-data \/var\/www\/html\/\npi@raspberrypi:~ $<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u30b5\u30fc\u30d0\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u521d\u671f\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3044\u307e\u3059\u3002<br>Web\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>URL\uff1ahttp:\/\/&lt;IP\u30a2\u30c9\u30ec\u30b9\u3000\u307e\u305f\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u540d&gt;\/wp-admin\/install.php<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u300c\u3055\u3042\u3001\u59cb\u3081\u307e\u3057\u3087\u3046\uff01\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-01.png\" alt=\"\" class=\"wp-image-1565\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u300d\u3001\u300c\u30e6\u30fc\u30b6\u30fc\u540d\u300d\u3001\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30db\u30b9\u30c8\u300d\u306e\u5404\u5165\u529b\u6b04\u306b\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u53ca\u3073\u30e6\u30fc\u30b6\u30fc\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u300c\u30c6\u30fc\u30d6\u30eb\u63a5\u982d\u8f9e\u300d\u306f\u3001\u7279\u306b\u7406\u7531\u304c\u306a\u3044\u9650\u308a\u3001\u5909\u66f4\u306e\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br>\u5165\u529b\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u300c\u9001\u4fe1\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-02.png\" alt=\"\" class=\"wp-image-1566\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-03.png\" alt=\"\" class=\"wp-image-1567\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u300c\u3088\u3046\u3053\u305d\u300d\u3068\u3044\u3046\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u60c5\u5831\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br>\u5165\u529b\u3059\u308b\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u60c5\u5831\u306f\u3001\u9069\u5b9c\u3001\u74b0\u5883\u306b\u5fdc\u3058\u3066\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u5165\u529b\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u300cWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8aa4\u3063\u3066\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u30b5\u30a4\u30c8\u304c\u30a4\u30f3\u30c7\u30af\u30b9\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3001\u300c\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u30b5\u30a4\u30c8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u300d\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-04.png\" alt=\"\" class=\"wp-image-1568\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001WordPress\u30b5\u30fc\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3067\u3059\u3002<br>\u300c\u30ed\u30b0\u30a4\u30f3\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-05.png\" alt=\"\" class=\"wp-image-1569\"\/><\/figure>\n\n\n\n<p>\u300c\u30e6\u30fc\u30b6\u30fc\u540d\u300d\u53ca\u3073\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u3092\u5165\u529b\u3057\u3001\u300c\u30ed\u30b0\u30a4\u30f3\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ingenious.jp\/wp-content\/uploads\/2021\/02\/wordpress-setup-06.png\" alt=\"\" class=\"wp-image-1570\"\/><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u3067WordPress\u30b5\u30fc\u30d0\u306e\u69cb\u7bc9\u306f\u7d42\u4e86\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30e9\u30ba\u30d1\u30a4\u3067Wordpress\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u306f\u3001apache2 Mariadb PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067Wordpress\u306e\u52d5\u4f5c\u74b0\u5883\u3092\u6574\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 Apache2 Mariadb \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6d41\u308c\u306f\u4ee5\u4e0b\u3067\u3059\u3002 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/anabuki.mydns.jp\/blog1\/?p=442\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30e9\u30ba\u30d1\u30a4\u3078\u306eWordprss\u306e\u5b9f\u88c5&#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":[5,6],"tags":[],"_links":{"self":[{"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/posts\/442"}],"collection":[{"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=442"}],"version-history":[{"count":4,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":450,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=\/wp\/v2\/posts\/442\/revisions\/450"}],"wp:attachment":[{"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anabuki.mydns.jp\/blog1\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}