dcee7633 |
1 | ## How to make your kyberia run. |
2 | |
ab8ec5e5 |
3 | 1. Install: apache2 (+php&mysql support ), mysql |
dcee7633 |
4 | 2. Create mysql account ( create user kyberia identified by "pass") |
5 | 3. Create database kyberia2 (as user kyberia) |
6 | 4. Import data (mysql -u kyberia -p kyberia2 < kyberia_2.3_...sql ) |
ab8ec5e5 |
7 | 5. Copy http dir from repository into your www-root ( XXX) |
dcee7633 |
8 | 6. Copy kyberia-data dir into same directory. |
ab8ec5e5 |
9 | 7. Include kyberia.conf into your apache conf. |
10 | (dir /etc/apache2/sites-enabled in debian). Edit if needed. |
11 | 8. Maybe you will need some apache configuration tweaks (like a2enmod rewrite). |
dcee7633 |
12 | 9. Start apache and mysql (something like /etc/init.d/apache2 start, ...) |
13 | 10. Set DB login data in inc/db.inc |
14 | 11. Depends on your DNS, maybe add alias www.localhost to /etc/hosts file. |
15 | 12. Try it (open browser and go to your system_url address. "localhost" by default.) |
16 | 13. Find out why it is still not working. (check permisions, symlinks, directory names...) |
17 | 14. If you want full functionality, add following lines to your www users crontab |
18 | |
ab8ec5e5 |
19 | XXX |
dcee7633 |
20 | */2 * * * * /path-to-kyberia-wwwroot/cron/logoutidle.php |
21 | 0 0 * * * /path-to-kyberia-wwwroot/cron/k.php |
22 | */3 * * * * /path-to-kyberia-wwwroot/cron/process-img.sh |
23 | |
24 | Warning, this effectively bypass www chroot. |
25 | 15. Enjoy;) |
26 | |