LightSquid Home Site : Installs
This page last changed on июл 06, 2009 by esl.
Installation Instructions:Required software:
or equivalent in example i use Apache 1. Extract lightsquid.tgz into any foldercd /var/www/htdocs/
mkdir lightsquid
cd lightsquid
tar -xzf lightsquid.tgz
set 'executable' flag for scrip chmod +x *.cgi chmod +x *.pl change owner chown -R apache:apache * (where apache = httpd user) 2. Configure your Apache server.cgi files must execute as CGI scrip <Directory "/var/www/html/lightsquid"> AddHandler cgi-script .cgi AllowOverride All </Directory> Restart apache 3. Edit lightsquid.cfg4. If you want GROUP reports - edit group.cfgformat: esl 01 SysAdmin karlos 01 SysAdmin thy 01 SysAdmin Ivanov 02 Developer Ivanov2 02 Developer Petrov 03 Commerial Petrova 03 Commerial vasyav 04 room 312 petyava 04 room 312 5. If you want use REALNAME - edit realname.cfgformat: esl Sergey Erokhin karlos Super User1 thy Tech Good Ivanov Developer numer one Ivanov2 Developer numbe two Petrov Good Commerial Petrova Bad Commerial vasyav Some User1 petyava Some User2 6. if you want graphics reportcheck graph report 7. run check-setup.plif all done try next step 8. Try run lightparser.plif everything is ok no messages will be produced parse old statistic 9. Try to use lightsquidUsing your favorite browser enter http://<host where we live>/lightsquid/ 10. Setup crontab to run lightparser once per hourcrontab -e */20 * * * * /var/www/htdocs/lightsquid/lightparser.pl today if you have small log and fast machine, you may run lightparser with smaller delay 11. All done!12. If you have problems, define $debug variable in lightsquid.cfg and rerun lightparser. |
Document generated by Confluence on июл 07, 2009 00:15 |