{"id":13316,"date":"2026-11-23T11:43:44","date_gmt":"2026-11-23T02:43:44","guid":{"rendered":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13316"},"modified":"2026-11-24T17:38:06","modified_gmt":"2026-11-24T08:38:06","slug":"wordpress%e3%81%ae%e5%b0%8e%e5%85%a5","status":"publish","type":"post","link":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13316","title":{"rendered":"WordPress\u306e\u5c0e\u5165"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30b5\u30fc\u30d0\u30fc\u3068Apache\u30fbPHP\u30fbMariaDB\u30fbphpMyAdmin \u306e\u7a3c\u50cd\u304c\u524d\u63d0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff11\uff0ePHP\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td><strong>PHP\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0<\/strong><br>\u3000WordPress\u3067\u5fc5\u8981\u30fb\u63a8\u5968<\/td><td>sudo apt update<br><br>sudo apt install php-mysql php-curl php-gd php-mbstring php-xml php-zip php-intl php-imagick<br><br>sudo systemctl restart apache2<\/td><\/tr><tr><td><strong>Apache\u306emod_rewrite\u6709\u52b9\u5316<\/strong><br>\u3000\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u7528<\/td><td>sudo a2enmod rewrite<br><br>sudo systemctl restart apache2<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff12\uff0e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000WordPress\u5c02\u7528\u306eDB\u3068\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u308b<br>\u3000\u3000\u3000root\u3067\u306f\u4f7f\u308f\u306a\u3044\u3053\u3068<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td>DB\u3092\u52d5\u304b\u3059<\/td><td>sudo mariadb<br><br>\u3000MariaDB [(none)]&gt;\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u78ba\u8a8d\u3057\u3001\u3053\u306e\u30a8\u30ea\u30a2\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000DB\u306b\u5bfe\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u306e\u5c5e\u6027\u3092\u6c7a\u3081\u308b<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9\uff08MariaDB\u7528\uff09<\/td><\/tr><tr><td>WordPress\u304cMariaDB\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u88cf\u65b9\u306e\u9375\u3092\u6c7a\u3081\u308b<br>\u3000DB\u540d<br>\u3000\u30e6\u30fc\u30b6\u30fc\u540d<br>\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\u3000\u3092\u7528\u610f\u3057\u3066\u304a\u304f<br><br>\u3000\u3053\u308c\u3067DB\u3068WP\u304c\u7e4b\u304c\u308b<br>\u3000WP\u3078\u306e\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306f\u3053\u306e\u5f8c<\/td><td>CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br><br>CREATE USER &#8216;wpuser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;\u5f37\u3044\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;;<br><br>GRANT ALL PRIVILEGES ON wordpress.* TO &#8216;wpuser&#8217;@&#8217;localhost&#8217;;<br><br>FLUSH PRIVILEGES;<br><br>EXIT;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff13\uff0eWordPress\u3092\u7528\u610f\u3059\u308b<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td><strong>WordPress<\/strong>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057<br>\u3000\/var\/www\/html\/\u76f4\u4e0b\u306b<br>\u3000wordpress\u30db\u30eb\u30c0\u30fc\u3092\u4f5c\u308a\u914d\u7f6e<\/td><td>cd \/tmp<br><br>wget https:\/\/ja.wordpress.org\/latest-ja.tar.gz<br><br>tar -xzf latest-ja.tar.gz<br><br>sudo mkdir -p \/var\/www\/html\/wordpress<br><br>sudo cp -a wordpress\/. \/var\/www\/html\/wordpress\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u6240\u6709\u8005\u3068\u6a29\u9650\u306e\u8a2d\u5b9a<\/strong>\uff08\u3053\u3053\u304c\u6700\u91cd\u8981\uff09<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td><strong>\u6240\u6709\u8005\u3068\u6a29\u9650\u306e\u8a2d\u5b9a<\/strong><br>\u3000\u6700\u91cd\u8981<\/td><td>sudo chown -R www-data:www-data \/var\/www\/html\/wordpress<br><br>sudo find \/var\/www\/html\/wordpress -type d -exec chmod 755 {} \\;<br><br>sudo find \/var\/www\/html\/wordpress -type f -exec chmod 644 {} \\;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u88dc\u8db3\uff08FileZilla\u3067WordPress\u5185\u306e\u7de8\u96c6\u3092\u8003\u3048\u308b\u5834\u5408\uff09<br>\u3000\u3000\u3000<code>\/var\/www\/html<\/code> \u306f\u4ee5\u524d root \u6240\u6709\u3060\u3063\u305f\u3001<br>\u3000\u3000\u3000FileZilla\u7528\u30e6\u30fc\u30b6\u30fc\u3067WordPress\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u89e6\u308b\u306a\u3089\u3001<br>\u3000\u3000\u3000\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u3092 <code>www-data<\/code> \u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3057\u3001<br>\u3000\u3000\u3000<code>chmod g+w<\/code> \u306a\u3069\u3067\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<br><br>\u3000\u3000\u3000WordPress\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb\u30c6\u30fc\u30de\u30fb\u66f4\u65b0\u3092\u7ba1\u7406\u753b\u9762\u304b\u3089\u884c\u3046<br>\u3000\u3000\u3000\u6240\u6709\u8005\u306f <code>www-data<\/code> \u306b\u7d71\u4e00\u3059\u308b\u306e\u304c\u4e00\u756a\u30c8\u30e9\u30d6\u30eb\u304c\u5c11\u306a\u3044<br><br>\u3000\u3000\u3000FileZilla\u3067WordPress\u30d5\u30a9\u30eb\u30c0\u5185\u3092\u76f4\u63a5\u7de8\u96c6\u3059\u308b\u306e\u306f\u907f\u3051\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff14\uff0e\u521d\u671f\u8a2d\u5b9a<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td>\u7ba1\u7406\u753b\u9762\u306b\u5165\u308b<\/td><td>http:\/\/\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\/wordpress\/ <br><br>\u3000\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9<br>\u3000\u3000\u3000localhost<br>\u3000\u3000\u3000172.0.0.1\u3000\u3092\u4f7f\u7528\u3059\u308b<\/td><\/tr><tr><td>WordPress\u306e\u521d\u671f\u8a2d\u5b9a<\/td><td>\u4efb\u610f\u306b\u8a2d\u5b9a\uff08\u72ec\u81ea\u306b\u8a2d\u5b9a\u53ef\uff09<br>\u3000DB\u540d\uff1a\u4efb\u610f<br>\u3000\u30e6\u30fc\u30b6\u30fc\u540d\uff1a\u4efb\u610f\uff08\u7ba1\u7406\u8005\uff09<br>\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\uff1a \u4efb\u610f<br><br>\u3000\u30b5\u30a4\u30c8\u540d<br>\u3000\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u540d<br>\u3000\u30d1\u30b9\u30ef\u30fc\u30c9<br>\u3000\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3000\u7b49\u3092\u8a2d\u5b9a<\/td><\/tr><tr><td>\u30ed\u30b0\u30a4\u30f3\u3059\u308b<\/td><td>\u52d5\u4f5c\u78ba\u8a8d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u30c8\u30e9\u30d6\u30eb\u6642<br>\u3000\u3000\u3000\u521d\u671f\u8a2d\u5b9a\u306e\u5185\u5bb9\u306f<code>wp-config.php<\/code> \u306b\u66f8\u304d\u8fbc\u307e\u308c\u308b<br>\u3000\u3000\u3000\u3053\u306e\u81ea\u52d5\u66f8\u304d\u8fbc\u307f\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u3001<br>\u3000\u3000\u3000\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u308b\u5185\u5bb9\u3092 <code>wp-config.php<\/code> \u3068\u3057\u3066\u624b\u52d5\u4f5c\u6210\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff15\uff0e<\/strong>\u6ce8\u610f\u4e8b\u9805<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000<strong>\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u540d<\/strong><br>\u3000\u3000\u3000<strong><code>admin<\/code> \u306b\u3057\u306a\u3044<\/strong>\uff08\u63a8\u6e2c\u3055\u308c\u3084\u3059\u3044\uff09<br><br>\u3000<strong>\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a<\/strong><br>\u3000\u3000\u3000\u8a2d\u5b9a \u2192 \u30d1\u30fc\u30de\u30ea\u30f3\u30af \u2192 \u300c\u6295\u7a3f\u540d\u300d\u306a\u3069\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58<br>\u3000\u3000\u3000\u3000\u3000404\u306b\u306a\u308b\u5834\u5408\u306f\u3001<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000Apache\u306e\u8a2d\u5b9a\u3067 <code>AllowOverride All<\/code> \u304c\u5fc5\u8981<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000<code>sudo nano \/etc\/apache2\/sites-available\/000-default.conf<\/code> <code>&lt;VirtualHost&gt;<\/code> \u5185\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3059\u308b<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000<code>sudo systemctl restart apache2<\/code> <code>&lt;Directory \/var\/www\/html\/wordpress&gt; AllowOverride All &lt;\/Directory&gt;<\/code><br><br>\u3000<strong>\u4e00\u822c\u8a2d\u5b9a\u306eURL\u78ba\u8a8d<\/strong><br>\u3000\u3000\u3000IP\u30a2\u30c9\u30ec\u30b9\u3067\u904b\u7528\u3059\u308b\u5834\u5408\u3001<br>\u3000\u3000\u3000\u3000\u3000\u30b5\u30fc\u30d0\u30fcIP\u304c\u5909\u308f\u308b\u3068\u30b5\u30a4\u30c8\u304c\u958b\u3051\u306a\u304f\u306a\u308b\u306e\u3067<br>\u3000\u3000\u3000\u3000\u3000\u30eb\u30fc\u30bf\u30fc\u5074\u3067IP\u30a2\u30c9\u30ec\u30b9\u306e\u56fa\u5b9a\u3092\u3057\u3066\u304a\u304f<br><br>\u3000\u4e0d\u8981\u306a\u521d\u671f\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb\u30c6\u30fc\u30de\u306e\u524a\u9664<br><br>\u3000\u4f7f\u308f\u306a\u3044\u306a\u3089\u3001\u30b3\u30e1\u30f3\u30c8\u6a5f\u80fd\u3092\u7121\u52b9\u5316\u306b\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff16\uff0e\u904b\u7528\u6642\u306e\u6ce8\u610f\u70b9<\/strong><\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">\u5168\u4f53\uff08\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff09<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5916\u90e8\u516c\u958b\u3057\u306a\u3044\u65b9\u91dd\u3092\u7dad\u6301<\/strong>: \u30eb\u30fc\u30bf\u30fc\u3067\u30dd\u30fc\u30c880\/443\/22\u306e\u958b\u653e\uff08\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\uff09\u3092\u3057\u306a\u3044\u3002UPnP\u304c\u6709\u52b9\u306a\u3089\u7121\u52b9\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/li>\n\n\n\n<li><strong>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\uff08UFW\uff09<\/strong>: LAN\u5185\u304b\u3089\u3060\u3051\u8a31\u53ef\u3057\u307e\u3059\u3002 <code>sudo ufw allow from 192.168.0.0\/24 to any port 80,22 proto tcp sudo ufw enable<\/code> \uff08\u81ea\u5206\u306eLAN\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<strong>\u6709\u52b9\u5316\u306e\u524d\u306bSSH\u8a31\u53ef\u3092\u5fc5\u305a\u8a2d\u5b9a<\/strong>\u3057\u306a\u3044\u3068\u63a5\u7d9a\u304c\u5207\u308c\u307e\u3059\uff09<\/li>\n\n\n\n<li><strong>\u66f4\u65b0\u3092\u6020\u3089\u306a\u3044<\/strong>: OS\u30fbPHP\u30fbMariaDB\u30fbWordPress\u672c\u4f53\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4fee\u6b63\u304c\u5b9a\u671f\u7684\u306b\u51fa\u307e\u3059\u3002 <code>sudo apt update &amp;&amp; sudo apt upgrade<\/code> \u81ea\u52d5\u3067\u9069\u7528\u3057\u305f\u3044\u5834\u5408\u306f <code>unattended-upgrades<\/code> \u304c\u4fbf\u5229\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">phpMyAdmin<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6700\u3082\u72d9\u308f\u308c\u3084\u3059\u3044\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3001<strong>LAN\u5185\u9650\u5b9a<\/strong>\u306b\u3057\u3066\u304a\u304f\u3002<\/li>\n\n\n\n<li>\u4f7f\u308f\u306a\u3044\u6642\u306f\u7121\u52b9\u5316\u3067\u304d\u307e\u3059: <code>sudo a2disconf phpmyadmin<\/code> \u2192 Apache\u518d\u8d77\u52d5\u3002\u5fc5\u8981\u306a\u6642\u3060\u3051 <code>a2enconf<\/code> \u3067\u6709\u52b9\u306b\u3002<\/li>\n\n\n\n<li>DB\u306eroot\u3067\u306a\u304f\u3001\u5c02\u7528\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">MariaDB<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>root\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3092\u8a31\u53ef\u3057\u306a\u3044\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306elocalhost\u306e\u307e\u307e\u306b\u3059\u308b\uff09\u3002<\/li>\n\n\n\n<li><code>mysql_secure_installation<\/code> \u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u4ef6\u306f\u3001\u65b0\u3057\u3044MariaDB\u3067\u306f <code>sudo mariadb-secure-installation<\/code> \u3068\u3044\u3046\u540d\u524d\u3067\u3059\u3002\u307e\u3060\u5b9f\u65bd\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u5fc5\u8981\u6700\u5c0f\u9650\u306b<\/strong>\u3002\u66f4\u65b0\u304c\u6b62\u307e\u3063\u305f\u3082\u306e\u306f\u4f7f\u308f\u306a\u3044\u3002<\/li>\n\n\n\n<li>\u7ba1\u7406\u8005\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u9577\u304f\u8907\u96d1\u306b\u3001\u53ef\u80fd\u306a\u30892\u8981\u7d20\u8a8d\u8a3c\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u691c\u8a0e\u3002<\/li>\n\n\n\n<li><code>wp-config.php<\/code> \u306f\u4ed6\u8005\u306b\u898b\u305b\u306a\u3044\u30fb\u5171\u6709\u3057\u306a\u3044\uff08DB\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5165\u3063\u3066\u3044\u307e\u3059\uff09\u3002<\/li>\n\n\n\n<li>\u7ba1\u7406\u753b\u9762\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u3092\u7121\u52b9\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>wp-config.php<\/code> \u306b <code>define('DISALLOW_FILE_EDIT', true);<\/code> \u3092\u8ffd\u52a0\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff08\u6700\u91cd\u8981\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5bfe\u8c61\u306f<strong>\u30d5\u30a1\u30a4\u30eb\u3068DB\u306e2\u3064<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># DB\nsudo mariadb-dump wordpress &gt; ~\/wordpress_$(date +%F).sql\n# \u30d5\u30a1\u30a4\u30eb\nsudo tar -czf ~\/wordpress_files_$(date +%F).tar.gz \/var\/www\/html\/wordpress\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4ee5\u524d\u306e\u65b9\u91dd\u3069\u304a\u308a\u3001<strong>Ubuntu\u3068\u306f\u5225\u306ePC\uff08Windows\u5074\uff09\u306b\u3082\u4fdd\u5b58<\/strong>\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u66f4\u65b0\u524d\uff08WordPress\u672c\u4f53\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u30fbOS\uff09\u306b\u306f\u5fc5\u305a\u53d6\u308b\u3002<\/li>\n\n\n\n<li>\u5fa9\u5143\u30c6\u30b9\u30c8\u3082\u4e00\u5ea6\u306f\u3084\u3063\u3066\u304a\u304f\u3068\u5b89\u5fc3\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e5\u5e38\u306e\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status apache2 mariadb      # \u7a3c\u50cd\u72b6\u6cc1\nsudo tail -n 50 \/var\/log\/apache2\/error.log   # \u4e0d\u5177\u5408\u6642\u306e\u30a8\u30e9\u30fc\u78ba\u8a8d\ndf -h                                  # \u30c7\u30a3\u30b9\u30af\u6b8b\u91cf\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u305d\u306e\u4ed6<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b5\u30fc\u30d0\u30fcPC\u306e<strong>\u96fb\u6e90\u65ad\u30fb\u7a81\u7136\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3<\/strong>\u306fDB\u7834\u640d\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002\u5fc5\u305a <code>sudo shutdown now<\/code> \u3067\u505c\u6b62\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u5c06\u6765\u3001\u5916\u90e8\u516c\u958b\u3057\u305f\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3001HTTPS\u5316\uff08Let&#8217;s Encrypt\uff09\u30fb\u30c9\u30e1\u30a4\u30f3\u53d6\u5f97\u30fb\u30ed\u30b0\u30a4\u30f3\u8a66\u884c\u5236\u9650\u30fbWAF\u306a\u3069\u3001\u5225\u9014\u3057\u3063\u304b\u308a\u3057\u305f\u5bfe\u7b56\u304c\u5fc5\u8981\u3067\u3059\u3002\u4eca\u306e\u69cb\u6210\u306e\u307e\u307e\u958b\u653e\u3059\u308b\u306e\u306f\u907f\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u305a\u3044\u305f\u7b87\u6240\uff08\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306a\u3069\uff09\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u307e\u307e\u8cbc\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u6b21\u306f\u3001WordPress\u306e\u521d\u671f\u753b\u9762\u307e\u3067\u9032\u3093\u3060\u6bb5\u968e\u3067\u30c6\u30fc\u30de\u9078\u3073\u3084FileZilla\u3068\u306e\u4f75\u7528\u65b9\u6cd5\u306a\u3069\u3082\u3054\u6848\u5185\u3067\u304d\u307e\u3059\u3002\u3000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbWordPress\u306e\u5c0e\u5165<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[103],"class_list":["post-13316","post","type-post","status-publish","format-standard","hentry","category-99_","tag-103"],"_links":{"self":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13316"}],"version-history":[{"count":13,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13316\/revisions"}],"predecessor-version":[{"id":13359,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13316\/revisions\/13359"}],"wp:attachment":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}