It is time to register first client to your spacewalk server. In this example I will add machine as a client to my spacewalk server. For all packages I need I have to enable spacewalk client repository and EPEL repo. My client machine is CentOS 6.5.

[root@jelena ~]# rpm -ivh
[root@jelena ~]# rpm -ivh

Install packages

[root@jelena ~]# yum -y --nogpg install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin rhncfg-actions

Install certificate from spacewalk server:

[root@jelena ~]# rpm -ivh

You should ensure that spacewalk server is resolvable from client so put IP address and hostname in /etc/hosts file.

Register client:

[root@jelena ~]# rhnreg_ks --serverUrl= --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-7a109a77a1cb133e38e0d35db930ffde –force

Also I would like to remote manage client form spacewalk and to upload some configuration files. For this purpose I choose osad. So install it and configure to start in boot time.

[root@jelena ~]# yum -y --nogpg install osad; service osad start; chkconfig osad on
[root@jelena ~]# rhn-actions-control --enable-all

If you click on Systems tab in spacewalk Web console you will see that machine is register to Spacewalk.