Jump to content

Server Config: Difference between revisions

From NikiWiki
Line 28: Line 28:


After the install you will have a mod_python in <tt>/usr/local/libexec/apache2</tt>. Load this module in Apache2 according to the output you get during the install of the module.
After the install you will have a mod_python in <tt>/usr/local/libexec/apache2</tt>. Load this module in Apache2 according to the output you get during the install of the module.
Next step is to configure mod_python for use with TRAC:
* http://projects.edgewall.com/trac/wiki/TracModPython


Now create a TRAC project with
Now create a TRAC project with

Revision as of 15:59, 1 September 2005

FreeBSD

Apache2

  • port: www/apache2
  • make: make WITH_BERKELEYDB=db42 WITH_LDAP_MODULES=yes

Subversion

  • port: devel/subversion-python
  • make: make -DWITH_MOD_DAV_SVN

Apache2 Subversion config

Basically you can take the following doc as reference:

Make sure you read the most recent version at the time writing (1.1 might be depricated)

The modules on FreeBSD can be found in /usr/local/libexec/apache2

TRAC config

First install mod_python:

  • port: www/mod_python3
  • make: make

After the install you will have a mod_python in /usr/local/libexec/apache2. Load this module in Apache2 according to the output you get during the install of the module.

Next step is to configure mod_python for use with TRAC:

Now create a TRAC project with

$ trac-admin /path/to/trac_project_env initenv

As it can be found at:

To configure Apache2 for multiple TRAC projects check:

Most TRAC people recommend to use fsfs as backend for Subversion instead of bdb. You might read this document here and decide on your own:

If you decide to do so simply initialize projects like this:

$ svnadmin create --fs-type=fsfs /path/to/svn_project_env