$ vi /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Step 2: Clean all yum repo and update repolist:
$ yum clean all
$ yum repolist
Step 3: Install Redis on the server by running command
$ yum install redis
Step 4: Check redis status
service redis status
service redis start
service redis stop
service redis restart