Wednesday 30 May 2012

Spacewalk and RHEL6

Register RHEL6 client with Spacewalk

Reference:

  • http://linuxinternetworks.com/register-clients-in-spacewalk/ 

Instructions

  1. First set a couple of variables to help the following instructions work with more versions:
    BASE_ARCH=$(uname -i)
    BASE_REL=$(sed -e '/.*release /s///' -e 's/\..*//' /etc/redhat-release)
  2. Install the Space walk client for your architecture:
    rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/$BASE_REL/$BASE_ARCH/spacewalk-client-repo-1.7-5.el$BASE_REL.noarch.rpm
    wget --directory-prefix=/tmp ftp://mirror.optus.net/epel/$BASE_REL/$BASE_ARCH/epel-release*.noarch.rpm && rpm -Uvh /tmp/epel-release*.noarch.rpm
  3. Install the client packages:
    yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
  4. Register the client:
    rhnreg_ks --serverUrl=https://<fqn_spacewalk_server>/XMLRPC --activationkey=1-<activation_key_label>

Install Spacewalk on RHEL6

Links
Instructions
wget rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/6/x86_64/spacewalk-repo-1.7-5.el6.noarch.rpm

No comments:

Post a Comment