Edgewall Software

Changes between Version 36 and Version 37 of TracOnUbuntu


Ignore:
Timestamp:
Mar 11, 2006, 10:21:40 PM (18 years ago)
Author:
anonymous
Comment:

reorg a bit, add Dapper info.

Legend:

Unmodified
Added
Removed
Modified
  • TracOnUbuntu

    v36 v37  
    44
    55'''Warty users:''' Ubuntu needs versions of {{{python-sqlite}}} and {{{clearsilver}}} that aren't available on Warty (see #468 & #1104). You will need to [http://ubuntuguide.org/4.10/index.html#upgradewartytohoary upgrade to the Hoary release] or later.
     6
     7'''Breezy and Dapper:''' should work fine with the following instructions.
    68
    79=== Installation ===
     
    2325sudo chown www-data:www-data /var/trac
    2426}}}
     27
     28If you put your environment somewhere else, make sure to note that and use that location in the appropriate places in the next step.
    2529
    2630=== 3. Setup Apache2 ===
     
    6973This last step would differ if you were already serving other virtualhosts.
    7074
     75If you are going to want to login, you're going to need authentication. I added the following to my virtual host file to get this to work:
     76
     77{{{
     78        <Location "/trac.cgi/login">
     79            AuthType Basic
     80            AuthName "Trac"
     81            AuthUserFile /etc/apache2/dav_svn.passwd
     82            Require valid-user
     83        </Location>
     84}}}
     85
     86This will share the password with your subversion install. You'll also need to grant each user rights using trac-admin.
     87
     88Alternately, you can use htpasswd to create an htpasswd file, and point AuthUserFile at that location.
     89
    7190=== 4. Creating Environments ===
    7291
     
    183202}}}
    184203
    185 === Breezy ===
    186 
    187 The above instructions didn't quite work for me on a Breezy server.
    188 
    189 The virtualhost section includes:
    190 
    191 {{{
    192         <Location /trac.cgi>
    193             SetEnv TRAC_ENV "/var/trac"
    194         </Location>
    195 }}}
    196 
    197 That didn't work until I changed /var/trac to /var/trac/YourProjectName
    198 
    199 === Breezy ===
     204=== SVN ===
     205
    200206I had to add a <Location> section to the virtual host to make the SVN repository work correctly:
    201207
     
    206212        </Location>
    207213}}}
    208 
    209 === Breezy ===
    210 If you are going to want to login, you're going to need authentication. I added the following to my virtual host file to get this to work:
    211 
    212 {{{
    213         <Location "/trac.cgi/login">
    214             AuthType Basic
    215             AuthName "Trac"
    216             AuthUserFile /etc/apache2/dav_svn.passwd
    217             Require valid-user
    218         </Location>
    219 }}}
    220 
    221 This will share the password with your subversion install. You'll also need to grant each user rights using trac-admin. Finally don't forget to restart Apache after you make changes to the virtual host file.