Difference between revisions of "Redhat Subscription"
Jump to navigation
Jump to search
(Created page with "# subscription-manager refresh # subscription-manager attach --auto # subscription-manager status") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | # subscription-manager refresh | + | ``` |
− | + | 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 | ||
+ | ``` |
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