Install Spacewalk Server on CentOS 7 - CentLinux

Latest

Tuesday, 22 October 2019

Install Spacewalk Server on CentOS 7

Install Spacewalk Server on CentOS 7

Spacewalk server is a free and open source Linux systems management software for provisioning, patching and configuration management of Spacewalk clients. Spacewalk is an upstream fork of Red Hat Satellite, a commercial fork developed by Red Hat. Spacewalk is distributed under GNU GPL v2 license.

In this article, we are installing Spacewalk server on CentOS 7.

Most of the configurations in this tutorial are command line based. Therefore, if you are new to Linux CLI then you should read Linux Command Line and Shell Scripting Bible, 3rd Edition by Wiley.

 

This Article Provides:

     

    Spacewalk Features:

    Some of the popular features of Spacewalk are.

    • Systems Inventory (Hardware and Software)
    • System Software Installation and Updates
    • System provisioning (via Kickstart)
    • Management and deployment of configuration files
    • Provision of virtual Guests
    • OpenSCAP Auditing of client systems

     

    Environment Specification:

    We have configured a CentOS 7 based virtual machine for this tutorial.

    • CPU - 3.4 Ghz (2 cores)
    • Memory - 2 GB
    • Storage - 20 GB
    • Operating System - CentOS 7.7
    • Hostname - spacewalk-01.example.com
    • IP Address - 192.168.116.213 /24

     

    Installing Spacewalk and EPEL yum repositories on CentOS 7:

    Connect with spacewalk-01.example.com using ssh as root user.

    Spacewalk yum repositories are available at Spacewalk project website.

    Download and install Spacewalk yum repository on CentOS 7.

    [root@spacewalk-01 ~]# curl -s https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/spacewalk-2.9/repo/epel-7/group_spacewalkproject-spacewalk-2.9-epel-7.repo > /etc/yum.repos.d/spacewalk.repo

    Spacewalk requires some packages from EPEL (Extra Packages for Enterprise Linux). Therefore, we are also required to install EPEL before installing Spacewalk.

    [root@spacewalk-01 ~]# yum install -y epel-release.noarch Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirrors.estointernet.in * extras: centos.mirrors.estointernet.in * updates: centos.mirrors.estointernet.in Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:7-11 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: epel-release noarch 7-11 extras 15 k Transaction Summary ================================================================================ Install 1 Package Total download size: 15 k Installed size: 24 k Downloading packages: epel-release-7-11.noarch.rpm | 15 kB 00:03 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : epel-release-7-11.noarch 1/1 Verifying : epel-release-7-11.noarch 1/1 Installed: epel-release.noarch 0:7-11 Complete!

    Spacewalk also requires latest version of some Java packages that are not available in EPEL yum repository. However, Spacewalk provides a yum repository of it's own for these packages. Therefore, we are installing it as well.

    [root@spacewalk-01 ~]# curl -s https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/java-packages/repo/epel-7/group_spacewalkproject-java-packages-epel-7.repo > /etc/yum.repos.d/spacewalk-java.repo

    Build cache for newly added yum repositories.

    [root@spacewalk-01 ~]# yum makecache fast Loaded plugins: fastestmirror Determining fastest mirrors epel/x86_64/metalink | 7.1 kB 00:00 * base: mirrors.ges.net.pk * epel: kartolo.sby.datautama.net.id * extras: mirrors.ges.net.pk * updates: mirrors.ges.net.pk base | 3.6 kB 00:00 copr:copr.fedorainfracloud.org:group_spacewalkproject:ja | 3.3 kB 00:00 copr:copr.fedorainfracloud.org:group_spacewalkproject:sp | 3.6 kB 00:00 epel | 5.4 kB 00:00 extras | 2.9 kB 00:00 updates | 2.9 kB 00:00 (1/9): base/7/x86_64/group_gz | 165 kB 00:03 (2/9): epel/x86_64/group_gz | 88 kB 00:04 (3/9): copr:copr.fedorainfracloud.org:group_spacewalkproje | 73 kB 00:04 (4/9): copr:copr.fedorainfracloud.org:group_spacewalkproje | 144 kB 00:05 (5/9): extras/7/x86_64/primary_db | 152 kB 00:01 (6/9): updates/7/x86_64/primary_db | 1.9 MB 00:17 (7/9): epel/x86_64/updateinfo | 1.0 MB 01:10 (8/9): base/7/x86_64/primary_db | 6.0 MB 03:17 (9/9): epel/x86_64/primary_db | 6.8 MB 03:25 Metadata Cache Created

     

    Install PostgreSQL Database for Spacewalk:

    Spacewalk needs a backend database for storing it's data. Current versions of Spacewalk supports PostgreSQL (8.4 or later) and Oracle RDBMS (10g or later).

    Being a FOSS (Fan of Open Source Software), we definitely prefer PostgreSQL for this tutorial.

    Spacewalk yum repository provides an embedded version of PostgreSQL for Spacewalk software.

    We are installing this PostgreSQL database backend as follows.

    [root@spacewalk-01 ~]# yum install -y spacewalk-setup-postgresql ... Installed: spacewalk-setup-postgresql.noarch 0:2.8.4-1.el7 Dependency Installed: lsof.x86_64 0:4.87-6.el7 mailcap.noarch 0:2.1.41-2.el7 perl.x86_64 4:5.16.3-294.el7_6 perl-Business-ISBN.noarch 0:2.06-2.el7 perl-Business-ISBN-Data.noarch 0:20120719.001-2.el7 perl-Carp.noarch 0:1.26-244.el7 perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBD-Pg.x86_64 0:2.19.3-4.el7 perl-DBI.x86_64 0:1.627-4.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7 perl-Digest.noarch 0:1.17-245.el7 perl-Digest-MD5.x86_64 0:2.52-3.el7 perl-Encode.x86_64 0:2.51-7.el7 perl-Encode-Locale.noarch 0:1.03-5.el7 perl-Exporter.noarch 0:5.68-3.el7 perl-File-Listing.noarch 0:6.04-7.el7 perl-File-Path.noarch 0:2.09-2.el7 perl-File-Temp.noarch 0:0.23.01-3.el7 perl-Filesys-Df.x86_64 0:0.92-20.el7 perl-Filter.x86_64 0:1.49-3.el7 perl-Getopt-Long.noarch 0:2.40-3.el7 perl-HTML-Parser.x86_64 0:3.71-4.el7 perl-HTML-Tagset.noarch 0:3.20-15.el7 perl-HTTP-Cookies.noarch 0:6.01-5.el7 perl-HTTP-Daemon.noarch 0:6.01-8.el7 perl-HTTP-Date.noarch 0:6.02-8.el7 perl-HTTP-Message.noarch 0:6.06-6.el7 perl-HTTP-Negotiate.noarch 0:6.01-5.el7 perl-HTTP-Tiny.noarch 0:0.033-3.el7 perl-IO-Compress.noarch 0:2.061-2.el7 perl-IO-HTML.noarch 0:1.00-2.el7 perl-IO-Socket-IP.noarch 0:0.21-5.el7 perl-IO-Socket-SSL.noarch 0:1.94-7.el7 perl-LWP-MediaTypes.noarch 0:6.02-2.el7 perl-Module-Implementation.noarch 0:0.06-6.el7 perl-Module-Runtime.noarch 0:0.013-4.el7 perl-Mozilla-CA.noarch 0:20130114-5.el7 perl-Net-Daemon.noarch 0:0.48-5.el7 perl-Net-HTTP.noarch 0:6.06-2.el7 perl-Net-LibIDN.x86_64 0:0.12-15.el7 perl-Net-SSLeay.x86_64 0:1.55-6.el7 perl-Params-Validate.x86_64 0:1.08-4.el7 perl-PathTools.x86_64 0:3.40-5.el7 perl-PlRPC.noarch 0:0.2020-14.el7 perl-Pod-Escapes.noarch 1:1.04-294.el7_6 perl-Pod-Perldoc.noarch 0:3.20-4.el7 perl-Pod-Simple.noarch 1:3.28-4.el7 perl-Pod-Usage.noarch 0:1.63-3.el7 perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 perl-Socket.x86_64 0:2.010-4.el7 perl-Storable.x86_64 0:2.45-3.el7 perl-Text-ParseWords.noarch 0:3.29-4.el7 perl-Time-HiRes.x86_64 4:1.9725-3.el7 perl-Time-Local.noarch 0:1.2300-2.el7 perl-TimeDate.noarch 1:2.30-2.el7 perl-Try-Tiny.noarch 0:0.12-2.el7 perl-URI.noarch 0:1.60-9.el7 perl-WWW-RobotRules.noarch 0:6.02-5.el7 perl-XML-LibXML.x86_64 1:2.0018-5.el7 perl-XML-NamespaceSupport.noarch 0:1.11-10.el7 perl-XML-SAX.noarch 0:0.99-9.el7 perl-XML-SAX-Base.noarch 0:1.08-7.el7 perl-constant.noarch 0:1.27-2.el7 perl-libs.x86_64 4:5.16.3-294.el7_6 perl-libwww-perl.noarch 0:6.05-2.el7 perl-macros.x86_64 4:5.16.3-294.el7_6 perl-parent.noarch 1:0.225-244.el7 perl-podlators.noarch 0:2.5.1-3.el7 perl-threads.x86_64 0:1.87-4.el7 perl-threads-shared.x86_64 0:1.43-6.el7 perl-version.x86_64 3:0.99.07-3.el7 postgresql.x86_64 0:9.2.24-1.el7_5 postgresql-contrib.x86_64 0:9.2.24-1.el7_5 postgresql-libs.x86_64 0:9.2.24-1.el7_5 postgresql-pltcl.x86_64 0:9.2.24-1.el7_5 postgresql-server.x86_64 0:9.2.24-1.el7_5 spacewalk-base-minimal.noarch 0:2.9.4-1.el7 spacewalk-dobby.noarch 0:2.9.4-1.el7 tcl.x86_64 1:8.5.13-8.el7 uuid.x86_64 0:1.6.2-26.el7 Complete!

     

    Installing Spacewalk Server on CentOS 7:

    Now, we can install Spacewalk using yum command.

    [root@spacewalk-01 ~]# yum install -y spacewalk-postgresql ... maven-invoker.noarch 0:2.1.1-9.el7 maven-javadoc-plugin.noarch 0:2.10.4-1.sw maven-model.noarch 0:2.2.1-47.el7 maven-plugin-registry.noarch 0:2.2.1-47.el7 maven-profile.noarch 0:2.2.1-47.el7 maven-project.noarch 0:2.2.1-47.el7 maven-reporting-api.noarch 1:3.0-5.el7 maven-settings.noarch 0:2.2.1-47.el7 maven-shared-incremental.noarch 0:1.1-6.el7 maven-shared-utils.noarch 0:0.4-3.el7 maven-source-plugin.noarch 0:2.2.1-7.el7 maven-toolchain.noarch 0:2.2.1-47.el7 maven-wagon.noarch 0:2.4-3.el7 mchange-commons.noarch 0:0.2.7-4.sw mesa-libEGL.x86_64 0:18.3.4-5.el7 mesa-libGL.x86_64 0:18.3.4-5.el7 mesa-libgbm.x86_64 0:18.3.4-5.el7 mesa-libglapi.x86_64 0:18.3.4-5.el7 mod_ssl.x86_64 1:2.4.6-90.el7.centos mod_wsgi.x86_64 0:3.4-18.el7 momentjs.noarch 0:2.6.0-5.el7 mtools.x86_64 0:4.0.18-5.el7 nekohtml.noarch 0:1.9.14-13.el7 net-snmp-libs.x86_64 1:5.7.2-43.el7 net-snmp-utils.x86_64 1:5.7.2-43.el7 nettle.x86_64 0:2.7.1-8.el7 nutch.noarch 0:1.0-0.19.20081201040121nightly.el7 objectweb-asm.noarch 0:3.3.1-9.el7 openwsman-python.x86_64 0:2.6.3-6.git4391e5c.el7_6 osa-dispatcher.noarch 0:5.11.107-1.el7 osa-dispatcher-selinux.noarch 0:5.11.107-1.el7 pango.x86_64 0:1.42.4-4.el7_7 patch.x86_64 0:2.7.1-11.el7 patternfly1.noarch 0:1.0.5-9.el7 pcsc-lite-libs.x86_64 0:1.8.8-8.el7 perl-Authen-PAM.x86_64 0:0.16-16.el7 perl-Authen-SASL.noarch 0:2.15-10.el7 perl-BerkeleyDB.x86_64 0:0.51-4.el7 perl-Class-Load.noarch 0:0.20-3.el7 perl-Class-Singleton.noarch 0:1.4-14.el7 perl-Data-OptList.noarch 0:0.107-9.el7 perl-DateTime.x86_64 2:1.04-6.el7 perl-DateTime-Locale.noarch 0:0.45-6.el7 perl-DateTime-TimeZone.noarch 0:1.70-2.el7 perl-Digest-HMAC.noarch 0:1.03-5.el7 perl-Digest-SHA.x86_64 1:5.85-4.el7 perl-Digest-SHA1.x86_64 0:2.13-9.el7 perl-GSSAPI.x86_64 0:0.28-9.el7 perl-HTTP-ProxyAutoConfig.noarch 0:0.3-8.el7 perl-List-MoreUtils.x86_64 0:0.33-9.el7 perl-Mail-RFC822-Address.noarch 0:0.3-15.el7 perl-Net-DNS.x86_64 0:0.72-6.el7 perl-Net-Jabber.noarch 0:2.0-25.el7 perl-Net-XMPP.noarch 0:1.02-21.el7 perl-Package-DeprecationManager.noarch 0:0.13-7.el7 perl-Package-Stash.noarch 0:0.34-2.el7 perl-Package-Stash-XS.x86_64 0:0.26-3.el7 perl-Params-Util.x86_64 0:1.07-6.el7 perl-Satcon.noarch 0:2.8.2-1.el7 perl-Sub-Install.noarch 0:0.926-6.el7 perl-Term-Completion.noarch 0:1.00-9.el7.4 perl-TermReadKey.x86_64 0:2.30-20.el7 perl-Thread-Queue.noarch 0:3.02-2.el7 perl-Time-ParseDate.noarch 0:2015.103-1.el7 perl-XML-Parser.x86_64 0:2.41-10.el7 perl-XML-Simple.noarch 0:2.20-5.el7 perl-XML-Stream.noarch 0:1.23-9.el7 perl-srpm-macros.noarch 0:1-8.el7 pexpect.noarch 0:2.3-11.el7 pixman.x86_64 0:0.34.0-1.el7 plexus-archiver.noarch 0:2.4.2-5.el7_5 plexus-cipher.noarch 0:1.7-5.el7 plexus-classworlds.noarch 0:2.4.2-8.el7 plexus-compiler.noarch 0:2.2-7.el7 plexus-component-api.noarch 0:1.0-0.16.alpha15.el7 plexus-containers-component-annotations.noarch 0:1.5.5-14.el7 plexus-containers-container-default.noarch 0:1.5.5-14.el7 plexus-i18n.noarch 0:1.0-0.6.b10.4.el7 plexus-interactivity.noarch 0:1.0-0.14.alpha6.el7 plexus-interpolation.noarch 0:1.15-8.el7 plexus-io.noarch 0:2.0.5-9.el7 plexus-sec-dispatcher.noarch 0:1.4-13.el7 plexus-utils.noarch 0:3.0.9-9.el7 plexus-velocity.noarch 0:1.1.8-16.el7 policycoreutils-python.x86_64 0:2.5-33.el7 postgresql-jdbc.noarch 0:9.2.1002-6.el7_5 pwstrength-bootstrap.noarch 0:1.0.2-6.el7 pyOpenSSL.x86_64 0:0.13.1-4.el7 pygobject2.x86_64 0:2.28.6-11.el7 python-IPy.noarch 0:0.75-6.el7 python-backports.x86_64 0:1.0-8.el7 python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 python-cheetah.x86_64 0:2.4.4-5.el7.centos python-debian.noarch 0:0.1.27-3.el7 python-deltarpm.x86_64 0:3.6-3.el7 python-devel.x86_64 0:2.7.5-86.el7 python-dmidecode.x86_64 0:3.12.2-3.el7 python-ethtool.x86_64 0:0.8-8.el7 python-gudev.x86_64 0:147.2-7.el7 python-hwdata.noarch 0:1.7.3-4.el7 python-ipaddress.noarch 0:1.0.16-2.el7 python-javapackages.noarch 0:3.4.1-11.el7 python-lxml.x86_64 0:3.2.1-4.el7 python-netaddr.noarch 0:0.7.5-9.el7 python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7 python-psycopg2.x86_64 0:2.5.1-4.el7 python-pygments.noarch 0:1.4-10.el7 python-requests.noarch 0:2.6.0-5.el7 python-rpm-macros.noarch 0:3-32.el7 python-setuptools.noarch 0:0.9.8-7.el7 python-six.noarch 0:1.9.0-2.el7 python-srpm-macros.noarch 0:3-32.el7 python-suds.noarch 0:0.4.1-5.el7 python-urllib3.noarch 0:1.10.2-7.el7 python2-gzipstream.noarch 0:2.9.3-1.el7 python2-markdown.noarch 0:2.4.1-4.el7 python2-osa-common.noarch 0:5.11.107-1.el7 python2-osa-dispatcher.noarch 0:5.11.107-1.el7 python2-rhn-client-tools.noarch 0:2.9.36-1.el7 python2-rhnlib.noarch 0:2.9.5-1.el7 python2-rhnpush.noarch 0:5.5.117.3-1.el7 python2-rpm-macros.noarch 0:3-32.el7 python2-simplejson.x86_64 0:3.10.0-2.el7 python2-spacewalk-certs-tools.noarch 0:2.9.2-1.el7 python2-spacewalk-usix.noarch 0:2.9.1-1.el7 qdox.noarch 0:1.12.1-10.el7 quartz.noarch 0:1.8.4-11.el7 redhat-rpm-config.noarch 0:9.1.0-88.el7.centos redstone-xmlrpc.noarch 0:1.1_20071120-19.el7 regexp.noarch 0:1.5-13.el7 rhino.noarch 0:1.7R5-1.el7 rhn-client-tools.noarch 0:2.9.36-1.el7 rhnpush.noarch 0:5.5.117.3-1.el7 roboto.noarch 0:1.3-2.el7 rpm-build.x86_64 0:4.11.3-40.el7 rsync.x86_64 0:3.1.2-6.el7_6.1 ruby.x86_64 0:2.0.0.648-36.el7 ruby-irb.noarch 0:2.0.0.648-36.el7 ruby-libs.x86_64 0:2.0.0.648-36.el7 rubygem-bigdecimal.x86_64 0:1.2.0-36.el7 rubygem-io-console.x86_64 0:0.4.2-36.el7 rubygem-json.x86_64 0:1.7.7-36.el7 rubygem-psych.x86_64 0:2.0.0-36.el7 rubygem-rdoc.noarch 0:4.0.0-36.el7 rubygems.noarch 0:2.0.14.1-36.el7 sac.noarch 0:1.3-17.el7 select2.noarch 0:3.4.5-4.el7 select2-bootstrap-css.noarch 0:1.3.0-6.el7 setools-libs.x86_64 0:3.3.8-4.el7 simple-core.noarch 0:3.1.3-10.el7 simple-xml.noarch 0:2.6.7-6.el7 sisu-inject-bean.noarch 0:2.3.0-11.el7 sisu-inject-plexus.noarch 0:2.3.0-11.el7 sitemesh.noarch 0:2.4.2-2.8.el7 slf4j.noarch 0:1.7.4-4.el7_4 spacewalk-admin.noarch 0:2.9.1-1.el7 spacewalk-backend.noarch 0:2.9.35-1.el7 spacewalk-backend-app.noarch 0:2.9.35-1.el7 spacewalk-backend-applet.noarch 0:2.9.35-1.el7 spacewalk-backend-config-files.noarch 0:2.9.35-1.el7 spacewalk-backend-config-files-common.noarch 0:2.9.35-1.el7 spacewalk-backend-config-files-tool.noarch 0:2.9.35-1.el7 spacewalk-backend-iss.noarch 0:2.9.35-1.el7 spacewalk-backend-iss-export.noarch 0:2.9.35-1.el7 spacewalk-backend-libs.noarch 0:2.9.35-1.el7 spacewalk-backend-package-push-server.noarch 0:2.9.35-1.el7 spacewalk-backend-server.noarch 0:2.9.35-1.el7 spacewalk-backend-sql.noarch 0:2.9.35-1.el7 spacewalk-backend-sql-postgresql.noarch 0:2.9.35-1.el7 spacewalk-backend-tools.noarch 0:2.9.35-1.el7 spacewalk-backend-xml-export-libs.noarch 0:2.9.35-1.el7 spacewalk-backend-xmlrpc.noarch 0:2.9.35-1.el7 spacewalk-base.noarch 0:2.9.4-1.el7 spacewalk-base-minimal-config.noarch 0:2.9.4-1.el7 spacewalk-branding.noarch 0:2.9.2-1.el7 spacewalk-certs-tools.noarch 0:2.9.2-1.el7 spacewalk-common.noarch 0:2.9.1-1.el7 spacewalk-config.noarch 0:2.8.5-1.el7 spacewalk-doc-indexes.noarch 0:2.9.2-1.el7 spacewalk-html.noarch 0:2.9.4-1.el7 spacewalk-java.noarch 0:2.9.31-1.el7 spacewalk-java-config.noarch 0:2.9.31-1.el7 spacewalk-java-lib.noarch 0:2.9.31-1.el7 spacewalk-java-postgresql.noarch 0:2.9.31-1.el7 spacewalk-schema.noarch 0:2.9.11-1.el7 spacewalk-search.noarch 0:2.9.1-1.el7 spacewalk-selinux.noarch 0:2.9.6-1.el7 spacewalk-setup.noarch 0:2.9.3-1.el7 spacewalk-setup-jabberd.noarch 0:2.9.2-1.el7 spacewalk-taskomatic.noarch 0:2.9.31-1.el7 spacewalk-usix.noarch 0:2.9.1-1.el7 stringtree-json.noarch 0:2.0.9-13.el7 struts.noarch 0:1.3.10-18.sw syslinux.x86_64 0:4.05-15.el7 tanukiwrapper.x86_64 0:3.2.3-21.el7 telnet.x86_64 1:0.17-64.el7 tftp-server.x86_64 0:5.2-22.el7 tomcat.noarch 0:7.0.76-9.el7_6 tomcat-el-2.2-api.noarch 0:7.0.76-9.el7_6 tomcat-jsp-2.2-api.noarch 0:7.0.76-9.el7_6 tomcat-lib.noarch 0:7.0.76-9.el7_6 tomcat-servlet-3.0-api.noarch 0:7.0.76-9.el7_6 tomcat-taglibs-standard.noarch 0:1.2.5-2.sw trousers.x86_64 0:0.3.14-2.el7 ttmkfdir.x86_64 0:3.0.9-42.el7 tzdata-java.noarch 0:2019c-1.el7 udns.x86_64 0:0.4-3.el7 unbound-libs.x86_64 0:1.6.6-1.el7 unzip.x86_64 0:6.0-20.el7 velocity.noarch 0:1.7-19.sw xalan-j2.noarch 0:2.7.1-23.el7 xbean.noarch 0:3.13-6.el7 xerces-j2.noarch 0:2.11.0-17.el7_0 xml-commons-apis.noarch 0:1.4.01-20.sw xml-commons-resolver.noarch 0:1.2-15.el7 xmlgraphics-commons.noarch 0:1.5-3.el7 xorg-x11-font-utils.x86_64 1:7.5-21.el7 xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 xpp3.noarch 0:1.1.3.8-11.el7 xz-java.noarch 0:1.3-3.el7 zip.x86_64 0:3.0-11.el7 Complete!

    Allow HTTPS service in CentOS 7 firewall.

    [root@spacewalk-01 ~]# firewall-cmd --add-service=https success [root@spacewalk-01 ~]# firewall-cmd --runtime-to-perm success

    Configure Spacewalk on CentOS 7 as follows.

    [root@spacewalk-01 ~]# spacewalk-setup * Setting up SELinux.. ** Database: Setting up database connection for PostgreSQL backend. ** Database: Installing the database: ** Database: This is a long process that is logged in: ** Database: /var/log/rhn/install_db.log *** Progress: # ** Database: Installation complete. ** Database: Populating database. *** Progress: ############################ * Configuring tomcat. * 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? root@spacewalk-01.example.com * Performing initial configuration. * Configuring apache SSL virtual host. Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]? Y ** /etc/httpd/conf.d/ssl.conf has been backed up to ssl.conf-swsave * Configuring jabberd. * Creating SSL certificates. CA certificate password? Re-enter CA certificate password? Cname alias of the machine (comma seperated)? spacewalk-01.example.com Organization? Ahmer's SysAdmin Recipes Organization Unit [spacewalk-01]? ITLAB Email Address [root@spacewalk-01.example.com]? City? Karachi State? Sindh Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? PK ** 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.. Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? * Restarting services. Installation complete. · Visit https://spacewalk-01 to create the Spacewalk administrator account.

    Browse URL https://spacewalk-01.example.com in a client's browser.

    The browser may display a security warning because our SSL certificate is self-signed. We are ignoring the warning and let the browser continue to the Spacewalk website.

    01-install-spacewalk-centos-7-create-organization

    Create an Admin user here and click on "Create Organisation".

    02-install-spacewalk-centos-7-dashboard

    Spacewalk is ready for use now. You can refer to Spacewalk Documentation for its usage information.

    Click on exit icon at top right corner of the page.

    03-install-spacewalk-centos-7-login

    Now, you are at the Spacewalk login page.

    We have successfully installed Spacewalk server on CentOS 7.

    2 comments:

    1. Dude you Rock Very straight forward documentation. now time to learn i think how to operate it :) thankyou

      ReplyDelete
    2. Worked like a charm.
      Thank you.

      ReplyDelete