[root@bogon src]# yum install redis Loaded plugins: fastestmirror, langpacks Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository centosplus is listed more than once in the configuration Loading mirror speeds from cached hostfile * base: mirrors.huaweicloud.com * extras: mirrors.aliyun.com * updates: mirrors.huaweicloud.com No package redis available. Error: Nothing to do
第二、下載EPEL對應的版本和安裝
版本尋找地址:http://fedoraproject.org/wiki/EPEL
我需要的是centos64位,我直接找到源后wget下載到當前目錄:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
然后進行安裝:
rpm -ivh epel-release-6-8.noarch.rpm
第三、安裝redis
yum install redis
然后我們再執行安裝命令就可以正常的安裝,期間會提到需要輸入y回車我們就根據提示輸入回車直到安裝完畢。