Edgewall Software

Changes between Version 340 and Version 341 of TracInstall


Ignore:
Timestamp:
Feb 28, 2011, 12:01:44 AM (13 years ago)
Author:
Christian Boos
Comment:

Clean-up the #WebServer section and a few other fixes

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v340 v341  
    103103Alternatively you configure Trac to run in any of the following environments.
    104104 * [http://httpd.apache.org/ Apache] with
    105    - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] and
    106      http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac
    107    - [http://modpython.org/ mod_python 3.3.1], deprecated: see TracModPython)
    108  * a [http://www.fastcgi.com/ FastCGI]-capable web server (see TracFastCgi)
    109  * an [http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html AJP]-capable web
    110    server (see [trac:TracOnWindowsIisAjp])
    111  * a CGI-capable web server (see TracCgi), '''but usage of Trac as a cgi script
    112    is highly discouraged''', better use one of the previous options.
     105   - [http://code.google.com/p/modwsgi/ mod_wsgi], see [wiki:TracModWSGI] (preferred)
     106   - //[http://modpython.org/ mod_python 3.3.1], see TracModPython (deprecated)//
     107 * any [http://www.fastcgi.com/ FastCGI]-capable web server, see TracFastCgi
     108 * any [http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html AJP]-capable web
     109   server, see [trac:TracOnWindowsIisAjp]
     110 * //as a last resort, a CGI-capable web server (see TracCgi), but usage of Trac as a cgi script
     111   is highly discouraged, better use one of the previous options.//
    113112   
    114113
    115114==== Other Python Packages ====
    116115
    117  * [http://babel.edgewall.org Babel], version >= 0.9.5,
     116 * [http://babel.edgewall.org Babel], version 0.9.5,
    118117   needed for localization support[[BR]]
    119118   ''Note: '' If you want to be able to use the Trac interface in other languages, then make sure you first have installed the optional package Babel. Lacking Babel, you will only get the default english version, as usual. If you install Babel later on, you will need to re-install Trac.
     
    141140A few examples:
    142141
    143  - first install of the latest stable version Trac 0.12.1, with i18n support:
     142 - first install of the latest stable version Trac 0.12.2, with i18n support:
    144143   {{{
    145    easy_install Babel==0.9.5 Genshi==0.6
     144   easy_install Babel==0.9.5
    146145   easy_install Trac
    147146   }}}
     
    163162If you want more control, you can download the source in archive form, or do a checkout from one of the official [[Trac:TracRepositories|source code repositories]].
    164163
    165 Be sure to have the prerequisites already installed. You can also obtain the Genshi and Babel source packages from http://www.edgewall.org and follow for them a similar installation procedure, or you can just easy_install those, see [#Usingeasy_install above].
     164Be sure to have the prerequisites already installed. You can also obtain the Genshi and Babel source packages from http://www.edgewall.org and follow for them a similar installation procedure, or you can just `easy_install` those, see [#Usingeasy_install above].
    166165
    167166Once you've unpacked the Trac archive or performed the checkout, move in the top-level folder and do:
     
    170169}}}
    171170
    172 ''You'll need root permissions or equivalent for this step.''
     171You'll need root permissions or equivalent for this step.
    173172
    174173This will byte-compile the python source code and install it as an .egg file or folder in the `site-packages` directory
     
    185184=== Advanced Options ===
    186185
     186==== Custom location with `easy_install`
     187
    187188To install Trac to a custom location, or find out about other advanced installation options, run:
    188189{{{
     
    204205The above will place your `tracd` and `trac-admin` commands into `/usr/local/bin` and will install the Trac libraries and dependencies into `/Library/Python/2.5/site-packages`, which is Apple's preferred location for third-party Python application installations.
    205206
    206 === Using `pip`
     207==== Using `pip`
    207208'pip' is an easy_install replacement that is very useful to quickly install python packages.
    208209To get a trac installation up and running in less than 5 minutes: