CentOS 7
Ads

Spacewalk : Clients' Settings
2015/06/23
 
Register system as Spacewalk client to manage it by Spacewalk management server.
[1] Configure repository for Spacewalk client on a Host and install required packages and finally register to the server. Specify the activation key which you created on initial settings.
# install package for repository

[root@node01 ~]#
yum -y install http://yum.spacewalkproject.org/latest/RHEL/7/x86_64/spacewalk-client-repo-2.3-4.el7.noarch.rpm
# enable EPEL too

[root@node01 ~]#
yum --enablerepo=epel -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
# download certificates from Spacewalk management server (replace hostname to your own one)

[root@node01 ~]#
yum -y install http://dlp.srv.world/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
# register system with activation key

[root@node01 ~]#
rhnreg_ks --serverUrl=https://dlp.srv.world/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-centos7-base-x86_64

[2] Login to Spacewalk admin site and move to "Systems" tab, then registred systems is displayed.
[3] It's possible to make sure details to click a hostname.
[4] It's possible to make sure installed packages or install new packages and other many management tasks on here.
 
Tweet