|
|
| Line 180: |
Line 180: |
| open activities.sugarlabs.org in firefox. Make sure mysql is enabled | | open activities.sugarlabs.org in firefox. Make sure mysql is enabled |
|
| |
|
| ===Setup mysql===
| | ==Setup mysql== |
|
| |
|
| <code> | | <code> |
| Line 198: |
Line 198: |
| </code> | | </code> |
|
| |
|
| ===Configure aso===
| | ==Configure aso== |
|
| |
|
| ===Edit config.php=== | | ===Edit config.php=== |
| Line 452: |
Line 452: |
|
| |
|
| <code> | | <code> |
| <?php | | <?p |
| define('DEBUG', 1);
| |
| define('DEV', true);
| |
| ?>
| |
| </code>
| |
| | |
| <code>
| |
| chown apache:apache /var/www/site/app/config/config-local.php
| |
| </code>
| |
| | |
| This is necessary to generate debug message. Without it you get a somewhat disconcerting blankscreen.
| |
| | |
| Open activities.sugarlabs.org in firefox.
| |
| | |
| | |
| | |
| ===Create download directory===
| |
| | |
| <code>
| |
| mkdir /var/www/downloads
| |
| chown -R apache:apache /var/www/downloads
| |
| </code>
| |
| | |
| ===Create repo directories===
| |
| | |
| <code>
| |
| mkdir /var/www/files
| |
| mkdir /var/www/files/temp
| |
| mkdir /var/www/files/extracted
| |
| chown -R apache:apache /var/www/files
| |
| </code>
| |
| | |
| ===Install php-memcache===
| |
| | |
| <code>
| |
| yum install php-devel gcc zlib-devel
| |
|
| |
| pecl install memcache
| |
| vim /etc/php.ini
| |
| </code>
| |
| | |
| You should add "extension=memcache.so" to php.ini
| |
| | |
| <code>
| |
| service httpd restart
| |
| </code>
| |
| | |
| ===Install memcached===
| |
| | |
| <code>
| |
| rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
| |
| yum install memcached
| |
| service memcached start
| |
| chkconfig --levels 235 httpd on
| |
| </code>
| |
| | |
| | |
| ===Test activities.sugarlabs.org===
| |
| | |
| Open activities.sugarlabs.org/tests?case=installation.test.php in firefox.
| |
| | |
|
| |
|
| == TODO == | | == TODO == |