Edgewall Software

Changes between Version 5 and Version 6 of TracOnOsxServerNoFink


Ignore:
Timestamp:
Feb 21, 2015, 9:52:58 PM (5 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracOnOsxServerNoFink

    v5 v6  
    11[[PageOutline(2-4)]]
    2 = Trac + SVN Installation on Mac OS X Server  10.4.7 =
    3 
    4 == Requirements ==
    5 
    6 Mac OS X Server 10.4.7 + XCode 2.3 ([http://developer.apple.com/tools/xcode/ Download])
    7 
    8 ||[http://projects.edgewall.com/trac/ Trac]||0.9.6||
     2
     3= Trac + SVN Installation on Mac OS X Server  10.4.7
     4
     5== Requirements
     6
     7Mac OS X Server 10.4.7 + XCode 2.3; [http://developer.apple.com/tools/xcode/ download].
     8
     9||[http://trac.edgewall.org/wiki/TracDownload#LatestStableRelease Trac]||0.9.6||
    910||[http://www.python.org/ Python]||2.3.5 (as installed with OS X 10.4.7)||
    1011||[http://httpd.apache.org/ Apache]||2.0.58||
    1112||[http://www.modpython.org/ mod_python]||3.2.8||
    1213||[http://www.swig.org/ Swig]||1.3.29||
    13 || [http://subversion.tigris.org/ Subversion]||1.3.2||
     14||[http://subversion.tigris.org/ Subversion]||1.3.2||
    1415||[http://www.sqlite.org/ SQLite]||3.1.3 (as installed with OS X 10.4.7)||
    1516||[http://pysqlite.org/ PySQLite]||2.2.2||
     
    1920== Preliminaries ==
    2021
    21 Install Mac OS X Server 10.4.7 and XCode 2.3
    22 
    23 Download all binaries and untar it in the folder {{{/usr/local/temp}}}  (for example)
    24 
    25 == Binairies Installation ==
    26 '''The order of installation it's very important respect it, please! '''
    27 
    28 === Swig ===
     22Install Mac OS X Server 10.4.7 and XCode 2.3.
     23
     24Download all binaries and untar it for example in the folder {{{/usr/local/temp}}}.
     25
     26== Binairies Installation
     27
     28'''Note''': The order of installation is important.
     29
     30=== Swig
    2931
    3032{{{
     
    3537}}}
    3638
    37 === Apache 2 ===
     39=== Apache2
    3840
    3941{{{
     
    4446}}}
    4547
    46 === mod_python ===
     48=== mod_python
    4749
    4850{{{
     
    5355}}}
    5456
    55 === Subversion ===
     57=== Subversion
    5658
    5759{{{
     
    6567}}}
    6668
    67 swig svn python bindings
     69Swig svn python bindings:
    6870
    6971{{{
     
    7476}}}
    7577
    76 === PySQLite ===
     78=== PySQLite
    7779
    7880{{{
     
    8183}}}
    8284
    83 === Clearsilver ===
     85=== Clearsilver
     86
     87'''Note''': ClearSilver has been replaced by the [http://genshi.edgewall.org/ Genshi templating engine] as of Trac 0.11.
    8488
    8589{{{
     
    9195}}}
    9296
    93 === Docutils ===
    94 
    95 {{{
    96 cd < docutils-distribution-top-dir>
     97=== Docutils
     98
     99{{{
     100cd <docutils-distribution-top-dir>
    97101sudo python setup.py install
    98102}}}
    99103
    100 == Trac + SVN Configuration ==
    101 
    102 First choose a location for your subversion repository, e.g. {{{/var/svn/your_project}}}, and one for you trac environment, e.g. {{{/var/trac/your_project}}}.
    103 
    104 You may need to manage access rights on the trac env directory tree. This may be done by first creating a unix group dedicated to this trac project, e.g. {{{trac}}}, and assigning the various users to this group. The apache {{{www}}} user should be one of these. If you need a nice description of how to do this, look at the [http://developer.apple.com/internet/opensource/cvsoverview.html Apple CVSOverview] (then search for the text "create a new group" or "!NetInfo Manager").
    105 
    106 In my configuration Apache2 is the {{{nobody}}} user so you can try:
     104== Trac + SVN Configuration
     105
     106First choose a location for your subversion repository, eg {{{/var/svn/your_project}}}, and one for you Trac environment, eg {{{/var/trac/your_project}}}.
     107
     108You may need to manage access rights on theTtrac env directory tree. This may be done by first creating a UNIX group dedicated to this trac project, eg {{{trac}}}, and assigning the various users to this group. The apache {{{www}}} user should be one of these. If you need a nice description of how to do this, look at [http://developer.apple.com/internet/opensource/cvsoverview.html Apple CVSOverview], then search for the text "create a new group" or "!NetInfo Manager".
     109
     110In my configuration Apache2 is the {{{nobody}}} user, so you can try:
    107111
    108112{{{
     
    113117}}}
    114118
    115 === SVN Repository ===
     119=== SVN Repository
    116120
    117121{{{
     
    119123}}}
    120124
    121 Subversion executables are installed into /usr/local/bin, which is not in the default path in Mac OS X Server v10.4. To add /usr/local/bin to a user's default path, create a .profile file in your home directory (or simply add the line if you already have a .profile file):
     125Subversion executables are installed into /usr/local/bin, which is not in the default path in Mac OS X Server v10.4. To add /usr/local/bin to a user's default path, create a `.profile` file in your home directory or simply add the line if you already have a `.profile` file:
    122126
    123127{{{
     
    126130}}}
    127131
    128 To make sure the repository is ok, play with it a little:
     132To make sure the repository works fine, try for example the following:
     133
    129134{{{
    130135cd /tmp
     
    140145}}}
    141146
    142 === Trac Environment ===
     147=== Trac Environment
    143148
    144149{{{
     
    146151}}}
    147152
    148 Your {{{trac-admin}}} binary may not be in your search path - if {{{trac-admin}}} isn't found, try:
     153Your {{{trac-admin}}} binary may not be in your search path if {{{trac-admin}}} isn't found, try:
    149154
    150155{{{
     
    153158}}}
    154159
    155 == Apache2 Configuration and Right Access ==
    156 
    157 === apache httpd.conf ===
    158 
    159 Open and edit  {{{httpd.conf}}} in {{{/usr/local/apache2/conf}}}
    160 
    161 Add this module (if not already exist) at line ~265
     160== Apache2 Configuration and Right Access
     161
     162=== Apache httpd.conf
     163
     164Open and edit {{{httpd.conf}}} in {{{/usr/local/apache2/conf}}}.
     165
     166Add this module (if not already existent) at line ~265:
    162167
    163168{{{
     
    168173}}}
    169174
    170 Change the process user of apache (nobody become  www) at line ~300
     175Change the process user of Apache (`nobody` becomes `www`) at line ~300:
    171176
    172177{{{
     
    174179}}}
    175180
    176 Add and configure access to Trac and SVN path at line ~1040
     181Add and configure access to Trac and SVN path at line ~1040:
    177182
    178183{{{
     
    203208}}}
    204209
    205 === Trac and SVN .htpasswd ===
    206 
    207 Trac ans SVN can share the same {{{.htpasswd}}}, but you can separate it if you want.
    208 
    209 create the {{{.htpasswd}}} in {{{/var/trac/your_project/}}}, for exampe:
     210=== Trac and SVN .htpasswd
     211
     212Trac and SVN can share the same {{{.htpasswd}}}, but you can separate it if you want.
     213
     214Create the {{{.htpasswd}}} in {{{/var/trac/your_project/}}}, for example:
    210215
    211216{{{
     
    217222{{{[users]}}} is important for the AuthzSVNAccessFile.
    218223
    219 For generate password you can use [http://www.engr.sjsu.edu/daluu/scripts/htpasswd.php this web site]
    220 
    221 === SVN authz ===
    222 
    223 Edit the file {{{authz}}}  in {{{/var/svn/your_project/conf/}}}, for example:
     224To generate a password, you can use [http://www.engr.sjsu.edu/daluu/scripts/htpasswd.php this web site].
     225
     226=== SVN authz
     227
     228Edit the file {{{authz}}} in {{{/var/svn/your_project/conf/}}}, for example:
    224229
    225230{{{
     
    233238}}}
    234239
    235 for more details on this configuration's file please [http://svnbook.red-bean.com/en/1.2/svn-book.html#svn.serverconfig.httpd.authz read this]
    236 
    237 === Start apache2 ===
    238 
    239 Now you can start apache2:
     240For more details on this configuration's file please [http://svnbook.red-bean.com/en/1.2/svn-book.html#svn.serverconfig.httpd.authz read this].
     241
     242=== Start Apache2
     243
     244Now you can start Apache2:
    240245
    241246{{{
     
    245250You can check if everything is working well:
    246251
    247  * for trac [http://localhost:80/your_project]
    248  * for svn direct access [http://localhost:80/your_project/svn]
    249 
    250 For external access please make your own apache's configuration
     252 * for Trac [http://localhost:80/your_project]
     253 * for SVN direct access [http://localhost:80/your_project/svn]
     254
     255For external access please make your own apache's configuration.
     256
     257=== Author
    251258
    252259thibaud.guillaume-gentil at epfl.ch