SpaceWalk Database

SpaceWalk supports PostgreSQL (version 8.4 or higher) or Oracle ( version 10g or higher) as a database for storing its data.

Embedded Database

Spacewalk has the embedded setup for PostgreSQL database which will do the automatic Spacewalk installation without having user intervention to enter the database information.

Embedded database method is very easy to setup and runs the Spacewalk in no time; this is very useful for those who do not have any database knowledge. Here, we will use the embedded database for Spacewalk installation.

yum -y install spacewalk-setup-postgresql

External Database

You can use the external PostgreSQL or Oracle database to install Spacewalk. You can find the tons of documents online to setup database.

Install SpaceWalk

If you prefer to use the PostgreSQL database (Either Embedded or External PostgreSQL database), then install the following package.

yum install -y spacewalk-postgresql

Configure SpaceWalk

If you have installed the embedded database, then use below command. It will ask you to enter the admin mail and organization details to generate the self-signed certificate for secure access.