To list all available channels:
[root@ ~]# rhn-channel -L --user=rhn_user --password=rhn_password
To subscribe to a channel (e.g. options):
[root@ ~]# rhn-channel --add --channel=rhel-x86_64-server-optional-6 --user=rhn_user --password=rhn_password
To list channel subscribed:
[root@ ~]# rhn-channel -l
rhel-x86_64-server-6
rhel-x86_64-server-optional-6
To register to RHN (do this first!):
To register and subscribe in one step:
[root@ ~]# subscription-manager register --username --password --auto-attach
This is the old way or using a satellite server:
[root@ ~]# rhn_register
No comments:
Post a Comment