Support/SUMO install process: Difference between revisions
No edit summary |
(→Installation/Setup: Added a note to make sure AllowOverride is on.) |
||
| Line 20: | Line 20: | ||
# For any <code>.dist</code> files in the <code>scripts/</code> directory (next to <code>webroot/</code>) copy them to a <code>.php</code> version in place. | # For any <code>.dist</code> files in the <code>scripts/</code> directory (next to <code>webroot/</code>) copy them to a <code>.php</code> version in place. | ||
# Make the <code>DocumentRoot</code> for whatever server or virtual server point to <code>webroot/</code>. | # Make the <code>DocumentRoot</code> for whatever server or virtual server point to <code>webroot/</code>. | ||
# Make sure <code>AllowOverride</code> is on, so the <code>.htaccess</code> files kick in:<br><code><Directory /some/place/sumo/webroot><br> AllowOverride all<br> # You might need these, too:<br> # Options Indexes FollowSymLinks<br> # Order allow,deny<br> # Allow from all<br></Directory></code> | |||
# Copy <code>webroot/db/local.php.dist</code> to <code>webroot/db/local.php</code> and fill in values. <code>$gearman_servers</code> is vestigial and can be ignored. | # Copy <code>webroot/db/local.php.dist</code> to <code>webroot/db/local.php</code> and fill in values. <code>$gearman_servers</code> is vestigial and can be ignored. | ||
Revision as of 17:28, 23 August 2010
This document only covers installation of the Tiki/PHP/SVN portion of SUMO. This will go away after 2.4.
For instructions on setting up the Django/Python/Git portion, see installation.rst on Github.
Pre-requisites
- PHP, MySQL, Apache, and you probably want Memcached.
- PHP Memcache (not Memcached) extension.
Installation/Setup
cd /path/to/sumo svn co https://svn.mozilla.org/projects/sumo/trunk . cd webroot sudo ./setup.sh [user] [group] ./htaccess.sh cd ..
A few less-simple steps:
- For any
.distfiles in thescripts/directory (next towebroot/) copy them to a.phpversion in place. - Make the
DocumentRootfor whatever server or virtual server point towebroot/. - Make sure
AllowOverrideis on, so the.htaccessfiles kick in:<Directory /some/place/sumo/webroot>
AllowOverride all
# You might need these, too:
# Options Indexes FollowSymLinks
# Order allow,deny
# Allow from all
</Directory> - Copy
webroot/db/local.php.disttowebroot/db/local.phpand fill in values.$gearman_serversis vestigial and can be ignored.
setup.sh should take care of most everything. If not, you might see a big red heading that says something like "not installed correctly." If there is a relevant message, do what it says. If not, look in #sumodev for help.
Relationship to Django/Python/Git
While the PHP half lives at least partially in the DocumentRoot, the Python half, aka "Kitsune", should not. A good place to clone Kitsune is in the same directory that houses webroot/ or one level above that.
Kitsune is designed to run with mod_wsgi. There are instructions for setting that up as well.