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:

spacewalk-client-1

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

spacewalk-client-2

Copy your newly generated key from the previous section:

spacewalk-client-3

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=http://10.10.0.101/XMLRPC --activationkey=1-c7fab6cb6a595a527c3a7f3bb02d5ba1

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

spacewalk-client-4

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:

spacewalk-client-5

Next, we need to add some repositories:

spacewalk-client-6

Comments