DevOps Tools/Configuration/SpaceWalk
From r00tedvw.com wiki
Spacewalk
Contents |
Overview
Package Maintainer/Installer for bulk management.
Installation of Spacewalk on CentOS7.
Instructions from here
Installation
Dependencies
~$ sudo yum install -y epel-release ~$ sudo yum install -y yum-plugin-tmprepo ~$ sudo yum install -y spacewalk-repo --tmprepo=https://copr-be.cloud.fedoraproject.org/results/%40spacewalkproject/spacewalk-2.10/epel-7-x86_64/repodata/repomd.xml --nogpg
Postgres
~$ sudo yum -y install spacewalk-setup-postgresql
Spacewalk
~$ sudo yum -y install spacewalk-postgresql
Firewall
~$ sudo firewall-cmd --zone=public --permanent --add-service=http ~$ sudo firewall-cmd --zone=public --permanent --add-service=https ~$ sudo firewall-cmd --runtime-to-perm ~$ sudo firewall-cmd --reload
Configuration
Using the default postgres db with an answerfile
~$ spacewalk-setup --answer-file=<FILENAME>
Example Answer file:
admin-email = root@localhost ssl-set-cnames = spacewalk2 ssl-set-org = Spacewalk Org ssl-set-org-unit = spacewalk ssl-set-city = My City ssl-set-state = My State ssl-set-country = US ssl-password = spacewalk ssl-set-email = root@localhost ssl-config-sslvhost = Y db-backend=postgresql db-name=spaceschema db-user=spaceuser db-password=spacepw db-host=localhost db-port=5432 enable-tftp=Y