Trac

Introduction
To use the Trac not only as a wiki you need a running svn repository.


 * Subversion

Preconditions
You need to have the following packages installed.

Trac
To install the package you have to execute the command below as root.

Create Environment
First you need to initiate a trac environment with the trac-admin tool.

Now you follow the instructions.

sqlite
trac-admin /var/lib/trac/my_trac initenv

sqlite - database type

db/trac.db - relative path to the database of our trac environment

Set the read and write permission for the sqlite db to the apache user.

postgres
Create a user who is allowed to create schemas in a database.

Create the database where the user above is allowed to create schemas and tables

Now you can initiate the trac environment.

Connection string

trac-admin /var/lib/trac/my_trac initenv

or (Unix Socket)

trac-admin /var/lib/trac/my_trac initenv

mysql (unstable)
Connection string

trac-admin /var/lib/trac/my_trac initenv

or (Unix Socket)

trac-admin /var/lib/trac/my_trac initenv

Create the database

Permissions
For the Authorization we use the AuthBasic from Apache here. You can use other methods, too.

At first you need to create the "svnusers" passwd file for the apache.

Now you have to change the permissions for the file /var/svn/conf/svnusers.

Now you need to give one or more of your created users admin permission. This you must do it for every trac environment.

At this point you are able to configure the rest with the TRAC_ADMIN Account over the webinterface of trac.

Recommend Trac Plugins/Macros
TracNav

Recent Links
TracHacks