The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.

5.3 Registering a Client System Using rhnreg_ks Without First Installing the Spacewalk Client Software

Starting with Oracle Linux 7 Update 1, you do not need to install the Spacewalk Client 2.4 software before you register an Oracle Linux 7 or Oracle Linux 6 server with Spacewalk.

To register an Oracle Linux server as a Spacewalk client:

  1. Download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to the server.

    In a browser tab, navigate to http://swksvr_FQDN/pub, where swksvr_FQDN is the fully qualified domain name of the Spacewalk server, and download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to /usr/share/rhn/.

    Alternatively, you can use wget from the command line, for example:

    # wget -q -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
      http://swksvr_FQDN/pub/RHN-ORG-TRUSTED-SSL-CERT
  2. Register the system with Spacewalk using the rhnreg_ks command, using the --sslCACert option to specify the certificate.

    # rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
      --serverUrl=https://swksvr_FQDN/XMLRPC --activationkey=activation_key

    Specify the Spacewalk server or proxy by its fully qualified domain name.

    If you need to re-register a Spacewalk client with a Spacewalk server, additionally specify the --force option.

  3. To install the Spacewalk Client software after registration, subscribe the server to a Spacewalk Client 2.4 software channel and use the yum command to install the packages:

    # yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
    Note

    Oracle recommends that you install the Spacewalk client software after registration to support all of the features provided by Spacewalk, which include provisioning and auditing.