GNU/Linux >> Tutoriales Linux >  >> Linux

Cómo configurar el repositorio EPEL en OEL 7

Pregunta :¿Cómo instalar/obtener paquetes del Repositorio EPEL en OEL 7?

1. Cree un archivo de repositorio como /etc/yum/repos.d/epel-yum-ol7.repo. Por ejemplo:

# cat /etc/yum.repos.d/epel-yum-ol7.repo
[ol7_epel]
name=Oracle Linux $releasever EPEL ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

2. Y luego ejecute el comando "yum repolist" para ver si el repositorio está allí.

# yum repolist
Loaded plugins: langpacks
repo id repo name status
ol7_UEKR3/x86_64 Latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux 7Server (x86_64) 669
ol7_epel/x86_64 Oracle Linux 7Server EPEL (x86_64) 991
ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 23,095
repolist: 24,755

3. Luego, puede instalar los paquetes que necesita, como nrpe, nagios, nagios-plugins con los comandos yum. Por ejemplo:

# yum install nrpe
yum install nrpe
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package nrpe.x86_64 0:3.1.1-1.el7 will be installed
--> Processing Dependency: nagios-common for package: nrpe-3.1.1-1.el7.x86_64
--> Running transaction check
---> Package nagios-common.x86_64 0:4.3.2-8.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved

===============================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================
Installing:
nrpe x86_64 3.1.1-1.el7 ol7_epel 250 k
Installing for dependencies:
nagios-common x86_64 4.3.2-8.el7 ol7_epel 22 k

Transaction Summary
===============================================================================================================================================================================================================
Install 1 Package (+1 Dependent package)

Total download size: 272 k
Installed size: 334 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ol7_epel/packages/nagios-common-4.3.2-8.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA
Public key for nagios-common-4.3.2-8.el7.x86_64.rpm is not installed
(1/2): nagios-common-4.3.2-8.el7.x86_64.rpm | 22 kB 00:00:00
(2/2): nrpe-3.1.1-1.el7.x86_64.rpm | 250 kB 00:00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 244 kB/s | 272 kB 00:00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid : "Oracle OSS group (Open Source Software group) "
Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
Package : 7:oraclelinux-release-7.1-1.0.5.el7.x86_64 (@anaconda/7.1)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : nagios-common-4.3.2-8.el7.x86_64 1/2
Installing : nrpe-3.1.1-1.el7.x86_64 2/2
Verifying : nagios-common-4.3.2-8.el7.x86_64 1/2
Verifying : nrpe-3.1.1-1.el7.x86_64 2/2

Installed:
nrpe.x86_64 0:3.1.1-1.el7

Dependency Installed:
nagios-common.x86_64 0:4.3.2-8.el7

Complete!


Linux
  1. Cómo configurar el repositorio YUM en Linux/Centos/Redhat | YUM en Linux/Centos/Redhat

  2. Cómo instalar y configurar Postgres 14 en OpenSUSE Leap 15.3

  3. Cómo configurar kdump en Oracle Enterprise Linux (OEL 5,6)

  4. Cómo configurar el repositorio EPEL en OEL 7

  5. Cómo instalar/obtener paquetes de Oracle EPEL Repository en OEL 7

Cómo habilitar el repositorio EPEL en Rocky Linux 8

Cómo habilitar el repositorio EPEL en AlmaLinux 8

Cómo habilitar el repositorio EPEL en AlmaLinux 8

Cómo habilitar el repositorio EPEL en CentOS 8

Cómo habilitar un repositorio EPEL

Cómo configurar y administrar un repositorio Git remoto en Linux