Version de Centos/RHEL
# cat /etc/redhat-release
Arquitectura
# uname -a
Para 32 Bits
http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Para 64 Bits
http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
1. Descargamos el paquete
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
--2016-05-16 14:39:50-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolviendo pkgs.repoforge.org... 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80... conectado.
Petición HTTP enviada, esperando respuesta... 302 Moved Temporarily
Localización: http://rpmforge.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm [siguiendo]
--2016-05-16 14:39:51-- http://rpmforge.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolviendo rpmforge.sw.be... 78.46.17.228
Reusing existing connection to pkgs.repoforge.org:80.
Petición HTTP enviada, esperando respuesta... 301 Moved Permanently
Localización: http://tree.repoforge.org/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm [siguiendo]
--2016-05-16 14:39:51-- http://tree.repoforge.org/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolviendo tree.repoforge.org... 78.46.17.228
Reusing existing connection to pkgs.repoforge.org:80.
Petición HTTP enviada, esperando respuesta... 301 Moved Permanently
Localización: http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm [siguiendo]
--2016-05-16 14:39:52-- http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolviendo apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 12700 (12K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm'
100%[===========================================================================================================================================================>] 12.700 --.-K/s in 0s
2016-05-16 14:39:52 (816 MB/s) - `rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm' saved [12700/12700]
2. Descargamos la llave
# wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
--2016-05-16 14:40:07-- http://apt.sw.be/RPM-GPG-KEY.dag.txt
Resolviendo apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 1672 (1,6K) [text/plain]
Saving to: `RPM-GPG-KEY.dag.txt'
100%[========================================================================================================================================================
2016-05-16 14:40:08 (341 MB/s) - `RPM-GPG-KEY.dag.txt' saved [1672/1672]
3. Instalamos la llave
# rpm --import RPM-GPG-KEY.dag.txt
4. Procedemos a instalar
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Preparando... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
5. Configuramos el repositorio, abriendo el archivo e insertando “priority=3” despues de “enabled = 1” en la seccion [rpmforge]
# nano /etc/yum.repos.d/rpmforge.repo
Nos quedaria asi:
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
priority=3
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
6. Revisamos la actualizacion realizada
# yum repolist
Complementos cargados:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.edatel.net.co
* extras: mirror.edatel.net.co
* rpmforge: apt.sw.be
* updates: mirror.edatel.net.co
rpmforge
rpmforge/primary_db
id del repositorio
base
extras
rpmforge
updates
repolist: 12.977
No hay comentarios:
Publicar un comentario