[Spacewalk-list] Please Can I have a working config

m.roth2006 at rcn.com m.roth2006 at rcn.com
Wed Feb 18 20:26:09 UTC 2009


>Date: Wed, 18 Feb 2009 14:00:44 -0500
>From: Steve Vargo <stevevargo at hotmail.com>  
<snip>   
>   > > So can someone..... Anyone.... give me a config
>   that thay have working so I don't continue to chase
>   my tail. All I want to know is Can I get spacewalk
>   0.4 to run on RHEL x86_64 and have clients register.
>   If not can I know what config works... (Spacewalk
>   0.3 on 5.0 x86????)

This is what I did, as far as I remember and have written down - there may be something I missed.

mkdir /opt/src . for all d/l rpms.

Oracle install
 rpm .ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
 rpm -ivh oracle-instantclient-*

/etc/init.d/oracle-xe configure
Use 9000 as the http port, do not accept the default 8080.

Log in via web, and create the spacewalk user, with all rights . dba, and "check all".
Log into sqlplus, and perform additional configuration:

sqlplus spacewalk/spacewalk at xe 
SQL> alter system set processes = 400 scope=spfile; 
System altered. 
SQL> alter system set "_optimizer_filter_pred_pullup"=false scope=spfile; 
System altered. 
SQL> alter system set "_optimizer_cost_based_transformation"=off scope=spfile; 
System altered. 
SQL> quit 

/sbin/service oracle-xe restart 

Pbone search page for pyOpenSSL:
http://rpm.pbone.net/index.php3/stat/4/idpl/8077963/com/pyOpenSSL-0.6-1.p24.7.2.2.i386.rpm.html
rpm .ivh pyOpenSSL-0.6-1.p24.7.2.2.i386.rpm.html
Page for rhnlib, a dependency not found by yum:
http://www-personal.umich.edu/~lrsmith/Spacewalk/rpms/
http://www-personal.umich.edu/~lrsmith/Spacewalk/rpms/rhnlib-2.2.5-1.noarch.rpm
 wget http://stahnma.fedorapeople.org/spacewalk-tools/5Server/i386/rhel-instnum-1.0.8-1.el5.noarch.rpm
rpm -ivh rhel-instnum-1.0.8-1.el5.noarch.rpm
wget http://www-personal.umich.edu/~lrsmith/Spacewalk/rpms/rhnlib-2.2.5-1.noarch.rpm
rpm -e spacewalk-repo
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm
rpm -Uvh http://spacewalk.redhat.com/yum/0.4/rhel/5Server/i386/spacewalk-repo-0.4-1.el5.noarch.rpm
Per the CentOS spacewalk install page, <http://wiki.centos.org/HowTos/PackageManagement/Spacewalk>
get and import the GPG keys, otherwise, yum will refuse to install spacewalk and its dependencies.
wget http://www.redhat.com/security/db42a60e.txt
mv db42a60e.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-former
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-former

wget http://www.redhat.com/security/37017186.txt
mv 37017186.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

wget http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk
mv RPM-GPG-KEY-spacewalk /etc/pki/rpm-gpg/RPM-GPG-KEY-spacewalk
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-spacewalk

wget http://stahnma.fedorapeople.org/spacewalk-tools/SPACEWALK-CLIENT-TOOLS-RPM-GPG-KEY
mv SPACEWALK-CLIENT-TOOLS-RPM-GPG-KEY /etc/pki/rpm-gpg/RPM-GPG-KEY-spacewalk-client-tools
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-spacewalk-client-tools

wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
mv RPM-GPG-KEY.dag.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-dag
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-dag

yum install spacewalk
spacewalk-setup .disconnected
yum install spacewalk-client-tools

yum-utils are installed by the install of spacewalk and its dependencies.

Then it's reposync and rhnpush.

        mark
    mark




More information about the Spacewalk-list mailing list