외부 통신(인터넷) 가능 경우
Installing YUM repository
BASEARCH=$(uname -i)
rpm -Uvh http://yum.spacewalkproject.org/1.9/RHEL/6/$BASEARCH/spacewalk-client-repo-1.9-1.el6.noarch.rpm
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm
Installing client packages
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
Register
rhnreg_ks --serverUrl=http://YourSpacewalk.example.org/XMLRPC --activationkey=<key-with-rhel-custom-channel>
Example
rhnreg_ks --serverUrl=http://spacewalk.abc.org/XMLRPC --activationkey=1-el6-x86_64
Copy SSL certificate
wget http://YourSpacewalk.example.org/pub/RHN-ORG-TRUSTED-SSL-CERT -p /usr/share/rhn/
Installing OSAD(Open Source Architecture Daemon)
rpm -Uhv jabberpy-0.5-0.21.el6.noarch.rpm
rpm -Uhv osad-5.11.18-1.el6.noarch.rpm
OSAD는 Spacewalk에서 Spacewalk 클라이언트를 제어할 수 있도록 해준다.
Run OSAD service
chkconfig osad on
service osad start
외부 통신 불가능 경우
Importing repository GPG Keys
rpm --import RPM-GPG-KEY-EPEL-6
rpm --import RPM-GPG-KEY-spacewalk-2012
Installing required packages
rpm -Uhv pyOpenSSL-0.10-2.el6.x86_64.rpm
rpm -Uhv python-dmidecode-3.10.13-1.el6.x86_64.rpm
rpm -Uhv pygobject2-2.20.0-5.el6.x86_64.rpm
rpm -Uhv python-gudev-147.1-4.el6_0.1.x86_64.rpm
rpm -Uhv python-hwdata-1.7.3-1.el6.noarch.rpm
rpm -Uhv rhnlib-2.5.55-1.el6.noarch.rpm
rpm -Uhv rhn-client-tools-1.9.10-1.el6.noarch.rpm
rpm -Uhv m2crypto-0.20.2-9.el6.x86_64.rpm
rpm -Uhv rhnsd-5.0.9-1.el6.x86_64.rpm --nodeps
rpm -Uhv rhn-setup-1.9.10-1.el6.noarch.rpm
rpm -Uhv yum-rhn-plugin-1.9.4-1.el6.noarch.rpm
rpm -Uhv rhn-check-1.9.10-1.el6.noarch.rpm
Copy SSL certificate
wget http://YourSpacewalk.example.org/pub/RHN-ORG-TRUSTED-SSL-CERT -p /usr/share/rhn/
Installing OSAD(Open Source Architecture Daemon)
rpm -Uhv jabberpy-0.5-0.21.el6.noarch.rpm
rpm -Uhv osad-5.11.18-1.el6.noarch.rpm
Register
rhnreg_ks --serverUrl=http://YourSpacewalk.example.org/XMLRPC --activationkey=<key-with-rhel-custom-channel>
Run OSAD service
chkconfig osad on
service osad start
No comments:
Post a Comment