Install and Register Spacewalk Clients

This article shows you How To register Spacewalk Clients to the Spacewalk Server. All you need is to make sure before the registration you are logged in as ROOT and the SSL Cert is downloaded from the server to the client host. There is a Once Click BASH SCRIPT as well you can download.

You can download the SSL cert from the Spacewalk server through this URL

# wget https://your-satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT -P /usr/share/rhn/ 

First you need to download some rpms

# rpm -Uvh http://yum.spacewalkproject.org/2.2-client/RHEL/6/x86_64/spacewalk-client-repo-2.2-1.el6.noarch.rpm
# BASEARCH=$(uname -i)
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm
# yum -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
# yum -y install rhncfg
# yum -y install osad
# yum -y install rhncfg-actions.noarch
# yum -y install spacewalk-abrt.noarch
# rhn-actions-control --enable-all

Then you need to restart sshd

# service sshd restart

Lastly, would be to register the client via the command given below.

# rhnreg_ks --serverUrl=https://your-satellite.example.com/XMLRPC --activationkey=1-your activation key

*NOTE: The URL address needs to be Fully Qualified Domain Name(FQDN) otherwise the there will be issues registering / pushing updates to clients.

If you encounter any errors during the process, let us know via Contact Us and will get it resolved promptly.

Most Read Articles

Add/Detect a new disk in ...

Written By Farooq Mohammed Ahmed on Sunday, 11 January 2015 19:22
Add/Detect a new disk in ...

Upgrade Red Hat Satellite...

Written By Farooq Mohammed Ahmed on Friday, 22 April 2016 18:33
Upgrade Red Hat Satellite...

Cacti Install and Config ...

Written By Farooq Mohammed Ahmed on Monday, 30 November 2015 11:13
Cacti Install and Config ...

Using awk in Alias Comman...

Written By Farooq Mohammed Ahmed on Friday, 19 February 2016 14:22
Using awk in Alias Comman...

Replace SSL Certificates ...

Written By Farooq Mohammed Ahmed on Friday, 16 December 2016 08:05
Replace SSL Certificates ...