May 23

Installing Spacewalk

So this was frustrating. Attempting to follow a couple of different “how to install spacewalk” yielded frustration.  I did find this post that was very good and worked, with a couple of caveats I found during my trials it get this installed. This is the post I followed.

http://www.catonrug.net/2016/07/install-spacewalk-25-on-centos-7.html

Caveats:

  1. Have the hostname set in /etc/sysconfig/network :  HOSTNAME=server.example.com  (doesn’t hurt to have this correct in /etc/hosts and /etc/hostname either). I overlooked this and it is a stupid mistake. Always set your hostname.
  2. This was the bigger one… c3p0 which provides JDBC DataSources/Resource Pools was upgraded and it’s path was moved. Downgrading to the previous version fixes things. Here is what I did:
    yum downgrade c3p0-0.9.1.2-2.jpp5.noarch

So I have this up and running now. I am continuing to follow the individuals guide on getting the software channels created and setup. I also need to go through my notes, I have some scripts I used in a previous life on SuSE Manager for cutting new channels. Hopefully they will get me in the right direction to managing this pig when it is working.

While continuing with this project I found the following site had some helpful information regarding Spacewalk channels and client installs:

http://www.catonrug.net/2016/01/create-centos-7-base-software-channel-spacewalk.html

Follow up sites:

How To Manage Spacewalk Channels And Repositories

Install And Register Spacewalk Client To The Spacewalk Server

This is becoming a stream of consciousness and I will need to work out a better way of doing this but another tidbit for password recovery (yes it already happened)

Try using command line tool

satwho
satpasswd <username>

Addition of the EPEL repo:

epel channel
Channel Name: centos-7-epel-x86_64
GPG key URL: http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
GPG key ID: 352C64E5
GPG key Fingerprint: 91E9 7D7C 4A5E 96F1 7F3E 888F 6A2F AEA2 352C 64E5

epel repo
Repository Label: centos-7-epel-x86_64
Repository URL: http://dl.fedoraproject.org/pub/epel/7/x86_64/

 



Copyright 2018. All rights reserved.

Posted May 23, 2017 by administrator in category "Computer", "Ramblings

Leave a Reply

Your email address will not be published. Required fields are marked *

Not a Robot * Time limit is exhausted. Please reload the CAPTCHA.