Redis is an open supply in-memory knowledge construction retailer huge quantities of knowledge with out the bounds of a relational database. Caching with Redis will routinely flush the cache when new content material is revealed. If a web page is edited or a brand new content material is posted in your web site, the Redis cache for that content material might be invalidated to keep away from soiled cache and might be up to date after the following web page load.
Set up Redis on the server.
Login to the server by way of SSH and do the next steps.
1) Obtain the next rpm to the server utilizing the under instructions.
# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Run the next instructions to put in Redis on the server.
# rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
# yum set up –y redis
Now the redis is put in on the server and we have to allow the Radis to begin it routinely upon server reboot.
# chkconfig redis on
2) After set up, we have to configure Redis. Observe the under steps to configure it.
Open the Redis configuration file and add the under strains on the finish of the file:
vi /and many others/redis.conf
3) We have to set up php redis extension, for that, we have to login to WHM and Seek for “Module Installers” below “Software program” part. Navigate to “Module Installers” web page after which click on on the Handle hyperlink for the “PHP Pecl”.
On the PHP Pecl Installer web page search kind “redis” and hit the “Go” button.
Then click on on the “Set up” hyperlink from the outcomes of the Redis extension to finish the set up.
4) Lastly, we have to restart the Redis and httpd providers to allow the adjustments.
# service httpd restart
# service redis restart
For those who want any additional assist please do attain our assist division.