Changes between Version 2 and Version 3 of TracFeisty
- Timestamp:
- Jul 25, 2007, 9:36:48 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFeisty
v2 v3 7 7 * Everything configured from scratch ''with'' authentication, multiple repositories and mod_python 8 8 * Not losing time explaining the decisions here. This is specifically to have multiple repositories, authentication and mod_python on Ubuntu. I never fork() the guide to give other possibilities 9 * I think the guide is pretty complete. After following the instructions here, my next step was to update my subversion reposity with all my projects and continue on creating users and project environments. The esential is completel ly covered here10 * And if you're using a fresh instal ation of Feisty Fawn and follow these instructions strictly, it will all be finished within 5 minutes!!!9 * I think the guide is pretty complete. After following the instructions here, my next step was to update my subversion reposity with all my projects and continue on creating users and project environments. The esential is completely covered here 10 * And if you're using a fresh installation of Feisty Fawn and follow these instructions strictly, it will all be finished within 5 minutes!!! 11 11 12 12 Enjoy and comment! … … 20 20 }}} 21 21 22 apt-get configures everything you need and your webroot will be configured to {{{/var/www}}}. Ubuntu (actually, Debian) divides apache websites (virtualhost) in a set of directories under {{{/etc/apache2/sites-available}}} and has two utilit es to configure them: {{{a2ensite}}} and {{{a2dissite}}}. We'll make use of these tools throughout this guide.22 apt-get configures everything you need and your webroot will be configured to {{{/var/www}}}. Ubuntu (actually, Debian) divides apache websites (virtualhost) in a set of directories under {{{/etc/apache2/sites-available}}} and has two utilities to configure them: {{{a2ensite}}} and {{{a2dissite}}}. We'll make use of these tools throughout this guide. 23 23 24 24 25 25 == Subversion == 26 The idea with our subversion instal ation is to have a main directory and several repositories under it. We'll be setting {{{/svn}}} as our subversion parent dir and then create {{{/svn/project1}}}, {{{/svn/project2}}}, etc as needed. This second step will configure subversion, set apache to use mod_dav_svn and enable authentication through the digest method.26 The idea with our subversion installation is to have a main directory and several repositories under it. We'll be setting {{{/svn}}} as our subversion parent dir and then create {{{/svn/project1}}}, {{{/svn/project2}}}, etc as needed. This second step will configure subversion, set apache to use mod_dav_svn and enable Basic authentication. 27 27 28 28 * We start by apt-getting the packages … … 32 32 }}} 33 33 34 * We'll now configure {{{mod_dav_svn}}} and enable the {{{mod_auth_digest}}} module. We start by editing {{{/etc/apache2/mods-enabled/dav_svn.conf}}}34 * We'll now configure {{{mod_dav_svn}}}. We start by editing {{{/etc/apache2/mods-enabled/dav_svn.conf}}} 35 35 36 36 {{{ … … 38 38 }}} 39 39 40 This file probably has already a set of directives in it. I just show here the final version without the comments and changed to enable digestauthentication:40 This file probably has already a set of directives in it. I just show here the final version without the comments and changed to enable Basic authentication: 41 41 42 42 {{{ … … 101 101 }}} 102 102 103 We can now point a browser to http://localhost/svn/teste and an authentication pop-up should ap ear and, after that, our repository. It is a good time to read some more on the "Per-Directory Access Control" part of the subversion book. One part of the security involved in this instalation only has to do with Subversion so some reading on [http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-6-sect-4.4.2 Per-Directory Access Control] might be useful at this time.103 We can now point a browser to http://localhost/svn/teste and an authentication pop-up should appear and, after that, our repository. It is a good time to read some more on the "Per-Directory Access Control" part of the subversion book. One part of the security involved in this installation only has to do with Subversion so some reading on [http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-6-sect-4.4.2 Per-Directory Access Control] might be useful at this time. 104 104 105 105 106 106 == trac == 107 107 108 Let's now head for the instal ation of the trac system. For trac to work we'll be needing python and a number of other packages. Then we'll have to create a trac environment for each repository we want trac to serve.108 Let's now head for the installation of the trac system. For trac to work we'll be needing python and a number of other packages. Then we'll have to create a trac environment for each repository we want trac to serve. 109 109 110 110 * Let's start with apt-getting the needed packages … … 156 156 157 157 158 * The final step is to initialize the trac environment for our project. The only thing I had to fill in here was the name of my project oand the path to my subversion repository:158 * The final step is to initialize the trac environment for our project. The only thing I had to fill in here was the name of my project and the path to my subversion repository: 159 159 160 160 {{{ … … 162 162 Creating a new Trac environment at /trac/teste 163 163 Trac will first ask a few questions about your environment 164 in order to init alize and prepare the project database.164 in order to initialize and prepare the project database. 165 165 Please enter the name of your project. 166 166 This name will be used in page titles and descriptions.