1:去下面的网站下载EPEL对应的版本:(epel是fedora维护的yum源,里面软件众多)
http://fedoraproject.org/wiki/EPEL
https://dl.fedoraproject.org/pub/epel/6/x86_64/
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
3:安装epel:
rpm -ivh epel-release-6-8.noarch.rpm
4:安装redis:
yum install redis