Difference between revisions of "Redhat Subscription"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
sudo subscription-manager attach --auto | sudo subscription-manager attach --auto | ||
sudo subscription-manager status | sudo subscription-manager status | ||
− | # sudo subscription-manager repos --enable=* # uncomment to enable all or select one at a time in redhat. | + | # sudo subscription-manager repos --enable=* # uncomment to enable all or select one at a time in redhat.repo |
``` | ``` | ||
Latest revision as of 20:56, 12 February 2021
curl -k -LO https://sateliteserver.example.com//pub/katello-ca-consumer-latest.noarch.rpm sudo rpm -i katello-ca-consumer-latest.noarch.rpm sudo subscription-manager register --org="MYORG" --activationkey="mykey" sudo subscription-manager refresh sudo subscription-manager attach --auto sudo subscription-manager status # sudo subscription-manager repos --enable=* # uncomment to enable all or select one at a time in redhat.repo
sudo subscription-manager refresh sudo subscription-manager attach --auto sudo subscription-manager status
or
subscription-manager refresh subscription-manager repos --enable=* yum clean all # yum upgrade -y —nogpgcheck