解决CentOS出现"No package redis available"提示问题
[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回车我们就根据提示输入回车直到安装完毕。
僵尸将臣