Edgewall Software

Changes between Version 4 and Version 5 of TracOnDebian


Ignore:
Timestamp:
May 1, 2004, 4:00:05 PM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnDebian

    v4 v5  
    11= Installing and Running Trac on Debian =
    22
    3 # apt-get install python2.3-subversion python2.3-sqlite
     3== Notes from a debian sarge install ==
    44
    5 Trac is not packaged, follow the source install
     5As has been previously pointed out, a Debian package does not exist, hence you need to build it yourself. This isn't too onerous if you know where you might get bitten. Hopefully the following should be of some use.
    66
     7First you need the SQLite, Subversion and the related python modules. Note that you need to use the version of subversion from unstable. Don't worry as Debians unstable is not really unstable, it's about as stable as typical redhat packages.
    78
     9{{{
     10apt-get install sqlite python2.3-subversion python2.3-sqlite
     11apt-get -t unstable install subversion
     12}}}
    813
    9 = Notes from a debian sarge install =
     14Clearsilver isn't available as a package so get clearsilver from http://www.clearsilver.net/ (tested [http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz 0.9.8])
    1015
    11 Get clearsilver from http://www.clearsilver.net/
    12   - (tested with http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz)
     16{{{
     17tar xvfz clearsilver-0.9.8.tar.gz
     18cd clearsilver-0.9.8
     19./configure
     20make
     21make install
     22cd python/
     23ln -s /usr/bin/python2.3 /usr/bin/python
     24make
     25make install
     26}}}
    1327
    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 
    24 Everything 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
    2728
    2829This should then allow you to build and initialise trac.
     
    3031When 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
    3132
    32   - LoadModule env_module /usr/lib/apache/1.3/mod_env.so
     33{{{
     34LoadModule env_module /usr/lib/apache/1.3/mod_env.so
     35}}}
    3336
    3437I then set up a trac.conf in my /etc/apache/conf.d folder like so
    3538
    36 <V''''''irtualHost local.trac>
     39{{{
     40<VirtualHost local.trac>
    3741    alias /trac/ "/usr/share/trac/htdocs/"
    3842    ServerAdmin youremail@yourdomain.tld
     
    4448    <Location "/cgi-bin/trac.cgi">
    4549      SetEnv TRAC_DB "/home/tim/myTrac/tracdb/mydb"
    46       Options F''''''ollowSymLinks +ExecCGI
    47       A''''''llowOverride None
     50      Options FollowSymLinks +ExecCGI
     51      AllowOverride None
    4852    </Location>
    4953</VirtualHost>
    50 
     54}}}
    5155Don't forget to create those log folders though (apachectl configtest doesn't warn you about that one)
    5256