Support/SUMO install process: Difference between revisions
(added common issues) |
(category -> Support Archive) |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
This document | 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 [http://github.com/jsocol/kitsune/blob/development/docs/installation.rst installation.rst] on [http://github.com/jsocol/kitsune Github]. | |||
== Pre-requisites == | |||
* PHP, MySQL, Apache, and you probably want Memcached. | |||
* PHP [http://us2.php.net/Memcache 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 <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 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. | ||
</ | |||
<code>setup.sh</code> 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 [irc://irc.mozilla.org/sumodev #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 <code>webroot/</code> or one level above that. | |||
< | |||
Kitsune is designed to run with mod_wsgi. There are [http://github.com/jsocol/kitsune/blob/development/docs/wsgi.rst instructions] for setting that up as well. | |||
[[Category:Support Archive]] | |||
Latest revision as of 09:08, 14 July 2021
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.