198
edits
Changes
→Copy Koji Files
* From blue, copy /etc/pki/koji/[builder].pem to the [builder]:/etc/pki/koji/
<pre>rsync -av /etc/pki/koji/[builder].pem root@[builder]:/etc/pki/koji/</pre>
* From blue, copy /etc/pki/koji/koji_ca_cert.crt to the [builder]:/etc/pki/koji/
<pre>rsync -av /etc/pki/koji/koji_ca_cert.crt root@[builder]:/etc/pki/koji/</pre>
* From blue, copy /etc/kojid/kojid.conf to the [builder]:/etc/kojid/kojid.conf
<pre>rsync -av /etc/kojid/kojid.conf root@[builder]:/etc/kojid/</pre>
* On the [builder], edit the file /etc/kojid/kojid.conf and change the user to the name of the builder
<pre>user=[builder]</pre>
* On the [builder], create the following link setup:
<pre>
</pre>
* On the [builder], create the following link setupexample:
<pre>
ls -l /etc/kojid/
total 4
lrwxrwxrwx 1 root root 30 Jun 5 19:13 clientca.crt -> /etc/pki/koji/koji_ca_cert.crt
-rw-r--r-- 1 root root 2283 Dec 22 07:57 kojid.conf
lrwxrwxrwx 1 root root 20 Jun 5 19:12 kojid.pem -> /etc/pki/koji/x9.pem
lrwxrwxrwx 1 root root 30 Jun 5 19:13 serverca.crt -> /etc/pki/koji/koji_ca_cert.crt
</pre>
==Start kojid service==
<pre>sudo systemctl start kojid</pre>