![没有可用的软件包 ipset (centos EL5 x86_64)](https://linux22.com/image/635654/%E6%B2%A1%E6%9C%89%E5%8F%AF%E7%94%A8%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%20ipset%20(centos%20EL5%20x86_64).png)
我想安装 ipset,但是当我运行
yum install ipset
[root@ora1 /]# cd /etc/yum.repos.d/
[root@ora1 yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo public-yum-el5.repo
[root@ora1 yum.repos.d]# uname -a
Linux ora1 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:16:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
答案1
你的 iptables 可能无法正常工作,我不记得你需要在 EL5 上使用这个内核/iptables 做什么。
我知道这里的包对我有用:
http://mirror.ukrnames.com/mirrors/centalt/repository/centos/5/x86_64/ipset-4.5-1.el5.x86_64.rpm
http://mirror.ukrnames.com/mirrors/centalt/repository/centos/5/x86_64/iptables-1.3.5-5.6.1.el5.x86_64.rpm
http://mirror.ukrnames.com/mirrors/centalt/repository/centos/5/x86_64/kmod-ipset-4.5-1.el5.x86_64.rpm
或者访问这里:
http://pkgs.org/centos-5/flexbox-x86_64/ipset-4.5-1.el5.x86_64.rpm.html
要求:
ipset-kmod
iptables >= 1.3.5