5ad96b655f098b8c4fe7e8d6750583cf3ea7a04f
[mirrors/Kyberia-bloodline.git] / doc / INSTALL
1 ## How to make your kyberia run.
2
3 1. Install: apache2 (+php&mysql support ), mysql
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 )
7 5. Copy http dir from repository into your www-root ( XXX)
8 6. Copy kyberia-data dir into same directory.
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).
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
19 XXX
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
This page took 0.361365 seconds and 3 git commands to generate.