{"id":9322,"date":"2014-11-12T23:03:20","date_gmt":"2014-11-12T14:03:20","guid":{"rendered":"http:\/\/www.itblog.jp\/?p=9322"},"modified":"2014-11-12T23:08:15","modified_gmt":"2014-11-12T14:08:15","slug":"wordpress%e3%81%ae%e3%82%b5%e3%83%bc%e3%83%90%e9%9a%9c%e5%ae%b3%e5%af%be%e5%bf%9c%e3%81%ae%e8%a8%98%e9%8c%b2","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9322","title":{"rendered":"WordPress\u306e\u30b5\u30fc\u30d0\u969c\u5bb3\u5bfe\u5fdc\u306e\u8a18\u9332"},"content":{"rendered":"<p>\u4eca\u65e5\u306f\u3001\u7ba1\u7406\u3057\u3066\u3044\u308b\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306e\u30b5\u30fc\u30d0\u306b\u8b0e\u306e\u969c\u5bb3\u304c\u767a\u751f\u3057\u3001\u5bfe\u5fdc\u304c\u5927\u5909\u3067\u3057\u305f\u3002<br \/>\n\u4f55\u3068\u304b\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3082\u517c\u306d\u3066\u5bfe\u5fdc\u306e\u8a18\u9332\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u8d77\u304d\u305f\u969c\u5bb3\u306e\u72b6\u6cc1<\/h2>\n<p>WordPress\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u304c\u7a81\u7136\u30c0\u30a6\u30f3\u3057\u3066\u3057\u307e\u3044\u3001\u30a2\u30af\u30bb\u30b9\u4e0d\u53ef\u306b\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u30a8\u30e9\u30fc\u3068\u3044\u3046\u72b6\u6cc1\u3002<\/p>\n<h2>\u539f\u56e0<\/h2>\n<p>\u30b5\u30fc\u30d0\u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304cMAX\u306b\u9054\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3069\u3046\u3057\u3066\u308f\u304b\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001FTP\u3067\u30a2\u30c3\u30d7\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5168\u30660\u30d0\u30a4\u30c8\u306b\u306a\u3063\u3066\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3057\u307e\u3044\u3001\u30a2\u30c3\u30d7\u3067\u304d\u306a\u3044\u3002<br \/>\n\u305d\u308c\u3069\u3053\u308d\u304b\u3001\u30a2\u30c3\u30d7\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3067\u4e0a\u66f8\u304d\u3092\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3057\u3066\u3057\u307e\u3046\u3002<br \/>\n\u3053\u308c\u306f\u4f55\u6545\u304b\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u5bb9\u91cf\u304c\u306a\u3044\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u73fe\u8c61\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n<p>\u3055\u3089\u306b\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c\u30de\u30c3\u30af\u30b9\u306e\u305f\u3081\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u3067\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n<h2>\u5bfe\u51e6\u6cd5<\/h2>\n<p>\uff11\uff0e\u30b5\u30fc\u30d0\u306b\u3042\u308b\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664<\/p>\n<p>\u30b5\u30fc\u30d0\u4e0a\u306e\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u4e0a\u306e\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u306e\u898b\u3064\u3051\u65b9<br \/>\n\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067<br \/>\ndf -h<br \/>\n\u3053\u308c\u3067\u3001\u307e\u305a\u73fe\u5728\u306e\u30c7\u30a3\u30b9\u30af\u306e\u4f7f\u7528\u91cf\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5bfe\u51e6\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\uff08\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u306f100%\u306e\u4f7f\u7528\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u65e9\u6025\u306b\u5bfe\u51e6\u304c\u5fc5\u8981\u306a\u72b6\u6cc1\u3067\u3057\u305f\u3002\uff09<\/p>\n<p>\u5bb9\u91cf\u3092\u591a\u304f\u4f7f\u3063\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u898b\u3064\u3051\u65b9<\/p>\n<p>du \/ | sort -nr | head -30<\/p>\n<p>\u3053\u308c\u3067\u3001\u30b5\u30fc\u30d0\u4e0a\u306e\u5bb9\u91cf\u306e\u591a\u3044\u4e0a\u4f4d30\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9806\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d<\/p>\n<p>\/var\/log\/httpd\/<\/p>\n<p>\u3068\u3001Apache\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u307b\u3068\u3093\u3069\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u4f7f\u3044\u5207\u3063\u3066\u308b\u72b6\u614b\u3067\u3057\u305f\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u904e\u53bb\u306e\u4e0d\u8981\u306a\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u3066\u3001\u5bb9\u91cf\u3092\u78ba\u4fdd\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\uff12\uff0e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4fee\u5fa9<\/p>\n<p>\u3057\u304b\u3057\u3001\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u78ba\u4fdd\u3057\u307e\u3057\u305f\u304c\u3001WordPress\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u7834\u640d\u3057\u3066\u3044\u3066\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u4e0d\u53ef\u3002<br \/>\n\/wp-admin\/\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4fee\u5fa9\u304c\u5fc5\u8981\u300d\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001phpmyadmin\u306b\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u5ff5\u306e\u305f\u3081\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5f8c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4fee\u5fa9\u3092\u884c\u3044\u307e\u3057\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4fee\u5fa9\u306f\u3001wp-config.php\u3000\u306b\u3000define(&#8216;WP_ALLOW_REPAIR&#8217;, true);\u3000\u3092\u8ffd\u52a0\u5f8c \/wp-admin\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4fee\u5fa9\u304c\u5fc5\u8981\u306a\u30c6\u30fc\u30d6\u30eb\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u3042\u3068\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089MySQL\u306b\u63a5\u7d9a\u5f8c\u3001<\/p>\n<p>repair table \u30c6\u30fc\u30d6\u30eb\u540d;<\/p>\n<p>\u3068\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4fee\u6b63\u304c\u5fc5\u8981\u306a\u30c6\u30fc\u30d6\u30eb\u3092\u4fee\u5fa9\u3057\u307e\u3059\u3002<br \/>\n\u3059\u308b\u3068\u3001\u3053\u308c\u3067\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u7121\u4e8b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>\u4eca\u5f8c\u306e\u5bfe\u7b56<\/h2>\n<p>\u4eca\u56de\u554f\u984c\u304c\u8d77\u304d\u305f\u539f\u56e0\u3068\u3057\u3066\u3001Apache\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304c\u77e5\u3089\u306a\u3044\u9593\u306b\u80a5\u5927\u5316\u3057\u3001\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u4f7f\u3044\u304d\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u3053\u3068\u306b\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u307e\u305a\u306f\u5bfe\u7b56\u3068\u3057\u3066\u3001Apache\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b\u306b\u5236\u9650\u3092\u304b\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u4e0a\u3067\u3001\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c\u5371\u306a\u304f\u306a\u3063\u3066\u304f\u308b\u3068\u7ba1\u7406\u8005\u306b\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3059\u308b\u3088\u3046\u306a\u4ed5\u7d44\u307f\u304c\u69cb\u7bc9\u3067\u304d\u308c\u3070\u306a\u304a\u30d9\u30b9\u30c8\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u4eca\u56de\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u4fee\u5fa9\u3067\u304d\u305f\u306e\u3067\u826f\u304b\u3063\u305f\u3067\u3059\u304c\u3001\u3082\u3057\u7834\u640d\u3057\u3066\u3057\u307e\u3044\u4fee\u5fa9\u3067\u304d\u306a\u3044\u3068\u672c\u5f53\u306b\u3069\u3046\u3057\u3088\u3046\u3082\u306a\u3044\u4e8b\u614b\u306b\u9665\u3063\u3066\u3044\u305f\u53ef\u80fd\u6027\u3082\u3042\u308b\u306e\u3067\u3001\u5ff5\u306e\u305f\u3081\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092cron\u3067\u7d44\u3093\u3067\u304a\u304f\u3053\u3068\u3082\u5fc5\u8981\u3068\u3044\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<h2>\u4eca\u601d\u3048\u3070\u30fb\u30fb\u30fb<\/h2>\n<p>\u4eca\u56de\u8d77\u304d\u305f\u72b6\u6cc1\u306e\u4e8b\u524d\u306e\u72b6\u6cc1\u3068\u3057\u3066\u3001\u4e8b\u524d\u306b\u30d5\u30e9\u30b0\u3068\u601d\u3048\u308b\u3088\u3046\u306a\u73fe\u8c61\u304c\u8d77\u304d\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\uff11\uff0ephpmyadmin\u3067\u753b\u9762\u304c\u771f\u3063\u767d<\/p>\n<p>phpmyadmin\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u753b\u9762\u304c\u771f\u3063\u767d\u306b\u306a\u308a\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305a\u3001\u539f\u56e0\u304c\u4e0d\u660e\u3067\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3082\u539f\u56e0\u304c\u30c7\u30a3\u30b9\u30af\u7a7a\u304d\u5bb9\u91cf\u304c\u5c11\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3060\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\uff12\u30fbFTP\u3067\u8ee2\u9001\u3067\u304d\u306a\u3044<\/p>\n<p>\u3042\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u304b\u3089\u7a81\u7136FTP\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u8ee2\u9001\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3082\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u306b\u7a7a\u304d\u304c\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u3042\u305f\u308a\u3067\u65e9\u3081\u306b\u6c17\u304c\u3064\u304f\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u4e8b\u524d\u306b\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u304c\u3001\u3053\u308c\u307e\u3067\u3053\u3046\u3044\u3063\u305f\u73fe\u8c61\u306b\u906d\u9047\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u306e\u3067\u6c17\u304c\u4ed8\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306f\u3001\u7ba1\u7406\u3057\u3066\u3044\u308b\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306e\u30b5\u30fc\u30d0\u306b\u8b0e\u306e\u969c\u5bb3\u304c\u767a\u751f\u3057\u3001\u5bfe\u5fdc\u304c\u5927\u5909\u3067\u3057\u305f\u3002 \u4f55\u3068\u304b\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3082\u517c\u306d\u3066\u5bfe\u5fdc\u306e\u8a18\u9332\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 \u8d77\u304d\u305f\u969c\u5bb3\u306e\u72b6\u6cc1 WordPress\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u304c\u7a81\u7136\u30c0\u30a6\u30f3\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[],"class_list":["post-9322","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9322"}],"version-history":[{"count":4,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9322\/revisions"}],"predecessor-version":[{"id":9326,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9322\/revisions\/9326"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}