1
edit
Changes
no edit summary
And in the ‘/etc/httpd/conf.d/kojihub.conf’ uncomment the following lines:
'''Location /kojihub>''' '''SSLOptions +StdEnvVars''' '''/Location>''''' Using the certificates created by Sadiki, we need to add the following lines to ‘/etc/httpd/conf.d/ssl.conf’, under the section‘VirtualHost _default_:443′: '''SSLCertificateFile /etc/pki/koji/certs/kojihub.crt''''''SSLCertificateKeyFile /etc/pki/koji/certs/kojihub.key''''''SSLCertificateChainFile /etc/pki/koji/koji_ca_cert.crt''''''SSLCACertificateFile /etc/pki/koji/koji_ca_cert.crt''''''SSLVerifyClient require''''''SSLVerifyDepth 10'''
Even though SE Linux is not currently in use on Hong Kong, it may be in the future. In order to allow Apache to connect to the Postgresql database run the following command as root:
'''[root@hongkong ~]#setsebool -P httpd_can_network_connect_db 1''' To allow Koji to work, a skeleton filesystem needs to be created and the ownership changed so Apache can write to it as required. The following commands were executed: '''cd /mnt''' '''mkdir koji''' '''cd koji''' '''mkdir {packages,repos,work,scratch}''' '''chown apache.apache *''' Then edited the ‘''/etc/koji.conf’ conf''’ file and changed the following lines: '';url of XMLRPC server''
server = http://hongkong.proximity.on.ca/kojihub
;url of web interface
Then add as many builders as required using the following commands editing where required (this should also be done prior to running kojid on each host):
'''[kojiadmin@hongkong ~]$ koji add-host arm-001-001 arm''' '''[kojiadmin@hongkong ~]$ koji add-host arm-001-002 arm''' '''[kojiadmin@hongkong ~]$ koji add-host arm-001-003 arm'''