Edgewall Software

Changes between Version 2 and Version 3 of TracOnDebian


Ignore:
Timestamp:
May 1, 2004, 3:48:42 PM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnDebian

    v2 v3  
    11= Installing and Running Trac on Debian =
    22
    3 # apt-get install python2.3-subversion python2.3-sqlite
     3# apt-get install python2.3-subversion python2.3-sqlite 
    44
    55Trac is not packaged, follow the source install
     6
     7
     8
     9= Notes from a debian sarge install =
     10
     11Get clearsilver from http://www.clearsilver.net/
     12  - (tested with http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz)
     13
     14  - tar xvfz clearsilver-0.9.8.tar.gz
     15  - cd clearsilver-0.9.8
     16  - ./configure
     17  - make
     18  - make install
     19  - cd python/
     20  - ln -s /usr/bin/python2.3 /usr/bin/python
     21  - make
     22  - make install
     23
     24Everything else should be OK apart from the fact that you will have to get a subversion from unstable (don't worry, unstable for debian is like normal redhat)
     25
     26  - apt-get -t unstable install subversion
     27
     28This should then allow you to build and initialise trac.
     29
     30When you come to running it though you'll also have to add the env_module using the following line in your /etc/apache/modules.conf
     31
     32  - LoadModule env_module /usr/lib/apache/1.3/mod_env.so
     33
     34I then set up a trac.conf in my /etc/apache/conf.d folder like so
     35
     36<VirtualHost local.trac>
     37    alias /trac/ "/usr/share/trac/htdocs/"
     38    ServerAdmin youremail@yourdomain.tld
     39    DocumentRoot /home/tim/myTrac
     40    ServerName local.trac
     41    ErrorLog /home/tim/myTrac/logs/error.log
     42    CustomLog /home/tim/myTrac/logs/access_log common
     43    AddHandler cgi-script cgi
     44    <Location "/cgi-bin/trac.cgi">
     45      SetEnv TRAC_DB "/home/tim/myTrac/tracdb/mydb"
     46      Options FollowSymLinks +ExecCGI
     47      AllowOverride None
     48    </Location>
     49</VirtualHost>
     50
     51Don't forget to create those log folders though (apachectl configtest doesn't warn you about that one)
     52
     53
     54
     55