This how to will help you with your install and configuration of Spacewalk on your CentOS 7 server. For those of you who didn’t know, Spacewalk is the package and system management solution for Redhat derived Linux operating system such as CentOS, Scientific Linux and Fedora, by the spacewalk community. It is released under GPLv2 license. It offers more flexible way to do. Spacewalk enables you to inventory your systems, manage configuration, act as central repository for your systems, monitor your systems and so on.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Spacewalk on CentOS 7 server.
Install Spacewalk on CentOS 7
Step 1. First, you need to enable EPEL repository on your system.
Add JPackage repository:
Add Spacewalk repository:
Step 2. Install PostgreSQL database for Spacewalk.
Spacewalk uses database to store its primary data, it supports either PostgreSQL or Oracle RDBMS. In our case we are using postgresql:
Step 3. Install Spacewalk.
Now, install Spacewalk server using command:
Step 4. Firewall configuration.
Before we will be able to connect to our newly configured Spacewalk-server, we need to make sure that the firewall doesn’t block access:
Step 5. Configure Spacewalk.
If you have installed embedded database, then use. It will ask you to enter the admin mail and organization details to generate the self signed certificate for secured access:
[firstname.lastname@example.org~]# spacewalk-setup --disconnected
Shouldsetupconfigureapache's default ssl server for you (saves original ssl.conf) [Y]?
** /etc/httpd/conf.d/ssl.conf has been backed up to ssl.conf-swsave
* Configuring tomcat.
** /etc/sysconfig//tomcat6 has been backed up to tomcat6-swsave
** /etc/tomcat6//server.xml has been backed up to server.xml-swsave
** /etc/tomcat6//web.xml has been backed up to web.xml-swsave
* Configuring jabberd.
* Creating SSL certificates.
CA certificate password?
Re-enter CA certificate password?
Organization Unit [server.idroot.net]?
Email Address [[email protected]]?
Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? SI
** SSL: Generating CA certificate.
** SSL: Deploying CA certificate.
** SSL: Generating server certificate.
** SSL: Storing SSL certificates.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
Visithttps://server.idroot.net to create the Spacewalk administrator account.
At this point, Spacewalk is installed, configured and ready to use. Refer to the next section to get started with Spacewalk.
Step 5. Accessing Spacewalk.
Spacewalk will be available on HTTPS port 443 by default. Open your favorite browser and navigate to https://hostname.yourdomain.com and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 and 443 to enable access to the control panel.
Congratulation’s! You have successfully installed Spacewalk. Thanks for using this tutorial for installing Spacewalk server on CentOS 7 system. For additional help or useful information, we recommend you to check the official Spacewalk web site.