Since I installed PHP 5.5.3 and Zend OPcache v7.0.3, it is good for WordPress opcode already. For other cache optimization, I need a cache system. I choose Memcached server.
Part 1. Install Memcached Server
I install Memcached with following command:
yum install memcached
Then change the setting of it.
Change the last line of option as below to restrict access from 127.0.0.1 only. and CACHSIZE to 128M.
PORT="11211"; USER="memcached"; MAXCONN="1024"; CACHESIZE="128"; OPTIONS="-l 127.0.0.1";
Memcached doesn’t start by default upon boot, we want it to start upon boot.
chkconfig --levels 235 memcached on