It is time to register first client to your spacewalk server. In this example I will add machine jelena.setenforce.com 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 http://yum.spacewalkproject.org/2.4-client/RHEL/6/x86_64/spacewalk-client-repo-2.4-3.el6.noarch.rpm
[root@jelena ~]# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

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 http://spacewalk.setenforce.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm

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=https://spacewalk.setenforce.com/XMLRPC --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.