Home Linux Central_Management Satellite_5
Disable old repos 

yum repolist
yum-config-manager -disable <repo_to_disable>


Apply activation key 

Install the SSL Certificate 

rpm -Uvh http://satellite.address.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm


Register the system with the Satellite

rhnreg_ks --force --activationkey 1-<myActivationKeyName> --serverUrl http://satellite.address.com/XMLRPC --sslCACert /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

# Make sure to use the FQDN of the satellite server, otherwise the client system will not work correctly when installing or updating packages
# The system should now show up in the "systems" tab on the satellite web interface.
# The system should now be able to be updated with either "yum update" or from the web interface.

Disable subscription-manager if not used 

sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/subscription-manager.conf
sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/product-id.conf
chkconfig rhsmcertd off
service rhsmcertd stop


Activate push to client if desired

yum install osad rhncfg rhncfg-actions rhncfg-client
vi /etc/sysconfig/rhn/osad.conf  # osa_ssl_cert = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
service osad start
chkconfig osad on
touch /etc/sysconfig/rhn/allowed-actions/script/run