Changes between Version 1 and Version 2 of TracInstall
- Timestamp:
- 11/30/06 00:53:45 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v1 v2 1 1 2 = Trac Installation Guide = 2 3 [[TracGuideToc]] … … 10 11 To install Trac, the following software packages must be installed: 11 12 12 * [http://www.python.org/ Python], version >= 2.1 (>=2.3 recommended).13 * [http://www.python.org/ Python], version >= 2.1 (>=2.3 recommended). 13 14 * 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) 15 16 * [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!) 16 17 * [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.319 * [http://docutils.sourceforge.net/ docutils], version >= 0.3.3 (??)18 * [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) 19 * [http://clearsilver.net/ Clearsilver], version >= 0.9.3 20 * [http://docutils.sourceforge.net/ docutils], version >= 0.3.3 (??) 20 21 * A CGI-capable web server (tested on [http://httpd.apache.org/ Apache] ) 21 22 … … 70 71 == Configuring Apache == 71 72 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.73 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. 73 74 74 75 Edit the apache config and add this snippet, filenames edited to match your installation: 75 76 76 77 {{{ 77 Alias /trac/ "/usr/share/trac/htdocs/"#or where you installed the trac htdocs78 Alias /trac/ "/usr/share/trac/htdocs/" #or where you installed the trac htdocs 78 79 #You have to allow people to read the files in htdocs 79 <Directory "/usr/share/trac/htdocs"> 80 <Directory "/usr/share/trac/htdocs"> 80 81 Options Indexes MultiViews 81 82 AllowOverride None 82 83 Order allow,deny 83 84 Allow from all 84 </Directory> 85 </Directory> 85 86 86 87 87 88 # 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 <Location "/cgi-bin/trac.cgi"> 90 SetEnv TRAC_ENV "/path/to/projectenv" 91 </Location> 91 92 92 93 # You need this to allow users to authenticate … … 94 95 # cmd 'htpasswd -c trac.htpasswd' (UNIX) 95 96 # do 'man htpasswd' to see all the options 96 <Location "/cgi-bin/trac.cgi/login"> 97 <Location "/cgi-bin/trac.cgi/login"> 97 98 AuthType Basic 98 AuthName "trac"99 AuthName "trac" 99 100 AuthUserFile /somewhere/trac.htpasswd 100 101 Require valid-user 101 </Location> 102 </Location> 102 103 }}} 103 104 … … 112 113 '''Congratulations!''' You should now have a running Trac installation at: 113 114 114 http:// <yourhostname>/cgi-bin/trac.cgi115 http://<yourhostname>/cgi-bin/trac.cgi 115 116 116 117 You should be able to browse your subversion repository, create tickets, … … 130 131 131 132 ---- 132 See also: TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython 133 See also: TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython44835953234