O fail2ban está realmente disponível no Centos 7. Muitos tutoriais dizem que sim, mas não consigo encontrá-lo.
yum --enablerepo=extras install epel-release
Retorna:
Package matching epel-release-7-6.noarch already installed. Checking for update.
Nothing to do
Então eu corro
yum list fail2ban\*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repo1.dal.innoscale.net
* extras: repo1.dal.innoscale.net
* remi-php70: repo1.dal.innoscale.net
* remi-safe: repo1.dal.innoscale.net
* updates: repo1.dal.innoscale.net
Error: No matching Packages to list
O pacote está faltando no último repositório epel?
Já fiz estes passos:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
rpm -ivh epel-release-7-8.noarch.rpm
// I also tried this:
yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repo1.dal.innoscale.net
* extras: repo1.dal.innoscale.net
* remi-php70: repo1.dal.innoscale.net
* remi-safe: repo1.dal.innoscale.net
* updates: repo1.dal.innoscale.net
Package matching epel-release-7-6.noarch already installed. Checking for update.
yum repolist
Mas não mostra o repositório epel:
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,006+1
extras/7/x86_64 CentOS-7 - Extras 392
mariadb MariaDB 15
remi-php70 Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64 271
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 1,147
updates/7/x86_64 CentOS-7 - Updates 2,529
varnish-4.1/x86_64 Varnish Cache 4.1 for Enterprise Linux 29
repolist: 13,389
para Lambert, Falha ao reinstalar o epel-release, yum install epel-release
show Eu já tenho o mais recente:
#yum reinstall epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.jaleco.com
* extras: mirror.jaleco.com
* remi-php70: repo1.dal.innoscale.net
* remi-safe: repo1.dal.innoscale.net
* updates: mirror.jaleco.com
Installed package epel-release-7-8.noarch not available.
Error: Nothing to do
#yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.jaleco.com
* extras: mirror.jaleco.com
* remi-php70: repo1.dal.innoscale.net
* remi-safe: repo1.dal.innoscale.net
* updates: mirror.jaleco.com
Package matching epel-release-7-6.noarch already installed. Checking for update.
Nothing to do
#repoquery -l epel-release
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/lib/systemd/system-preset/90-epel.preset
/usr/share/doc/epel-release-7
/usr/share/doc/epel-release-7/GPL