Install Varnish & Redis on CentOS 6.*

Table of Content

Дана інструкція підходить, лише потрібно замінити rpm-репозиторій на http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm

http://www.servermom.org/install-varnish-3-to-run-with-apache-2-on-centos-server/552/

Start Varnish Web Accelerator
To start Varnish at system start-up, type the following command to make it start at system boots.
# chkconfig –level 345 varnish on

Configure Varnish
/etc/sysconfig/varnish

Install Redis and PhpRedis
https://gist.github.com/nghuuphuoc/7801123
# yum –enablerepo=epel,remi,rpmforge install redis

Finally, we need to add the service to chkconfig, set it to auto-start, and actually start the service:

chkconfig –add redis
chkconfig redis on
service redis start
Again, test the installation of Redis:

redis-cli ping
If the result is ‘PONG’, then installation has been successful.

Leave a Reply

Your email address will not be published. Required fields are marked *