mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
README tidyup
This commit is contained in:
parent
218aab0c34
commit
1f5633accd
56
README.md
56
README.md
@ -32,9 +32,9 @@ If you add debug on the install-koji-farm.sh line it will print each command exe
|
||||
|
||||
On your koji hub server:
|
||||
|
||||
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.sh
|
||||
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.sh
|
||||
|
||||
### Using the scripts yourself
|
||||
|
||||
@ -42,45 +42,45 @@ The install script now does all of this, but, if you want to do individual compo
|
||||
|
||||
1. On the koji hub, copy these scripts into your ~/bin directory and make sure they are executeable
|
||||
|
||||
mkdir -p ~/bin
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/gencert.sh > ~/bin/gencert.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/globals.sh > ~/bin/globals.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/parameters.sh > ~/bin/parameters.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji.sh > ~/bin/deploy-koji.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/bootstrap-build.sh > ~/bin/bootstrap-build.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-nfs-server.sh > ~/bin/deploy-koji-nfs-server.sh
|
||||
chmod a+x ~/bin/*.sh
|
||||
mkdir -p ~/bin
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/gencert.sh > ~/bin/gencert.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/globals.sh > ~/bin/globals.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/parameters.sh > ~/bin/parameters.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji.sh > ~/bin/deploy-koji.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/bootstrap-build.sh > ~/bin/bootstrap-build.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-nfs-server.sh > ~/bin/deploy-koji-nfs-server.sh
|
||||
chmod a+x ~/bin/*.sh
|
||||
|
||||
1. Edit parameters.sh as needed. If running in a production environment, be sure to supply reasonable SSL certificate field values.
|
||||
1. Edit ~/bin/parameters.sh as needed. If running in a production environment, be sure to supply reasonable SSL certificate field values.
|
||||
|
||||
1. Run the required following scripts
|
||||
1. start the deploy
|
||||
|
||||
deploy-koji.sh
|
||||
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
|
||||
deploy-koji-nfs-server.sh
|
||||
|
||||
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/.
|
||||
scp root@<FQDN of koji hub>:/etc/pki/koji/koji_ca_cert.crt /etc/pki/koji/.
|
||||
mkdir -p ~/bin
|
||||
scp root@<FQDN of koji hub>:/root/bin/globals.sh ~/bin/.
|
||||
scp root@<FQDN of koji hub>:/root/bin/parameters.sh ~/bin/.
|
||||
You will need to edir ~/bin/parameters.sh and change the KOJI_HUB_FQN to the correct value (NOT $(hostname -f))
|
||||
mkdir -p /etc/pki/koji
|
||||
scp root@<FQDN of koji hub>:/etc/pki/koji/<FQDN of builder>.pem /etc/pki/koji/.
|
||||
scp root@<FQDN of koji hub>:/etc/pki/koji/koji_ca_cert.crt /etc/pki/koji/.
|
||||
mkdir -p ~/bin
|
||||
scp root@<FQDN of koji hub>:/root/bin/globals.sh ~/bin/.
|
||||
scp root@<FQDN of koji hub>:/root/bin/parameters.sh ~/bin/.
|
||||
You will need to edir ~/bin/parameters.sh and change the KOJI_HUB_FQN to the correct value (NOT $(hostname -f))
|
||||
|
||||
1. On the koji builder, copy down the scripts needed and run
|
||||
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-nfs-client.sh > ~/bin/deploy-koji-nfs-client.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-builder.sh > ~/bin/deploy-koji-builder.sh
|
||||
chmod a+x ~/bin/*.sh
|
||||
deploy-koji-nfs-client.sh
|
||||
deploy-koji-builder.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-nfs-client.sh > ~/bin/deploy-koji-nfs-client.sh
|
||||
curl https://src.koozali.org/smedev/smeserver-koji/raw/branch/master/koji-setup/deploy-koji-builder.sh > ~/bin/deploy-koji-builder.sh
|
||||
chmod a+x ~/bin/*.sh
|
||||
deploy-koji-nfs-client.sh
|
||||
deploy-koji-builder.sh
|
||||
|
||||
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