Install Spacewalk Client on Centos 6

The following instructions are for configuring a Centos 6 box to talk to a Spacewalk server. Instructions on how to setup a Spacewalk server can be found at

  1. Install the Spacewalk Client repo

    [root@spacewalkclient ~]# rpm -Uvh
  2. Clean all the yum repos

    [root@spacewalkclient ~]# yum clean all
  3. Install the required packages

    [root@spacewalkclient ~]# yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
  4. Now you need to generate a activation key. The steps to do this are:

    1. Log into the Spacewalk web interface
    2. From the top navigation select Systems
    3. In the left navigation select Activation Keys
    4. In the top right hand corner click New Key
    5. Enter a name for this activation key and click Create Activation Key
    6. The activation key will then populate Note: This the text box doesn’t contain the complete key, the text before the textbox is part of the key. To see the complete key select Activation Keys from the left nav and it is shown in the list of keys.
  5. On the client run the configuration tool. Replace the IP and activation key with those from your setup. Once done your computer will be visible in the list of systems in spacewalk.

    root@spacewalkclient ~]# rhnreg_ks --serverUrl= --activationkey=1-414ace93e6c3e94c85aec54a653e761d