Installing Spacewalk clients on CentOS 7 to existing Spacewalk server

We have already installed Spacewalk server from which we can control all of our systems. In order to do that, we now need to install our client systems and register them to our Spacewalk server.

Lets begin by installing the necessary repository:

yum -y install epel-release

After that we can install the Spacewalk client:

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

Next, login to your Spacewalk server and navigate to Overview -> Manage activation keys:


Create a new key by clicking on "Create key" on the top right corner:


Copy your newly generated key from the previous section:


Now, go back to your Spacewalk client and paste the following command. Note, that you will need to replace your client's IP and activation key:

rhnreg_ks --serverUrl= --activationkey=1-c7fab6cb6a595a527c3a7f3bb02d5ba1

Your newly added client should now appear in your Spacewalk server's overview section:


Now our system is added successfully to our Spacewalk server. Next thing we might want to do is to add some software repositories. This is controlled by Spacewalk's "channels". This is located in Channels -> Manage Software Channels -> Add Channel:


Next, we need to add some repositories: