{"id":667,"date":"2014-03-23T00:17:56","date_gmt":"2014-03-22T15:17:56","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=667"},"modified":"2014-03-30T00:27:19","modified_gmt":"2014-03-29T15:27:19","slug":"wordpress-%e3%81%ae%e8%a1%a8%e7%a4%ba%e9%80%9f%e5%ba%a6%e3%82%92%e9%a9%9a%e3%81%8f%e3%81%bb%e3%81%a9%e9%ab%98%e9%80%9f%e5%8c%96%e3%81%95%e3%81%9b%e3%82%8b%e6%96%b9%e6%b3%95%ef%bc%81%e3%80%9credis","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=667","title":{"rendered":"WordPress \u306e\u8868\u793a\u901f\u5ea6\u3092\u9a5a\u304f\u307b\u3069\u9ad8\u901f\u5316\u3055\u305b\u308b\u65b9\u6cd5\uff01\u301cRedis\u9023\u643a"},"content":{"rendered":"<p>WordPress\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u3066\u3001\u8868\u793a\u901f\u5ea6\u304c\u9045\u3044\u306a\u3041\u3068\u611f\u3058\u305f\u3053\u3068\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\u9ad8\u901f\u5316\u306e\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3042\u308b\u3068\u304b\u3001VPS\u306a\u3069\u3067\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fApache\u3084Nginx\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3063\u305f\u308a\u3057\u307e\u3059\u3088\u306d\u3002\u4eca\u56de\u306f\u8ffd\u52a0\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5165\u308c\u305f\u308a\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u3057\u305f\u308a\u305b\u305a\u306b\u3001\u3061\u3087\u3063\u3068\u5225\u89d2\u5ea6\u304b\u3089Wordpress\u30b5\u30a4\u30c8\u3092\u8d85\uff01\uff01\u9ad8\u901f\u5316\u3055\u305b\u308b\u65b9\u6cd5\u3092\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3063\u3066\u3082\u3001\u79c1\u304c\u3059\u3054\u3044\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306ejeedo\u3055\u3093\u304c\u3001Great\u306a\u4ed5\u4e8b\u3092\u3057\u3066\u304f\u3060\u3055\u3063\u305f\u304a\u304b\u3052\u3067\u3059\u3002\u307f\u306a\u3055\u3093\u3053\u306e\u8a18\u4e8b\u3067\u3001\u9ad8\u901f\u5316\u306b\u6210\u529f\u3057\u305f\u3089\u3001\u662f\u975e\u4e0b\u8a18\u30b5\u30a4\u30c8\u306b\u30b3\u30e1\u30f3\u30c8\u5165\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p><a href=\"http:\/\/www.jeedo.net\/lightning-fast-wordpress-with-nginx-redis\/\">jeedo.net &#8212; Al-Jedidiah Aquino<\/a><\/p>\n<h3>\u9ad8\u901f\u5316\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u3061\u3083\u3044\u307e\u3057\u305f\uff01\uff08Redis\u306a\u3057\u3067OK\uff09<\/h3>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3000Redis\u3068\u3044\u3046\u30a4\u30f3\u30e1\u30e2\u30ea\u30fc\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u3092Wordpress\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u3067\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3042\u308b\u3002\u304c\u30fb\u30fb\u30fb WordPress\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u3067Redis\u3092\u81ea\u7531\u306b\u4f7f\u308f\u305b\u3066\u304f\u308c\u308b\u3068\u3053\u308d\u306a\u3093\u3066\u3001\u305d\u3046\u305d\u3046\u7121\u3044\u3060\u308d\u3046\u3068\u30fb\u30fb\u3002\u3058\u3083\u3041Redis\u304c\u306a\u304f\u3066\u3082\u9ad8\u901f\u5316\u3067\u304d\u305f\u3089\u3001\u304d\u3063\u3068\u5f79\u306b\u7acb\u3064\u30b7\u30fc\u30f3\u3082\u3042\u308b\u3060\u308d\u3046\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001Wordpress\u7528\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u3063\u3061\u3083\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3088\u308d\u3057\u304b\u3063\u305f\u3089\u3001\u3053\u3061\u3089\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/lovelinux.mydns.jp\/?p=743\">\u300cWordpress\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u309210\u500d\u304b\u30891,000\u500d \u901f\u304f\u3067\u304d\u308b\u304b\u3082\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u3063\u305f \u301c Text Cache Controller plugin\u300d<\/a><\/p>\n<p>Redis\u3092\u4f7f\u3063\u305f\u9ad8\u901f\u5316\u3092\u3057\u3088\u3046\u3068\u3044\u3046\u65b9\u306f\u3001\u5f15\u304d\u7d9a\u304d\u3001\u4ee5\u4e0b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30c6\u30af\u30cb\u30c3\u30af\u306e\u4e2d\u8eab<\/h3>\n<p>Apache\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u305f\u308a\u3001\u3044\u304f\u3089\u9ad8\u901f\u306a\u30de\u30b7\u30f3\u306b\u3057\u3066\u3082\u3001Wordpress\u30b5\u30a4\u30c8\u306e\u8868\u793a\u901f\u5ea6\u3092\u6700\u7d42\u7684\u306b\u6c7a\u3081\u308b\u306e\u306f\u3001Mysql\uff0bPHP\u306b\u3088\u308b\u52d5\u7684\u30da\u30fc\u30b8\u751f\u6210\u306e\u901f\u5ea6\u306b\u304b\u304b\u3063\u3066\u3044\u308b\u3002\u3064\u307e\u308a\u3001\u30de\u30b7\u30f3\u304c\u9ad8\u901f\u3067\u30e1\u30e2\u30ea\u3082\u3075\u3093\u3060\u3093\u306b\u7a4d\u3093\u3067\u3044\u3066\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3082\u305d\u3053\u305d\u3053\u3067\u304d\u3066\u3044\u308c\u3070\u3001\u305d\u308c\u306a\u308a\u306b\u826f\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u671f\u5f85\u3067\u304d\u308b\u3002\u3060\u304c\u3001\u3042\u304f\u307e\u3067\u305d\u308c\u306a\u308a\u306b\u3001\u306a\u306e\u3067\u3042\u308b\u3002Wordpress\u306f\u975e\u5e38\u306b\u512a\u79c0\u306aOSS\u3067\u3042\u308b\u304c\u3001\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306bMysql\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u3044\u308d\u3044\u308d\u306a\u60c5\u5831\u3092\u62fe\u3044\u96c6\u3081\u3001PHP\u306e\u30bd\u30fc\u30b9\u304c\u305d\u3053\u305d\u3053\u3075\u3093\u3060\u3093\u306b\u8d70\u308a\u3001\u305d\u306e\u5f8c\u3067\u7dba\u9e97\u306b\u6574\u5f62\u3055\u308c\u305f\u30da\u30fc\u30b8\u304c\u3001\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u8a2a\u554f\u8005\u306b\u63d0\u4f9b\u3055\u308c\u308b\u3002<\/p>\n<p>\u52d5\u7684\u306b\u30da\u30fc\u30b8\u751f\u6210\u3059\u308b\u306e\u3060\u304b\u3089\u3001\u305d\u308c\u306a\u308a\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u306f\u4ed5\u65b9\u304c\u306a\u3044\u3002\u3058\u3083\u3041\u3053\u306e\u90e8\u5206\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u307f\u3088\u3046\u3063\u3066\u8a66\u307f\u304c\u3001\u3044\u304f\u3064\u304b\u306e\u6709\u540d\u306aWP\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\u308a\u3001Apache\u3084Nginx\u306e\u8a2d\u5b9a\u3092\u3042\u308c\u3053\u308c\u3044\u3058\u308a\u307e\u308f\u3057\u3066\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5\u3067\u3042\u308b\u3002\u79c1\u304c\u5b9f\u969b\u306b\u8a66\u3057\u305f\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u8272\u3093\u306a\u30b5\u30a4\u30c8\u3092\u8efd\u304f\u95b2\u89a7\u3057\u305f\u611f\u3058\u3067\u306f\u3001\u3042\u308c\u3053\u308c\u82e6\u52b4\u3057\u305f\u7d50\u679c\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u3055\u308c\u305f\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u306f\uff11\uff10\u301c\uff12\uff10\uff05\u3068\u306e\u3053\u3068\u3002\u305d\u3093\u306a\u3053\u3068\u306a\u3044\u3088\u3063\u3066\u3044\u3046\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u3042\u305f\u308a\u306f\u8a73\u3057\u304f\u8abf\u67fb\u3057\u305f\u308f\u3051\u3067\u3082\u306a\u304f\u3001\u5b9f\u969b\u306b\u8a66\u3057\u305f\u308f\u3051\u3067\u3082\u306a\u3044\u306e\u3067\u3054\u52d8\u5f01\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3068\u3001\u524d\u7f6e\u304d\u306f\u3053\u306e\u3050\u3089\u3044\u306b\u3057\u3066\u3001\u3058\u3083\u3041\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af\u306f\u3069\u3046\u3059\u3054\u3044\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u30a4\u30f3\u30e1\u30e2\u30ea\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308bRedis\u3092\u4f7f\u3063\u3066Wordpress\u306e\u30da\u30fc\u30b8\u3092\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u3057\u3061\u3083\u304a\u3046\u3088\uff01\u3063\u3066\u3068\u3053\u308d\u3067\u3042\u308b\u3002\u305d\u3082\u305d\u3082Wordpress\u3092\u904b\u7528\u3055\u308c\u3066\u3044\u308b\u65b9\u306f\u3001Wordpress\u5c0e\u5165\u624b\u9806\u306b\u5f93\u3063\u3066\u3001\u306a\u3093\u3068\u304b\u304b\u3093\u3068\u304b\u30b5\u30a4\u30c8\u3092\u5c0e\u5165\u3057\u305f\u65b9\u3082\u591a\u3044\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 Mysql\u304c\u306a\u3093\u3067\u3042\u308b\u3068\u304b\u3001Wordpress\u304c\u305d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3069\u3046\u52d5\u3044\u3066\u3044\u308b\u3068\u304b\u3001\u305d\u3093\u306a\u3068\u3053\u308d\u307e\u3067\u7a81\u3063\u8fbc\u3093\u3067\u7814\u7a76\u3057\u3066\u3044\u308b\u65b9\u306f\u307b\u3068\u3093\u3069\u3044\u306a\u3044\u3068\u601d\u308f\u308c\u308b\u3002<\/p>\n<p>\u305d\u306e\u4e0aRedis\uff1f\u30a4\u30f3\u30e1\u30e2\u30ea\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff1f\uff1f\u306a\u3069\u3068\u8a00\u308f\u308c\u3066\u3082\u3055\u3063\u3071\u308a\u610f\u5473\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u306e\u304c\u6b63\u76f4\u306a\u3068\u3053\u308d\u3067\u3042\u308d\u3046\u3002<br \/>\n\u3067\u3082\u3001\u3054\u5fc3\u914d\u306a\u304f\uff01 \u305d\u3093\u306a\u3053\u3068\u306f\u3055\u3063\u3071\u308a\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u7c21\u5358\u306a\u624b\u9806\u3092\u3075\u3080\u3060\u3051\u3067\u3001\u3042\u306a\u305f\u306eWordpress\u30b5\u30a4\u30c8\u304c\u5287\u7684\u306b\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\uff01\uff08\u306a\u3093\u304b\u3001\u3069\u3063\u304b\u306e\u5ba3\u4f1d\u30de\u30f3\u307f\u305f\u3044\u3060\u306a\u30fb\u30fb\u30fb\u7b11\uff09<\/p>\n<h3>Redis\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<h4>Redhat\u7cfbLinux\u306e\u5834\u5408\uff08CentOS\u7b49\uff09<\/h4>\n<p>Remi\u3068\u304b\u8ffd\u52a0\u306eyum\u30bd\u30fc\u30b9\u304c\u306a\u3044\u3068\u4ee5\u4e0b\u3067\u306f\u591a\u5206\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>[bash]<br \/>\n$ sudo yum install redis<br \/>\n[\/bash]<\/p>\n<p>\u4e0a\u8a18\u306b\u3082\u3057\u5931\u6557\u3057\u305f\u3089\u3001CentOS 6.x\u306e\u5834\u5408\u3001Fedora\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089RPM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u3067\u3059\u3002<br \/>\nx86\u3058\u3083\u306a\u3044\u3088\uff01\u300164bit PC\u3058\u3083\u306a\u3044\u3088\u3068\u3044\u3046\u5834\u5408\u306f\u3001<br \/>\n<a href=\"http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/\">http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/<\/a>\u3078\u30a2\u30af\u30bb\u30b9\uff01<\/p>\n<p>[bash]<br \/>\n$ wget http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/redis-2.4.10-1.el6.x86_64.rpm<br \/>\n$ sudo rpm -ivh redis-2.4.10-1.el6.x86_64.rpm<br \/>\n[\/bash]<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3001\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<br \/>\n[bash]<br \/>\n$ sudo service redis start<br \/>\n$ sudo chkconfig &#8211;level 35 redis on<br \/>\n[\/bash]<\/p>\n<p>CentOS6\u3067\u3082\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u81ea\u5206\u306eOS\u306b\u30de\u30c3\u30c1\u3057\u305d\u3046\u306aRPM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"http:\/\/www.rpmfind.net\/linux\/rpm2html\/search.php?query=redis\">http:\/\/www.rpmfind.net\/linux\/rpm2html\/search.php?query=redis<\/a><\/p>\n<h4>Debian\u7cfbLinux\u306e\u5834\u5408\uff08debian\/Ubuntu\/Mint\/LMDE\u7b49\uff09<\/h4>\n<p>[bash]<br \/>\n$ sudo apt-get install redis-server sysv-rc-conf<br \/>\n[\/bash]<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3001\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<br \/>\n[bash]<br \/>\n$ sudo service redis-server restart<br \/>\n$ sudo sysv-rc-conf redis-server on<br \/>\n[\/bash]<\/p>\n<h3>jeedo\u3055\u3093\u306e\u30b5\u30a4\u30c8\u304b\u3089\u3001\u9ad8\u901f\u5316PHP\u30d5\u30a1\u30a4\u30eb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p><a href=\"http:\/\/www.jeedo.net\/lightning-fast-wordpress-with-nginx-redis\/\">jeedo\u3055\u3093\u306e\u30b5\u30a4\u30c8<\/a><\/p>\n<p>\u4ee5\u4e0b\u306e\uff12\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\n<a href=\"http:\/\/uploads.staticjw.com\/ji\/jim\/predis.php\">Redis\u9023\u643aPHP\u30d5\u30a1\u30a4\u30eb \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff08PHP\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u76f4\u30ea\u30f3\u30af\u306a\u306e\u3067\u3001\u53f3\u30af\u30ea\u30c3\u30af\u3001\u540d\u524d\u3092\u3064\u3051\u3066\u4fdd\u5b58\u3067OK\u3067\u3059\u3002\uff09<\/a><\/p>\n<p><a href=\"http:\/\/www.jeedo.net\/downloads\/wp-index-redis.zip\">WordPress Redis\u9023\u643a\u9ad8\u901f\u5316PHP\u30d5\u30a1\u30a4\u30eb \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n<h3>Zip\u30d5\u30a1\u30a4\u30eb\u5c55\u958b\u3001Wordpress\u904b\u7528\u30b5\u30a4\u30c8\u3078\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001<\/h3>\n<p>\u5f8c\u8005\u306e\u30d5\u30a1\u30a4\u30eb\u306fZip\u5f62\u5f0f\u306a\u306e\u3067\u3001\u624b\u5143\u3067\u89e3\u51cd\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>wp-index-redis.php \u3068\u3044\u3046\u540d\u524d\u306e\uff11\u30d5\u30a1\u30a4\u30eb\u304c\u5c55\u958b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\uff12\u30d5\u30a1\u30a4\u30eb\u3001\u3064\u307e\u308a\u3001 predis.php\u3068 wp-index-redis.php \u3092Wordpress\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u3044\u3088\u3044\u3088\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u88dc\u8db3\uff09debian\u7cfbOS\u306e\u5834\u5408\u306f\u3001chown apache\u3067\u306f\u306a\u304f\u3001\u304a\u305d\u3089\u304f chown www-data \u3067\u3059\u3002<\/p>\n<p>[bash]<br \/>\n*** WordPress\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5<br \/>\n$ cd \/var\/www\/wordpress  <\/p>\n<p>*** \u9ad8\u901f\u5316\u30d5\u30a1\u30a4\u30eb\u3092Wordpress\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5<br \/>\n$ sudo mv \/home\/xxxxx\/Downloads\/wp-index-redis.php .<br \/>\n$ sudo mv \/home\/xxxxx\/Downloads\/predis.php .<\/p>\n<p>*** \u6a29\u9650\u8a2d\u5b9a\u3092\u8abf\u6574<br \/>\n$ sudo chown apache:apache wp-index-redis.php<br \/>\n$ sudo chown apache:apache predis.php<br \/>\n$ sudo chmod 644 wp-index-redis.php<br \/>\n$ sudo chmod 644 predis.php <\/p>\n<p>*** WordPress\u306e index.php\u3092 to_index.php\u306b\u30ea\u30cd\u30fc\u30e0<br \/>\n$ sudo mv index.php to_index.php<\/p>\n<p>*** WordPress Redis\u9023\u643a\u9ad8\u901f\u5316PHP\u3092 wp-index-redis.php\u3092 index.php\u306b\u30ea\u30cd\u30fc\u30e0<br \/>\n$ sudo mv wp-index-redis.php index.php<\/p>\n<p>[\/bash]<\/p>\n<h3>Apache or Nginx\u518d\u8d77\u52d5(\u5fc5\u8981\u306a\u3044\u304b\u3082\u3067\u3059\u30fb\u30fb\uff09<\/h3>\n<p>[bash]<br \/>\n$ sudo service nginx restart<\/p>\n<p>or <\/p>\n<p>$ sudo service httpd restart<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p>\u521d\u56de\u30a2\u30af\u30bb\u30b9\u306f\u3001\u666e\u6bb5\u3068\u5909\u308f\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\uff12\u56de\u76ee\u304b\u3089\u5287\u7684\u306b\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\u3002Wordpress\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3068 \u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6709\u52b9\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u3067\u3059\u3002\uff08\u305d\u306e\u65b9\u304c\u30da\u30fc\u30b8\u66f4\u65b0\u3057\u305f\u6642\u306e\u30c1\u30a7\u30c3\u30af\u306a\u3069\u3092\u8003\u3048\u308b\u3068\u3042\u308a\u304c\u305f\u3044\u3002\uff09<\/p>\n<p>WordPress\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u3044\u5225\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u8a66\u3057\u3066\u307f\u308b\u304b\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d6\u30e9\u30a6\u30ba\u30e2\u30fc\u30c9\u3067\u3001\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u306e\u9ad8\u901f\u5316\u5ea6\u5408\u3044\u3092\u4f53\u611f\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01\uff01<\/p>\n<h3>jeedo\u3055\u3093\u306e\u6ce8\u610f\u66f8\u304d\u3001+ \u306a\u3093\u3061\u3083\u3063\u3066\u65e5\u672c\u8a9e\u8a33<\/h3>\n<h4>jeedo\u3055\u3093\u306e\u6ce8\u610f\u66f8\u304d\u306f\u3001\u4ee5\u4e0b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/h4>\n<ul>\n<li>Pages are not cached when you are logged in.<\/li>\n<li>Cached pages do not expire not unless explicitly deleted or reset (deleting the entire domain cache).<\/li>\n<li>Appending a ?c=y (e.g. domain.com\/?c=y) to a url deletes the entire cache of the domain. Only works when you are logged in.<\/li>\n<li>Appending a ?r=y to a url deletes the cache of that url.<\/li>\n<li>Refreshing (F5) a page deletes the cache of that page.<\/li>\n<li>Script still works even if allow_fopen is disabled in php.<\/li>\n<li>Submitting a comment deletes the cache of that page.<\/li>\n<li>Includes a debug mode, stats are displayed at the bottom most part after <\/html>. Won\u2019t be deleted by CloudFlare.<\/li>\n<\/ul>\n<h4>\u610f\u8a33\uff08\u9069\u5f53\u89e3\u91c8\u3067\u3054\u3081\u3093\u306a\u3055\u3044\uff09<\/h4>\n<ul>\n<li>\u30ed\u30b0\u30a4\u30f3\u4e2d\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u306a\u3044\u3088<\/li>\n<li>\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u660e\u793a\u7684\u306b\u6d88\u3059\u304b\u30ea\u30bb\u30c3\u30c8\u304b\u3051\u308b\u307e\u3067\u6b8b\u308a\u3064\u3065\u3051\u308b\u3088<\/li>\n<li>\u30c9\u30e1\u30a4\u30f3\u306b\u5bfe\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6295\u3052\u308b\u3068\u3001\u305d\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u5bfe\u3059\u308b\u5168\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30af\u30ea\u30a2\u3059\u308b\u3088\u3002\u4f8b\u3048\u3070\u3001\u3042\u306a\u305f\u306eWordpress\u30b5\u30a4\u30c8\u304c\u3000http:\/\/www.myblog.com \u3060\u3063\u305f\u3068\u3059\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u304b\u3089 http:\/\/www.myblog.com\/?c=y \u3068\u3057\u305f\u3089\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5168\u90e8\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3002\u3063\u3066\u3053\u3068\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u3042\u306a\u305f\u304cWordpress\u30b5\u30a4\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u6642\u306b\u9650\u308a\u3053\u306e\u6a5f\u80fd\u306f\u6709\u52b9\u3002\n<li>\u540c\u3058\u3088\u3046\u306b \uff08\u304a\u305d\u3089\u304f\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066\uff09 ?r=y \u3068\u3057\u305f\u3089\u3001\u305d\u306e\u30da\u30fc\u30b8\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30af\u30ea\u30a2\u3059\u308b\u3088\u3002\u3064\u307e\u308a\u306f\u3001http:\/\/www.myblog.com\/?p=130&#038;r=y \u3068\u3059\u308c\u3070\u3001\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6d88\u305b\u308b\u3088\u3063\u3066\u3053\u3068\u3060\u3068\u601d\u3046\u3002\uff08p=xxx\u306e\u524d\u306b?\u304c\u3064\u3051\u3066\u3042\u308b\u306e\u3067\u3001\uff12\u500b\u3081\u306e\u5f15\u6570\u306f &#038;\u306b\u3059\u308b\u306e\u304c\u666e\u901a\u3060\u304c\u3001\u30bd\u30fc\u30b9\u3092\u8ffd\u3063\u304b\u3051\u305f\u611f\u3058\u3067\u306f\u30fb\u30fb\u30fb\u30fb http:\/\/www.myblog.com\/?p=130?r=y \u304c\u6b63\u89e3\u307f\u305f\u3044\u3067\u3059\u3002\uff09<\/li>\n<li>F5\u30ad\u30fc\u3067\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3092\u304b\u3051\u305f\u3089\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6d88\u3057\u307e\u3059\u3002<\/li>\n<li>PHP\u306e\u8a2d\u5b9a\u3067 allow_fopen\u304c disabled \u3067\u3082\u3001Script\u306f\u3061\u3083\u3093\u3068\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b3\u30e1\u30f3\u30c8\u304c\u6295\u7a3f\u3055\u308c\u305f\u969b\u306b\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u30af\u30ea\u30a2\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9\u306e\u6642\u306f\u3001\u30da\u30fc\u30b8\u306e\u6700\u4e0b\u90e8 <\/html>\u3088\u308a\u3042\u3068\u306b\u306a\u3093\u304b\u51fa\u308b\u3051\u3069\u3001\u6d88\u3055\u306a\u3044\u3067\u306d\u3002\u3063\u3066\u3053\u3068\u304b\u306a\u3001\u3054\u3081\u3093\u306a\u3055\u3044\u3001\u3053\u3053\u3001\u8a33\u9593\u9055\u3063\u3066\u308b\u304b\u3082\u30fb\u30fb\u30fb<\/li>\n<li><span style=\"color:red\">\u3053\u308c\u306fjeedo\u3055\u3093\u306e\u8aac\u660e\u306b\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u6ce8\u610f\u70b9\u3002<\/span>\u65b0\u898f\u306b\u6295\u7a3f\u3092\u8ffd\u52a0\u3057\u305f\u5834\u5408\u3001\u65b0\u898f\u6295\u7a3f\u30da\u30fc\u30b8\u81ea\u4f53\u306f\u6b63\u3057\u304f\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u904e\u53bb\u306b\u30a2\u30c3\u30d7\u3057\u305f\u30da\u30fc\u30b8\u306f\u66f4\u65b0\u3055\u308c\u307e\u305b\u3093\u3002\u3067\u3001\u3069\u3093\u306a\u4e0d\u5177\u5408\u304c\u4e88\u60f3\u3055\u308c\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u904e\u53bb\u306e\u6295\u7a3f\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u4eba\u306f\u3001\u30da\u30fc\u30b8\u306e\u30b5\u30a4\u30c9\u306b\u3042\u308b\u3001\u6700\u8fd1\u306e\u6295\u7a3f\u4e00\u89a7\u306a\u3069\u3082\u898b\u3066\u304f\u3060\u3055\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u306b\u306f\u6700\u65b0\u306e\u6295\u7a3f\u306f\u73fe\u308c\u307e\u305b\u3093\u3002\u306a\u305c\u304b\u3068\u3044\u3046\u3068\u3001\u904e\u53bb\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u6295\u7a3f\u3092\u65b0\u898f\u306b\u8ffd\u52a0\u3057\u305f\u5834\u5408\u306f\u3001\u4e0a\u8a18\u306e ?c=y \u3068\u4e00\u5ea6\u306f\u3057\u3066\u3084\u3063\u305f\u65b9\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a<\/p>\n<h3>\u8ffd\u8a18\uff1a\u6ce8\u610f\uff01<\/h3>\n<p>\u3066\u3063\u304d\u308aApache\u3067\u3082\u52d5\u304f\u3082\u3093\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001jeedo\u3055\u3093\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001Nginx+php-fpm+redis \u3068\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002Nginx\u5c02\u7528\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3068\u306b\u304b\u304fNginx\u3067\u306f\u3054\u6a5f\u5acc\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002Apache\u3084 php-fpm\u306e\u5fc5\u8981\u6027\u306b\u3064\u3044\u3066\u306f\u3001\u3061\u3087\u3063\u3068\u30bd\u30fc\u30b9\u8ffd\u3063\u304b\u3051\u3066\u8abf\u3079\u3066\u307f\u307e\u3059\u3002<\/p>\n<h3>\u8ffd\u8a18\uff1a\u6717\u5831\uff01<\/h3>\n<p>\u30bd\u30fc\u30b9\u3092\u8ffd\u3044\u304b\u3051\u3066\u307f\u307e\u3057\u305f\u3002\u5b9f\u306fjeedo\u3055\u3093\u304c\u3084\u3063\u3066\u308b\u5185\u5bb9\u3063\u3066\u3001\u7c21\u5358\u3060\u3063\u305f\uff08\u7b11\uff09\u3002\u307e\u3041\u305d\u3093\u306a\u3053\u3068\u306f\u3055\u3066\u304a\u304d\u3001Apache\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304f\u3068\u601d\u3044\u307e\u3059\u3002php-fpm\u3082\u7279\u306b\u95a2\u4fc2\u306a\u3057\u3060\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u3084\u3063\u3066\u3044\u308b\u5185\u5bb9\u306f \u98db\u3093\u3067\u304d\u305f\u30c9\u30e1\u30a4\u30f3\u3068\u30ea\u30af\u30a8\u30b9\u30c8\u90e8\u5206\u3092\u5206\u96e2\u3057\u3001Redis\u306e\u30cf\u30c3\u30b7\u30e5\u306b\u5bfe\u8c61URI\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3001\u73fe\u5728Wordpress\u306b\u30ed\u30b0\u30a4\u30f3\u4e2d\u3067\u3042\u308b\u304b\u5426\u304b\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30af\u30ea\u30a2\u547d\u4ee4\u304cURI\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u5426\u304b\u3001\u306a\u3069\u3092\u5224\u5b9a\u3057\u3066\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u8fd4\u3059\u304b\u3001\u901a\u5e38\u901a\u308aWordpress\u5074\u3067\u52d5\u7684\u30da\u30fc\u30b8\u751f\u6210\u3092\u3055\u305b\u308b\u304b\u3092\u5224\u5b9a\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\uff08\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u306f\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u304b\u3057\u305f\u3089\u4f55\u3089\u304b\u306e\u5bfe\u5fdc\u304c\u3067\u304d\u308b\u304b\u3082\u30fb\u30fb\u30fb\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u3066\u3001\u8868\u793a\u901f\u5ea6\u304c\u9045\u3044\u306a\u3041\u3068\u611f\u3058\u305f\u3053\u3068\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\u9ad8\u901f\u5316\u306e\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3042\u308b\u3068\u304b\u3001VPS\u306a\u3069\u3067\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fApache\u3084Nginx\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3063\u305f\u308a\u3057\u307e\u3059\u3088\u306d\u3002\u4eca\u56de\u306f\u8ffd\u52a0\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5165\u308c\u305f\u308a\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u3057\u305f\u308a\u305b\u305a\u306b\u3001\u3061\u3087\u3063\u3068\u5225\u89d2\u5ea6\u304b\u3089Wordpress\u30b5\u30a4\u30c8\u3092\u8d85\uff01\uff01\u9ad8\u901f\u5316\u3055\u305b\u308b\u65b9\u6cd5\u3092\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002 \u3068\u3044\u3063\u3066\u3082\u3001\u79c1\u304c\u3059\u3054\u3044\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306ejeedo\u3055\u3093\u304c\u3001Great\u306a\u4ed5\u4e8b\u3092\u3057\u3066\u304f\u3060\u3055\u3063\u305f\u304a\u304b\u3052\u3067\u3059\u3002\u307f\u306a\u3055\u3093\u3053\u306e\u8a18\u4e8b\u3067\u3001\u9ad8\u901f\u5316\u306b\u6210\u529f\u3057\u305f\u3089\u3001\u662f\u975e\u4e0b\u8a18\u30b5\u30a4\u30c8\u306b\u30b3\u30e1\u30f3\u30c8\u5165\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01 jeedo.net &#8212; Al-Jedidiah Aquino \u9ad8\u901f\u5316\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u3061\u3083\u3044\u307e\u3057\u305f\uff01\uff08Redis\u306a\u3057\u3067OK\uff09 \u3053\u306e\u8a18\u4e8b\u306f\u3000Redis\u3068\u3044\u3046\u30a4\u30f3\u30e1\u30e2\u30ea\u30fc\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u3092Wordpress\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u3067\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3042\u308b\u3002\u304c\u30fb\u30fb\u30fb WordPress\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u3067Redis\u3092\u81ea\u7531\u306b\u4f7f\u308f\u305b\u3066\u304f\u308c\u308b\u3068\u3053\u308d\u306a\u3093\u3066\u3001\u305d\u3046\u305d\u3046\u7121\u3044\u3060\u308d\u3046\u3068\u30fb\u30fb\u3002\u3058\u3083\u3041Redis\u304c\u306a\u304f\u3066\u3082\u9ad8\u901f\u5316\u3067\u304d\u305f\u3089\u3001\u304d\u3063\u3068\u5f79\u306b\u7acb\u3064\u30b7\u30fc\u30f3\u3082\u3042\u308b\u3060\u308d\u3046\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001Wordpress\u7528\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u3063\u3061\u3083\u3044\u307e\u3057\u305f\u3002 \u3088\u308d\u3057\u304b\u3063\u305f\u3089\u3001\u3053\u3061\u3089\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 \u300cWordpress\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u309210\u500d\u304b\u30891,000\u500d \u901f\u304f\u3067\u304d\u308b\u304b\u3082\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u3063\u305f \u301c Text Cache Controller plugin\u300d Redis\u3092\u4f7f\u3063\u305f\u9ad8\u901f\u5316\u3092\u3057\u3088\u3046\u3068\u3044\u3046\u65b9\u306f\u3001\u5f15\u304d\u7d9a\u304d\u3001\u4ee5\u4e0b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 \u30c6\u30af\u30cb\u30c3\u30af\u306e\u4e2d\u8eab Apache\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u305f\u308a\u3001\u3044\u304f\u3089\u9ad8\u901f\u306a\u30de\u30b7\u30f3\u306b\u3057\u3066\u3082\u3001Wordpress\u30b5\u30a4\u30c8\u306e\u8868\u793a\u901f\u5ea6\u3092\u6700\u7d42\u7684\u306b\u6c7a\u3081\u308b\u306e\u306f\u3001Mysql\uff0bPHP\u306b\u3088\u308b\u52d5\u7684\u30da\u30fc\u30b8\u751f\u6210\u306e\u901f\u5ea6\u306b\u304b\u304b\u3063\u3066\u3044\u308b\u3002\u3064\u307e\u308a\u3001\u30de\u30b7\u30f3\u304c\u9ad8\u901f\u3067\u30e1\u30e2\u30ea\u3082\u3075\u3093\u3060\u3093\u306b\u7a4d\u3093\u3067\u3044\u3066\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3082\u305d\u3053\u305d\u3053\u3067\u304d\u3066\u3044\u308c\u3070\u3001\u305d\u308c\u306a\u308a\u306b\u826f\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u671f\u5f85\u3067\u304d\u308b\u3002\u3060\u304c\u3001\u3042\u304f\u307e\u3067\u305d\u308c\u306a\u308a\u306b\u3001\u306a\u306e\u3067\u3042\u308b\u3002Wordpress\u306f\u975e\u5e38\u306b\u512a\u79c0\u306aOSS\u3067\u3042\u308b\u304c\u3001\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306bMysql\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u3044\u308d\u3044\u308d\u306a\u60c5\u5831\u3092\u62fe\u3044\u96c6\u3081\u3001PHP\u306e\u30bd\u30fc\u30b9\u304c\u305d\u3053\u305d\u3053\u3075\u3093\u3060\u3093\u306b\u8d70\u308a\u3001\u305d\u306e\u5f8c\u3067\u7dba\u9e97\u306b\u6574\u5f62\u3055\u308c\u305f\u30da\u30fc\u30b8\u304c\u3001\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u8a2a\u554f\u8005\u306b\u63d0\u4f9b\u3055\u308c\u308b\u3002 \u52d5\u7684\u306b\u30da\u30fc\u30b8\u751f\u6210\u3059\u308b\u306e\u3060\u304b\u3089\u3001\u305d\u308c\u306a\u308a\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u306f\u4ed5\u65b9\u304c\u306a\u3044\u3002\u3058\u3083\u3041\u3053\u306e\u90e8\u5206\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u307f\u3088\u3046\u3063\u3066\u8a66\u307f\u304c\u3001\u3044\u304f\u3064\u304b\u306e\u6709\u540d\u306aWP\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\u308a\u3001Apache\u3084Nginx\u306e\u8a2d\u5b9a\u3092\u3042\u308c\u3053\u308c\u3044\u3058\u308a\u307e\u308f\u3057\u3066\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5\u3067\u3042\u308b\u3002\u79c1\u304c\u5b9f\u969b\u306b\u8a66\u3057\u305f\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u8272\u3093\u306a\u30b5\u30a4\u30c8\u3092\u8efd\u304f\u95b2\u89a7\u3057\u305f\u611f\u3058\u3067\u306f\u3001\u3042\u308c\u3053\u308c\u82e6\u52b4\u3057\u305f\u7d50\u679c\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u3055\u308c\u305f\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u306f\uff11\uff10\u301c\uff12\uff10\uff05\u3068\u306e\u3053\u3068\u3002\u305d\u3093\u306a\u3053\u3068\u306a\u3044\u3088\u3063\u3066\u3044\u3046\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u3042\u305f\u308a\u306f\u8a73\u3057\u304f\u8abf\u67fb\u3057\u305f\u308f\u3051\u3067\u3082\u306a\u304f\u3001\u5b9f\u969b\u306b\u8a66\u3057\u305f\u308f\u3051\u3067\u3082\u306a\u3044\u306e\u3067\u3054\u52d8\u5f01\u304f\u3060\u3055\u3044\u3002 \u3068\u3001\u524d\u7f6e\u304d\u306f\u3053\u306e\u3050\u3089\u3044\u306b\u3057\u3066\u3001\u3058\u3083\u3041\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af\u306f\u3069\u3046\u3059\u3054\u3044\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u30a4\u30f3\u30e1\u30e2\u30ea\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308bRedis\u3092\u4f7f\u3063\u3066Wordpress\u306e\u30da\u30fc\u30b8\u3092\u30ad\u30e3\u30c3\u30b7\u30f3\u30b0\u3057\u3061\u3083\u304a\u3046\u3088\uff01\u3063\u3066\u3068\u3053\u308d\u3067\u3042\u308b\u3002\u305d\u3082\u305d\u3082Wordpress\u3092\u904b\u7528\u3055\u308c\u3066\u3044\u308b\u65b9\u306f\u3001Wordpress\u5c0e\u5165\u624b\u9806\u306b\u5f93\u3063\u3066\u3001\u306a\u3093\u3068\u304b\u304b\u3093\u3068\u304b\u30b5\u30a4\u30c8\u3092\u5c0e\u5165\u3057\u305f\u65b9\u3082\u591a\u3044\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 Mysql\u304c\u306a\u3093\u3067\u3042\u308b\u3068\u304b\u3001Wordpress\u304c\u305d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3069\u3046\u52d5\u3044\u3066\u3044\u308b\u3068\u304b\u3001\u305d\u3093\u306a\u3068\u3053\u308d\u307e\u3067\u7a81\u3063\u8fbc\u3093\u3067\u7814\u7a76\u3057\u3066\u3044\u308b\u65b9\u306f\u307b\u3068\u3093\u3069\u3044\u306a\u3044\u3068\u601d\u308f\u308c\u308b\u3002 \u305d\u306e\u4e0aRedis\uff1f\u30a4\u30f3\u30e1\u30e2\u30ea\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff1f\uff1f\u306a\u3069\u3068\u8a00\u308f\u308c\u3066\u3082\u3055\u3063\u3071\u308a\u610f\u5473\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u306e\u304c\u6b63\u76f4\u306a\u3068\u3053\u308d\u3067\u3042\u308d\u3046\u3002 \u3067\u3082\u3001\u3054\u5fc3\u914d\u306a\u304f\uff01 \u305d\u3093\u306a\u3053\u3068\u306f\u3055\u3063\u3071\u308a\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u7c21\u5358\u306a\u624b\u9806\u3092\u3075\u3080\u3060\u3051\u3067\u3001\u3042\u306a\u305f\u306eWordpress\u30b5\u30a4\u30c8\u304c\u5287\u7684\u306b\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\uff01\uff08\u306a\u3093\u304b\u3001\u3069\u3063\u304b\u306e\u5ba3\u4f1d\u30de\u30f3\u307f\u305f\u3044\u3060\u306a\u30fb\u30fb\u30fb\u7b11\uff09 Redis\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Redhat\u7cfbLinux\u306e\u5834\u5408\uff08CentOS\u7b49\uff09 Remi\u3068\u304b\u8ffd\u52a0\u306eyum\u30bd\u30fc\u30b9\u304c\u306a\u3044\u3068\u4ee5\u4e0b\u3067\u306f\u591a\u5206\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002 [bash] $ sudo yum install redis [\/bash] \u4e0a\u8a18\u306b\u3082\u3057\u5931\u6557\u3057\u305f\u3089\u3001CentOS 6.x\u306e\u5834\u5408\u3001Fedora\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089RPM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u3067\u3059\u3002 x86\u3058\u3083\u306a\u3044\u3088\uff01\u300164bit PC\u3058\u3083\u306a\u3044\u3088\u3068\u3044\u3046\u5834\u5408\u306f\u3001 http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/\u3078\u30a2\u30af\u30bb\u30b9\uff01 [bash] $ wget http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/redis-2.4.10-1.el6.x86_64.rpm $ sudo rpm -ivh redis-2.4.10-1.el6.x86_64.rpm [\/bash] \u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3001\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a [bash] $ sudo service redis start $ sudo chkconfig &#8211;level 35 redis on [\/bash] CentOS6\u3067\u3082\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u81ea\u5206\u306eOS\u306b\u30de\u30c3\u30c1\u3057\u305d\u3046\u306aRPM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 http:\/\/www.rpmfind.net\/linux\/rpm2html\/search.php?query=redis Debian\u7cfbLinux\u306e\u5834\u5408\uff08debian\/Ubuntu\/Mint\/LMDE\u7b49\uff09 [bash] $ sudo apt-get install redis-server sysv-rc-conf [\/bash] \u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3001\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a [bash] $ sudo service redis-server restart $ sudo sysv-rc-conf redis-server on [\/bash] jeedo\u3055\u3093\u306e\u30b5\u30a4\u30c8\u304b\u3089\u3001\u9ad8\u901f\u5316PHP\u30d5\u30a1\u30a4\u30eb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 jeedo\u3055\u3093\u306e\u30b5\u30a4\u30c8 \u4ee5\u4e0b\u306e\uff12\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 Redis\u9023\u643aPHP\u30d5\u30a1\u30a4\u30eb \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff08PHP\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u76f4\u30ea\u30f3\u30af\u306a\u306e\u3067\u3001\u53f3\u30af\u30ea\u30c3\u30af\u3001\u540d\u524d\u3092\u3064\u3051\u3066\u4fdd\u5b58\u3067OK\u3067\u3059\u3002\uff09 WordPress Redis\u9023\u643a\u9ad8\u901f\u5316PHP\u30d5\u30a1\u30a4\u30eb \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 Zip\u30d5\u30a1\u30a4\u30eb\u5c55\u958b\u3001Wordpress\u904b\u7528\u30b5\u30a4\u30c8\u3078\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001 \u5f8c\u8005\u306e\u30d5\u30a1\u30a4\u30eb\u306fZip\u5f62\u5f0f\u306a\u306e\u3067\u3001\u624b\u5143\u3067\u89e3\u51cd\u3057\u3066\u304f\u3060\u3055\u3044\u3002 wp-index-redis.php \u3068\u3044\u3046\u540d\u524d\u306e\uff11\u30d5\u30a1\u30a4\u30eb\u304c\u5c55\u958b\u3055\u308c\u307e\u3059\u3002 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\uff12\u30d5\u30a1\u30a4\u30eb\u3001\u3064\u307e\u308a\u3001 predis.php\u3068 wp-index-redis.php \u3092Wordpress\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u3044\u3088\u3044\u3088\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u88dc\u8db3\uff09debian\u7cfbOS\u306e\u5834\u5408\u306f\u3001chown apache\u3067\u306f\u306a\u304f\u3001\u304a\u305d\u3089\u304f chown www-data \u3067\u3059\u3002 [bash] *** WordPress\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5 $ cd \/var\/www\/wordpress *** \u9ad8\u901f\u5316\u30d5\u30a1\u30a4\u30eb\u3092Wordpress\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5 $ sudo mv \/home\/xxxxx\/Downloads\/wp-index-redis.php . $ sudo mv \/home\/xxxxx\/Downloads\/predis.php . *** \u6a29\u9650\u8a2d\u5b9a\u3092\u8abf\u6574 $ sudo chown apache:apache wp-index-redis.php $ sudo chown apache:apache predis.php $ sudo chmod 644 wp-index-redis.php $ sudo chmod 644 predis.php *** WordPress\u306e index.php\u3092 to_index.php\u306b\u30ea\u30cd\u30fc\u30e0 $ sudo mv index.php to_index.php *** WordPress Redis\u9023\u643a\u9ad8\u901f\u5316PHP\u3092 wp-index-redis.php\u3092 index.php\u306b\u30ea\u30cd\u30fc\u30e0 $ sudo mv wp-index-redis.php index.php [\/bash] Apache or Nginx\u518d\u8d77\u52d5(\u5fc5\u8981\u306a\u3044\u304b\u3082\u3067\u3059\u30fb\u30fb\uff09 [bash] $ sudo service nginx restart or $ sudo service httpd restart [\/bash] \u4ee5\u4e0a\u3067\u3059\u3002 \u521d\u56de\u30a2\u30af\u30bb\u30b9\u306f\u3001\u666e\u6bb5\u3068\u5909\u308f\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\uff12\u56de\u76ee\u304b\u3089\u5287\u7684\u306b\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\u3002Wordpress\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3068 \u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6709\u52b9\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u3067\u3059\u3002\uff08\u305d\u306e\u65b9\u304c\u30da\u30fc\u30b8\u66f4\u65b0\u3057\u305f\u6642\u306e\u30c1\u30a7\u30c3\u30af\u306a\u3069\u3092\u8003\u3048\u308b\u3068\u3042\u308a\u304c\u305f\u3044\u3002\uff09 WordPress\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u3044\u5225\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u8a66\u3057\u3066\u307f\u308b\u304b\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d6\u30e9\u30a6\u30ba\u30e2\u30fc\u30c9\u3067\u3001\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u306e\u9ad8\u901f\u5316\u5ea6\u5408\u3044\u3092\u4f53\u611f\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01\uff01 jeedo\u3055\u3093\u306e\u6ce8\u610f\u66f8\u304d\u3001+ \u306a\u3093\u3061\u3083\u3063\u3066\u65e5\u672c\u8a9e\u8a33 jeedo\u3055\u3093\u306e\u6ce8\u610f\u66f8\u304d\u306f\u3001\u4ee5\u4e0b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002 Pages are not cached when you are logged in. Cached pages do not expire not unless explicitly deleted or reset (deleting the entire domain cache). Appending a ?c=y (e.g. domain.com\/?c=y) to a url deletes the entire cache of the domain. Only works when you are logged in. Appending a ?r=y to a url deletes the cache of that url. Refreshing (F5) a page deletes the cache of that page. Script still works even if allow_fopen is disabled in php. Submitting a comment deletes the cache of that page. Includes a debug mode, stats are displayed at the bottom most part after . Won\u2019t be deleted&#8230;<\/p>\n","protected":false},"author":1,"featured_media":670,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[11,4],"tags":[18],"class_list":{"0":"post-667","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-wordpress","8":"category-4","9":"tag-wordpress-2"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=667"}],"version-history":[{"count":18,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/667\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/667\/revisions\/767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/670"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}