How to install Redis

CentOS

cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/enterprise/remi.repo
yum --enablerepo=remi install php-devel gcc redis
service redis start
pecl install redis
echo "extension=redis.so" > /etc/php.d/redis.ini
service php-fpm restart
service apache restart
chkconfig --add redis

Ubuntu

apt-get install redis-server
service redis-server start
pecl install redis
echo "extension=redis.so" > /etc/php.d/redis.ini
service php-fpm restart
service apache2 restart 
sudo update-rc.d redis-server defaults

Note: To install PECL run "apt-get install php5-dev"

Enable Redis mode

Go to page Settings and check “Use Redis”, click “Save”.