Open main menu

CDOT Wiki β

Changes

Fedora-ARM,Dogfood - koji Hub

2,093 bytes added, 06:07, 17 December 2010
no edit summary
koji=> select * from users;
 
So,Release 0.3-1 results here [http://ycshon.blogspot.com/2010/11/sbr-600-project-release-02-1.html in my blog]
 
'''Setup Koji Web'''
 
1.Introduction
Koji-web is a set of scripts that run in mod_python and use the Cheetah templating engine to provide an web interface to Koji.
koji-web exposes a lot of information and also provides a means for certain operations, such as cancelling builds.
 
Run the following command as root:
 
root@localhost$ yum install koji-web mod_ssl
 
2. Edit the file /etc/httpd/conf.d/kojiweb.conf:
 
PythonOption KojiHubURL http://hub.example.com/kojihub
PythonOption KojiWebURL http://www.example.com/koji
PythonOption KojiPackagesURL http://server.example.com/mnt/koji/packages
PythonOption WebCert /etc/pki/koji/kojiweb.pem
PythonOption ClientCA /etc/pki/koji/koji_ca_cert.crt
PythonOption KojiHubCA /etc/pki/koji/koji_ca_cert.crt
PythonOption LoginTimeout 72
PythonOption Secret CHANGE_ME
3. Optional Configuration
 
/etc/httpd/conf.d/kojiweb.conf:
 
If using Kerberos, these settings need to be valid and inline with other services configurations.
 
<pre><Location /koji/login>
AuthType Kerberos
AuthName "Koji Web UI"
KrbMethodNegotiate on
KrbMethodK5Passwd off
KrbServiceName HTTP
KrbAuthRealm EXAMPLE.COM
Krb5Keytab /etc/httpd.keytab
KrbSaveCredentials off
Require valid-user
ErrorDocument 401 /koji-static/errors/unauthorized.html
</Location></pre>
 
/etc/httpd/conf.d/kojiweb.conf:
 
If using SSL auth, these settings need to be valid and inline with other services configurations.
<pre><Location /koji/login>
SSLOptions +StdEnvVars
</Location></pre>
 
/etc/httpd/conf.d/ssl.conf: Add the needed SSL options for apache.
 
<pre>SSLVerifyClient require
SSLVerifyDepth 10</pre>
 
If you are using SSL authentication, the "PythonOption WebCert" file above must contain both the public and private key.
 
Web interface now operational
 
At this point you should be able to point your web browser at the kojiweb URL and be presented with the koji interface. Many operations should work in read only mode at this point, and any configured users should be able to log in.
== Project Plan ==
1
edit