Changes between Version 36 and Version 37 of TracOnUbuntu
- Timestamp:
- Mar 11, 2006, 10:21:40 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnUbuntu
v36 v37 4 4 5 5 '''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. 6 8 7 9 === Installation === … … 23 25 sudo chown www-data:www-data /var/trac 24 26 }}} 27 28 If you put your environment somewhere else, make sure to note that and use that location in the appropriate places in the next step. 25 29 26 30 === 3. Setup Apache2 === … … 69 73 This last step would differ if you were already serving other virtualhosts. 70 74 75 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: 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 86 This will share the password with your subversion install. You'll also need to grant each user rights using trac-admin. 87 88 Alternately, you can use htpasswd to create an htpasswd file, and point AuthUserFile at that location. 89 71 90 === 4. Creating Environments === 72 91 … … 183 202 }}} 184 203 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 200 206 I had to add a <Location> section to the virtual host to make the SVN repository work correctly: 201 207 … … 206 212 </Location> 207 213 }}} 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 Basic215 AuthName "Trac"216 AuthUserFile /etc/apache2/dav_svn.passwd217 Require valid-user218 </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.