
Habilitar Red Hat Software Collections en RHEL
Para poder acceder a los repos de Red Hat Software Collections (rhsc), el equipo debe estar registrado a la Red Hat Network y se deben realizar los siguientes pasos.
Primero listamos las suscripciones:
1 |
subscription-manager list --available |
este comando genera una salida muy larga, tenemos que detectar el repo rhsc :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
Subscription Name: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) Provides: Oracle Java (for RHEL Server) Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Server - Extended Update Support Red Hat Enterprise Linux Atomic Host Red Hat Enterprise Linux Server Red Hat EUCJP Support (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support Oracle Java (for RHEL Server) - Extended Update Support Red Hat Beta dotNET on RHEL Beta (for RHEL Server) Red Hat Software Collections (for RHEL Server) dotNET on RHEL (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Atomic Host Beta Red Hat Developer Toolset (for RHEL Server) Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support Red Hat Container Images Red Hat Container Images Beta Red Hat S-JIS Support (for RHEL Server) - Extended Update Support SKU: RH00003F3 Contract: 10457734 Account: 1226055 Serial: 5315996914299117696 Pool ID: 8a85f98147308f4d01474110c9cb7f0a Provides Management: No Active: True Quantity Used: 1 Service Level: Premium Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Instance Based Starts: 05/25/2014 Ends: 05/25/2017 System Type: Physical |
en la linea 12 se puede ver el repo que queremos agregar y en la linea 27 el pool_id que contiene el repo que estamos buscando. Ahora debemos asociar el pool_id con nuestro equipo:
1 |
subscription-manager attach --pool=pool_id |
por ultimo verificamos que se asocio el pool_id al equipo:
1 |
subscription-manager list --consumed | grep pool_id |
ya podemos listar los nuevos repos disponibles que tenemos
1 |
subscription-manager repos --list |
Por ultimo agregamos el repo a yum
1 |
subscription-manager repos --enable rhel-server-rhscl-7-eus-rpms |