Edgewall Software

Version 33 (modified by fedora@…, 16 years ago) ( diff )

Trac on Fedora Core

Installing Trac On Fedora Core 4 (and higher) is easy with Yum and involves only 2 steps:

1) Verify you have configured Yum to use the Extras repository (which is enabled by default) and run the following command in a terminal window:

  $ sudo yum install trac

Yum will take care of all dependencies on which the Trac package depends (including python-clearsilver package) and will fetch and install them for you automatically.

2) Next, you need to edit /etc/httpd/conf.d/trac.conf to point to your trac environment, as in this example:

 <Location /foobar>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/trac/foobar
   PythonOption TracUriRoot /foobar
 </Location>

You will need to restart apache after editing trac.conf:

  $ sudo /etc/init.d/httpd restart

Verify your Trac installation by pointing your browser at the correct URL for your Trac server.

Notes on the Fedora Extras Trac package:

  • tracd is disabled and not packaged
  • trac.fcgi is disabled and not packaged
  • trac.cgi is installed in /var/www/cgi-bin/trac.cgi
  • apache webserver config file is installed in /etc/httpd/conf.d/trac.conf

If you happen to come accross any packaging issues, feature requests or problems on Fedora, you can submit a bugzilla bug for Trac at https://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi. The source RPM file is available at http://www.soeterbroek.com/linux/fedora/extras/trac/ if you want to re-package or check out the spec file.

Note: See TracWiki for help on using the wiki.