X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=doc%2FINSTALL;h=e2b50b3919a50d62c8e4130ddf3daf3419c34f3c;hb=d9b4dfbcb3d920445869db2c3abd706ee6916286;hp=5ad96b655f098b8c4fe7e8d6750583cf3ea7a04f;hpb=ab8ec5e5c9cc182e5177d868cedda464878631e7;p=mirrors%2FKyberia-bloodline.git diff --git a/doc/INSTALL b/doc/INSTALL index 5ad96b6..e2b50b3 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -1,26 +1,21 @@ ## How to make your kyberia run. -1. Install: apache2 (+php&mysql support ), mysql +1. Install webserver. For example apache2 or lighthttpd (+php&mysql support) +2. Instal db backend. mysql is supported so far. 2. Create mysql account ( create user kyberia identified by "pass") 3. Create database kyberia2 (as user kyberia) -4. Import data (mysql -u kyberia -p kyberia2 < kyberia_2.3_...sql ) -5. Copy http dir from repository into your www-root ( XXX) -6. Copy kyberia-data dir into same directory. -7. Include kyberia.conf into your apache conf. +4. Download sql data from http://dev.kyberia.cz/-sql/ +4. Import data (mysql -u kyberia -p kyberia2 < kyberia_...sql ) +5. Clone code from git repository into your www-root ( XXX) +7. Include kyberia.conf into your (apache?) conf. (dir /etc/apache2/sites-enabled in debian). Edit if needed. 8. Maybe you will need some apache configuration tweaks (like a2enmod rewrite). -9. Start apache and mysql (something like /etc/init.d/apache2 start, ...) -10. Set DB login data in inc/db.inc +9. Start webserver and backend (something like /etc/init.d/apache2 start, ...) +10. Set DB login data in wwwroot/conf/config.inc 11. Depends on your DNS, maybe add alias www.localhost to /etc/hosts file. 12. Try it (open browser and go to your system_url address. "localhost" by default.) 13. Find out why it is still not working. (check permisions, symlinks, directory names...) -14. If you want full functionality, add following lines to your www users crontab - - XXX - */2 * * * * /path-to-kyberia-wwwroot/cron/logoutidle.php - 0 0 * * * /path-to-kyberia-wwwroot/cron/k.php - */3 * * * * /path-to-kyberia-wwwroot/cron/process-img.sh +14. If you want full functionality, add scripts from cron directory to your www users crontab Warning, this effectively bypass www chroot. 15. Enjoy;) -