$ apt-get install trac
$ sudo mkdir /var/trac
$ cd /var/trac
$ trac-admin test initenv
$ chown -R www-data ./test
$ apt-get install libapache2-mod-python
$ vi /etc/apache2/sites-available/trac
--
Alias /trac "/usr/share/trac/htdocs/"
<Location "/tracsvn">
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracUriRoot "/tracsvn"
PythonOption TracEnvParentDir /var/local/trac
AuthType Basic
AuthName "DoJa Repository"
AuthUserFile /etc/subversion/passwd
Require valid-user
SSLRequireSSL
</Location>
--
$ a2ensite trac
$ /etc/init.d/apache2 reload
The Answer to Life, the Universe, and Everything
Friday, November 30, 2007
Trac Installation
For Ubuntu 7.10.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment