mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
Add installer to README
This commit is contained in:
parent
2e832d92c6
commit
ea3ff421d1
25
README.md
25
README.md
@ -1,6 +1,6 @@
|
||||
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-koji
|
||||
|
||||
# Koji Setup Scripts
|
||||
## Koji Setup Scripts
|
||||
|
||||
The purpose of these scripts it to enable setting up a koji environment quickly
|
||||
with reasonable configurations.
|
||||
@ -8,16 +8,27 @@ with reasonable configurations.
|
||||
These scripts have been borrowed from Clear Linux and modified to suit the smeserver (Koozali.org) setup.
|
||||
Thanks to George T Kramer for doing a lot of the prework for these over at ClearLinux.
|
||||
|
||||
## Assumptions
|
||||
### Assumptions
|
||||
|
||||
* All scripts are run as the root user
|
||||
* The root user has a password set
|
||||
* These are run on a bare Rocky 8 minimal install
|
||||
* Basic configurations (e.g. network, time, etc.) have been applied
|
||||
* servers are contactable by DNS (or you've added them into the appropriate /etc/hosts files)
|
||||
* servers are reachable by their FQDNs (DNS or you've added them into the appropriate /etc/hosts files)
|
||||
* Only one koji builder is required
|
||||
|
||||
## Getting Going
|
||||
### Getting Going
|
||||
|
||||
The install script will install all required components on the hub and build servers.
|
||||
You will need to fill in some information on the way through
|
||||
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/install-koji-farm.sh > install-koji-farm.sh
|
||||
chmod o+x install-koji-farm.sh
|
||||
./install-koji-farm
|
||||
|
||||
### Using the scripts yourself
|
||||
|
||||
The install script now does all of this, but, if you want to do individual components, or understand the process better...
|
||||
|
||||
1. On the koji hub, copy these scripts into your ~/bin directory and make sure they are executeable
|
||||
|
||||
@ -35,14 +46,14 @@ Thanks to George T Kramer for doing a lot of the prework for these over at Clear
|
||||
1. Run the required following scripts
|
||||
|
||||
deploy-koji.sh
|
||||
|
||||
|
||||
If koji builder machine is not the same as koji master machine:
|
||||
|
||||
1. On the koji master, run
|
||||
|
||||
deploy-koji-nfs-server.sh
|
||||
|
||||
1. On the koji builder, copy over keys and parameters from the Hub
|
||||
1. On the koji builder, copy over keys and parameters from the Hub
|
||||
|
||||
mkdir -p /etc/pki/koji
|
||||
scp root@<FQDN of koji hub>:/etc/pki/koji/<FQDN of builder>.pem /etc/pki/koji/.
|
||||
@ -62,4 +73,4 @@ If koji builder machine is not the same as koji master machine:
|
||||
|
||||
1. Return to the hub and run (this isn't right yet....)
|
||||
|
||||
bootstrap-build.sh
|
||||
bootstrap-build.sh
|
||||
|
Loading…
Reference in New Issue
Block a user