Changes between Version 1 and Version 2 of TracInstall


Ignore:
Timestamp:
11/30/06 00:53:45 (17 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v1 v2  
     1 
    12= Trac Installation Guide = 
    23[[TracGuideToc]] 
     
    1011To install Trac, the following software packages must be installed: 
    1112 
    12  * [http://www.python.org/ Python], version >= 2.1 (>=2.3 recommended). 
     13 * [http://www.python.org/ Python], version >= 2.1 (>=2.3 recommended). 
    1314   * Please keep in mind, that for RPM-based systems you will also need python-devel and python-xml packages. 
    14  * [http://subversion.tigris.org/ Subversion], version >= 1.0. (>=1.1 recommended) 
     15 * [http://subversion.tigris.org/ Subversion], version >= 1.0. (>=1.1 recommended) 
    1516 * [http://svnbook.red-bean.com/svnbook-1.1/ch08s02.html#svn-ch-8-sect-2.3 Subversion Python bindings] (Caveat: Trac uses the [http://www.swig.org/ SWIG] bindings included in the Subversion distribution,  '''not''' the  [http://pysvn.tigris.org/ PySVN] package!) 
    1617 * [http://www.sqlite.org/ SQLite], version 2.8.x or 3.0.x 
    17  * [http://pysqlite.sf.net/ PySQLite], version >= 0.5 but < 1.1.0 (for SQLite 2.8.x), version >= 1.1.1 (for SQLite 3.0.x)  
    18  * [http://clearsilver.net/ Clearsilver], version >= 0.9.3 
    19  * [http://docutils.sourceforge.net/ docutils], version >= 0.3.3 (??) 
     18 * [http://pysqlite.sf.net/ PySQLite], version &gt;= 0.5 but &lt; 1.1.0 (for SQLite 2.8.x), version &gt;= 1.1.1 (for SQLite 3.0.x)  
     19 * [http://clearsilver.net/ Clearsilver], version &gt;= 0.9.3 
     20 * [http://docutils.sourceforge.net/ docutils], version &gt;= 0.3.3 (??) 
    2021 * A CGI-capable web server (tested on [http://httpd.apache.org/ Apache] ) 
    2122 
     
    7071== Configuring Apache == 
    7172 
    72 Make "{{{trac/cgi-bin/trac.cgi}}}" accessible to your web server at {{{/cgi-bin/}}}, either by copying/symlinking or use the "{{{trac/cgi-bin/}}}" directory directly. 
     73Make &#34;{{{trac/cgi-bin/trac.cgi}}}&#34; accessible to your web server at {{{/cgi-bin/}}}, either by copying/symlinking or use the &#34;{{{trac/cgi-bin/}}}&#34; directory directly. 
    7374 
    7475Edit the apache config and add this snippet, filenames edited to match your installation: 
    7576  
    7677{{{ 
    77 Alias /trac/ "/usr/share/trac/htdocs/" #or where you installed the trac htdocs 
     78Alias /trac/ &#34;/usr/share/trac/htdocs/&#34; #or where you installed the trac htdocs 
    7879#You have to allow people to read the files in htdocs 
    79 <Directory "/usr/share/trac/htdocs"> 
     80&lt;Directory &#34;/usr/share/trac/htdocs&#34;&gt; 
    8081        Options Indexes MultiViews 
    8182        AllowOverride None 
    8283        Order allow,deny 
    8384        Allow from all 
    84 </Directory> 
     85&lt;/Directory&gt; 
    8586 
    8687 
    8788# Trac need to know where the database is located 
    88 <Location "/cgi-bin/trac.cgi"> 
    89         SetEnv TRAC_ENV "/path/to/projectenv" 
    90 </Location> 
     89&lt;Location &#34;/cgi-bin/trac.cgi&#34;&gt; 
     90        SetEnv TRAC_ENV &#34;/path/to/projectenv&#34; 
     91&lt;/Location&gt; 
    9192 
    9293# You need this to allow users to authenticate 
     
    9495# cmd 'htpasswd -c trac.htpasswd' (UNIX) 
    9596# do 'man htpasswd' to see all the options 
    96 <Location "/cgi-bin/trac.cgi/login"> 
     97&lt;Location &#34;/cgi-bin/trac.cgi/login&#34;&gt; 
    9798        AuthType Basic 
    98         AuthName "trac" 
     99        AuthName &#34;trac&#34; 
    99100        AuthUserFile /somewhere/trac.htpasswd 
    100101        Require valid-user 
    101 </Location> 
     102&lt;/Location&gt; 
    102103}}} 
    103104 
     
    112113'''Congratulations!''' You should now have a running Trac installation at: 
    113114 
    114 http://<yourhostname>/cgi-bin/trac.cgi 
     115http://&lt;yourhostname&gt;/cgi-bin/trac.cgi 
    115116 
    116117You should be able to browse your subversion repository, create tickets, 
     
    130131 
    131132---- 
    132 See also:  TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython 
     133See also:  TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython44835953234