diff --git a/README.md b/README.md index 7bcddd2..407a1a3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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@:/etc/pki/koji/.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 \ No newline at end of file + bootstrap-build.sh