Changes between Version 279 and Version 280 of TracInstall
- Timestamp:
- May 29, 2009, 4:17:46 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v279 v280 147 147 chown -R apache.apache /path/to/myproject 148 148 149 '''Warning: If the trac.cgi files are not installed where you expect, then the current documentation is insufficient; it might be necessary to use the 'deploy' command in trac-admin. See tickets http://trac.edgewall.org/ticket/7312 and possibly http://trac.edgewall.org/ticket/6827'''150 151 149 == Running the Standalone Server == 152 150 … … 161 159 }}} 162 160 163 164 161 == Running Trac on a Web Server == 165 162 … … 169 166 170 167 Trac also supports [trac:TracOnWindowsIisAjp AJP] which may be your choice if you want to connect to IIS. 168 169 ==== Generating the Trac cgi-bin directory ==== 170 171 In order for Trac to function properly with FastCGI or mod_python, you need to have a trac.cgi file. This is an executable which loads the appropriate Python code. It can be generated using the `deploy` option of [wiki:TracAdmin trac-admin]. 172 173 There is, however, a bit of a chicken-and-egg problem. The [wiki:TracAdmin trac-admin] command requires an existing environment to function, but complains if the deploy directory already exists. This is a problem, because environments are often stored in a subdirectory of the deploy. The solution is to do something like this: 174 {{{ 175 mkdir -p /usr/share/trac/projects/my-project 176 trac-admin /usr/share/trac/projects/my-project initenv 177 trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy 178 mv /tmp/deploy/* /usr/share/trac 179 }}} 171 180 172 181 ==== Setting up the Plugin Cache ==== … … 228 237 ---- 229 238 See also: [trac:TracInstallPlatforms TracInstallPlatforms], TracGuide, TracCgi, TracFastCgi, TracModPython, [wiki:TracModWSGI], TracUpgrade, TracPermissions 239