Server Config: Difference between revisions
Appearance
No edit summary |
|||
Line 38: | Line 38: | ||
To configure Apache2 for multiple TRAC projects check: | To configure Apache2 for multiple TRAC projects check: | ||
* http://projects.edgewall.com/trac/wiki/TracMultipleProjects | * http://projects.edgewall.com/trac/wiki/TracMultipleProjects | ||
Most TRAC people recommend to use <tt>fsfs</tt> as backend for Subversion instead of <tt>bdb</tt>. You might read this document here and decide on your own: | |||
* http://svn.collab.net/repos/svn/trunk/notes/fsfs | |||
If you decide to do so simply initialize projects like this: | |||
$ svnadmin create --fs-type=fsfs /path/to/svn_project_env |
Revision as of 15:45, 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.
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