The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.
Ensure that the
jta
package is not installed and prevent it from being installed when you install Spacewalk.To check if the
jta
package is installed:#
yum list installed | grep jta
To remove the
jta
package:#
yum remove jta
To prevent the
jta
package from being installed when you install Spacewalk, either disable the Oracle Linux 6 Add ons[ol6_addons]
channel, or add thejta
package to theexclude
directive in the yum configuration file/etc/yum.conf
, for example:exclude=jta*
Enable access to the Spacewalk Server repository.
Spacewalk is installed from the Oracle Linux yum server at https://yum.oracle.com.
Download the latest the yum repository configuration file (https://yum.oracle.com/public-yum-ol6.repo) to the yum repositories directory (by default
/etc/yum.repos.d
) and enable theol6_spacewalk20_server
repository in that file.Alternatively, you can create a yum repository configuration file, for example
/etc/yum.repos.d/spacewalk20.repo
, with the following content:[ol6_spacewalk20_server] name=Spacewalk Server 2.0 for Oracle Linux 6 ($basearch) baseurl=https://yum.oracle.com/repo/OracleLinux/OL6/spacewalk20/server/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1
Install Spacewalk.
#
yum install spacewalk-oracle
Configure Spacewalk.
If you are using an Oracle database, either on the same server or on a remote server, use the following command:
#
spacewalk-setup --disconnected --external-db
Otherwise, use the following command:
#
spacewalk-setup --disconnected
The following example shows an interactive configuration:
#
spacewalk-setup --disconnected --external-db
* Setting up Oracle environment. * Setting up database. ** Database: Setting up database connection for Oracle backend. Database service name (SID)?<orcl.domain.com>
Database hostname [localhost]?<spacewalk-db.domain.com>
Username?<spacewalk-db-user>
Password?**
Database: Testing database connection. ** Database: Populating database. *** Progress: ############################################################ * Setting up users and groups. ** GPG: Initializing GPG and importing key. ** GPG: Creating /root/.gnupg directory You must enter an email address. Admin Email Address?<your.email@domain.com>
* Performing initial configuration. * Activating Spacewalk. ** Loading Spacewalk Certificate. ** Verifying certificate locally. ** Activating Spacewalk. * Enabling Monitoring. * Configuring apache SSL virtual host. Should setup configure apache'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?<Oracle Demo>
Organization Unit [spacewalk.domain.com]? Email Address [your.email@domain.com]? City?<Redwood Shores>
State?<CA>
Country code (Examples: "US", "JP", "IN", or type "?" to see a list)?<US>
** 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.. Processing /etc/cobbler/modules.conf `/etc/cobbler/modules.conf' -> `/etc/cobbler/modules.conf-swsave' Processing /etc/cobbler/settings `/etc/cobbler/settings' -> `/etc/cobbler/settings-swsave' cobblerd does not appear to be running/accessible Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? cobblerd does not appear to be running/accessible * Restarting services. Installation complete. Visit https://spacewalk.domain.com to create the Spacewalk administrator account.