Install Spacewalk on CentOS 6

Install Spacewalk on CentOS 6

Install Spacewalk on CentOS 6

What is Spacewalk?

Spacewalk is an open source Linux systems management solution. Spacewalk is the upstream community project from which the Red Hat Satellite product is derived. This allows you to manage your server inventory, install updates, and deploy configurations to all networked servers.

Please note, Spacewalk requires a MINIMUM of 12GB of usable storage to be installed on. The directory it uses heavily is /var/lib/pgsql/data

Login, and su to root

rpm -Uvh command installing the Spacewalk 1.9 repository RPM

Enable the EPEL Repo

Installing the EPEL and Spacewalk repository RPMs

Install the Spacewalk Repo

Installing the spacewalk-repo 1.9 package with rpm -Uvh to add the Spacewalk repository on CentOS 6

from here we need to create/modify a new repo

Editing /etc/yum.repos.d/jpackage-generic.repo in vi before installing Spacewalk on CentOS 6

it should look as follows:

jpackage-generic.repo contents with name and mirrorlist

install spacewalk via yum, as well as the embedded database

Running yum install spacewalk-setup-embedded-postgresql to set up the embedded PostgreSQL database for Spacewalk
Running yum install spacewalk-postgresql to install Spacewalk with its PostgreSQL back end on CentOS 6

this will take some time….

now we need to create an answer file for the installer

vi answer command to create the installer answer file

configure as follows:

Spacewalk answer file with admin-email and SSL certificate fields

Install spacewalk with the answer file…

spacewalk-setup --disconnected --answer-file=/root/answer command

enter your email address, and of course hit Yes that you want to use SSL

spacewalk-setup output setting up the PostgreSQL database

answer all the questions as appropriate for the certificate

you of course want these services enabled

spacewalk-setup prompt to enable tftp and xinetd for Cobbler

once completed it will restart services, this may take a few minutes… Complete!

now visit https://servername.domain.local

from here you enter the setup, and have to configure a spacewalk administrator

Create Spacewalk Administrator web page

once created, you will be redirected to the admin panel

Spacewalk web console overview after creating the first user

That’s it!

Hosted Linux Servers at www.zwiegnet.com/go

Related guides: Patching and Installing Updates on CentOS | Configure Kickstart CentOS 6

Leave a Reply

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