trac

tracとは。
Trac(トラック)は、ソフトウェアのプロジェクト管理とバグ追跡のための Web ベースのツール。Python により実装されている。
(Wikipedia)
trac/インストール
※trac 0.10.4
※Fedora 7
tracのインストール
yum install trac
ディレクトリの作成
cd /tmp/trac
trac-admin test initenv
trac-admin test initenv
プロジェクトの作成
Project Name [My Project]> sample
Database connection string [sqlite:db/trac.db]>
Repository type [svn]>
Path to repository [/path/to/repos]>
Templates directory [/usr/share/trac/templates]>
Congratulations!
Database connection string [sqlite:db/trac.db]>
Repository type [svn]>
Path to repository [/path/to/repos]>
Templates directory [/usr/share/trac/templates]>
Congratulations!
プロジェクトの設定
Alias /tracproject/ "/usr/share/trac/htdocs/"
ScriptAlias /tracproject /var/www/cgi-bin/trac.cgi
<Location /tracproject>
SetEnv TRAC_ENV /tmp/trac/test
</Location>
SetEnv TRAC_ENV /tmp/trac/test
</Location>
apache再起動
/etc/rc.d/init.d/httpd restart
アクセス
エラーがでた

Internal Error
The user apache requires read _and_ write permission
to the database file /tmp/trac/test/db/trac.db and
the directory it is located in.
ファイル・ディレクトリの所有権変更
chown -R apache /tmp/trac

