Trac

Trac provides an interface to Subversion, an integrated Wiki and convenient reporting facilities.

Prerequisites

  • Python development libraries
    yum install python-devel
  • setuptools
    Download EasyInstall and run it to install the appropriate setuptools egg for your Python version:

    cd /extra/src
    wget http://peak.telecommunity.com/dist/ez_setup.py
    python ez_setup.py
  • Genshi
    easy_install Genshi
  • SQLite - installed with Subversion

Trac installation
Latest version is 1.0 - install instructions need revising!!
Download the latest stable version from the Trac download page:

cd /extra/src
wget http://download.edgewall.org/trac/Trac-1.0.tar.gz
tar zxf Trac-1.0.tar.gz
cd Trac-1.0

Install:

python ./setup.py install

Configure Trac "environment"
Create a directory to contain all of the trac environments. The files need to be writeable by the apache anonymous user.

mkdir -m 710 /var/trac
chown nobody:nobody /var/trac

Creating a trac environment for the "dummy" project (from the subversion installation). Other than Project Name and Path to Repository (/var/svn/dummy), you can accept the defaults.

cd /var/trac
trac-admin dummy initenv
chown -R nobody:nobody dummy

You can test Trac with the included tracd standalone server:

tracd --port 8000 /var/trac/dummy

Then use your webbrowser to access http://yourserver:8000/. You should be able to access your test project. When you're done, quit tracd
Upgrading Trac projects
After upgrading your version of Trac:

  • Single project
    trac-admin /var/trac/project upgrade
  • All projects in /var/trac
    for project in /var/trac/*; do trac-admin $project upgrade; done

Each project contains a copy of the Trac documentation in the wiki. To update the documentation files:

  • Single project
    trac-admin /var/trac/projenv wiki upgrade
  • All projects in /var/trac
    for project in /var/trac/*; do trac-admin $project wiki upgrade; done

Restart Apache

svc -t /service/apache

Recent Updates

  • 11 months 1 week ago
    1.27.2 update
  • 11 months 3 weeks ago
    Drupal 10/11 config
  • 11 months 3 weeks ago
  • PHP
    11 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 11 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.