DevOps Tools/Configuration/SpaceWalk
From r00tedvw.com wiki
(Difference between revisions)
Line 3: | Line 3: | ||
=Overview= | =Overview= | ||
Package Maintainer/Installer for bulk management.<br> | Package Maintainer/Installer for bulk management.<br> | ||
− | Installation of Spacewalk on CentOS7. | + | Installation of Spacewalk on CentOS7.<br> |
+ | Instructions from [https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall here] | ||
=Installation= | =Installation= | ||
Line 15: | Line 16: | ||
==Spacewalk== | ==Spacewalk== | ||
<nowiki>~$ sudo yum -y install spacewalk-postgresql </nowiki> | <nowiki>~$ sudo yum -y install spacewalk-postgresql </nowiki> | ||
+ | ==Firewall== | ||
+ | <nowiki>~$ sudo firewall-cmd --permanent --add-service=http | ||
+ | ~$ sudo firewall-cmd --permanent --add-service=https | ||
+ | ~$ sudo firewall-cmd --permanent --runtime-to-perm | ||
+ | ~$ sudo firewall-cmd --reload</nowiki> | ||
+ | |||
+ | =Configuration= | ||
+ | Using the default postgres db with an answerfile | ||
+ | <nowiki>~$ spacewalk-setup --answer-file=<FILENAME></nowiki> | ||
+ | Example Answer file: | ||
+ | <nowiki>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</nowiki> |
Revision as of 15:45, 3 August 2020
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 ~$ 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 --permanent --add-service=http ~$ sudo firewall-cmd --permanent --add-service=https ~$ sudo firewall-cmd --permanent --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