Support/SUMO install process
This document only covers installation of the Tiki/PHP/SVN portion of SUMO. This will go away after 2.4.
- PHP, MySQL, Apache, and you probably want Memcached.
- PHP Memcache (not Memcached) extension.
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 the
scripts/directory (next to
webroot/) copy them to a
.phpversion in place.
- Make the
DocumentRootfor whatever server or virtual server point to
- Make sure
AllowOverrideis on, so the
.htaccessfiles kick in:
# You might need these, too:
# Options Indexes FollowSymLinks
# Order allow,deny
# Allow from all
webroot/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.