Trac 0.10.3

Description:  wiki and issue tracker for software development projects
Maintainer:  Manuel Oetiker <>
Created:  2007-02-02
Updated:  2007-02-06 (Updated Homepage)
Support:  Manuel Oetiker <>
Links:  Homepage, SEPP Dir, INSTALL
OS:  linux
Categories:  programming, internet, text
Binaries:  trac-admintrac.fcgitracd
More Info
Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission; to help developers write great software while staying out of the way. Trac should impose as little as possible on a team's established development process and policies.

To run a trac site on your james homepage check out

  • This will setup a Trac site in your homepage. Note that this example has a subversion repository in your homedirectory. You may want to host one on our svn server so that people can access it from remote ... Be in touch with to have such a repository created.
  • Note that since this will all be evaluated by the shell, $USER will get replaced by your username and $HOME will be replaced by the path to your homepdirectory.

mkdir -p ~/.mytrac

trac-admin .mytrac/project initenv "Test Project" \ sqlite:db/trac.db svn $HOME/.mytrac/svn \ /usr/pack/trac-0.10.3-mo/i686-debian-linux3.1/share/trac/templates

trac-admin .mytrac/project permission add $USER TRAC_ADMIN

mkdir ~/public_html/mytrac cd ~/public_html/mytrac

cat <<HTACCESS >.htaccess AuthType Basic AuthName "TracRealm" AuthUserFile /home/$USER/.mytrac/htpasswd AddHandler fastcgi-script .fcgi RewriteEngine on RewriteCond \$1 !\\.fcgi RewriteRule (.*login.*) /~$USER/mytrac/auth.fcgi/\$1 [L]

RewriteCond \$1 !\\.fcgi RewriteRule (.*) /~$USER/mytrac/base.fcgi/\$1 [L]

<Files auth.fcgi> Require valid-user </Files> HTACCESS

cat <<FCGI >base.fcgi TRAC_BASE_URL=/~$USER/mytrac TRAC_ENV=$HOME/.mytrac/project export TRAC_BASE_URL TRAC_ENV exec /usr/sepp/bin/trac.fcgi FCGI

cat <<FCGI >auth.fcgi TRAC_BASE_URL=/~$USER/mytrac TRAC_ENV=$HOME/.mytrac/project export TRAC_BASE_URL TRAC_ENV exec /usr/sepp/bin/trac.fcgi FCGI

chmod 755 *.fcgi

cd ~/.mytrac htpasswd -c htpasswd $USER

  • Now go to your homepage and access the mytrac directory to learn all about administrating your new trac site.$USER/mytrac

  • If you use a remote accessible svn repository on james, you can get in touch with to get filesystem access to it, and then edit your conf/trac.ini file accordingly.
  • If you run your trac on a other baseurl you have to configure the parameter baseurl in your trac.ini file
  • use "svnadmin create ~/.mytrac/svn" to create a real svn repository. Trac will run without it as well.