Difference between revisions of "Surftrackr"

From SME Server
Jump to navigationJump to search
m (Content deleted. History preserved)
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Surftrackr: squid - dansguardian log analizer ==
+
Content deleted. See history.
{{Level|Advanced}}
 
===Description===
 
Surftrackr is a log file viewer for Squid and Dan's Guardian. It makes it easy for you to monitor Web usage, including the type of information accessed, the sites visited by your web users, and the amount of information downloaded. Best of all, Surftrackr is free  and runs in any web browser.
 
 
 
This is an alternative for [[Sarg]].
 
 
 
[http://surftrackr.net Read more about Surftrackr].
 
 
 
{{Warning box|type=PLEASE READ EVERYTHING BEFORE CONTINUE|
 
This contribution is not a traditional adaptation, so you should know exactly what you are doing.
 
 
 
The sticking points are:
 
 
 
Surftracker is based on the Django framework, that despite the fact that it works correctly under python 2.3 (which come with SME 7.x), but do not get this right Surftrackr. Therefore it is necessary to upgrade to Python 2.4. But all precautions were taken so that this does not affect the natural python settings of SME 7.x
 
 
 
Another important point is the use of mod_python. If you already use mod_python for another application, you must leave here this installation. mod_python is compiled under python 2.3, and our customized version is compiled under python 2.4, so an error will occur.
 
 
 
You have two choices:
 
*Uninstall your mod_python and install this customized version (be careful when using Trac or another application that makes use of mod_python).
 
*Use FastCGI with Django instead of mod_python as described here: http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi}}
 
 
 
 
 
=== Installation ===
 
Before install rpms, you must create a new ibay named '''surftrackr'''.
 
 
 
Create the database '''logs'''.
 
 
 
mysqladmin create logs --default-character-set=utf8
 
mysql
 
GRANT ALL PRIVILEGES ON `logs` . * TO 'logsu'@'localhost' IDENTIFIED BY 'logsp' WITH GRANT OPTION ;
 
quit
 
 
 
Download the following rpms into one directory:
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/Django-0.97_pre-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/mod_python-3.1.3-5.1.custom.i386.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/MySQL-python-1.2.2-1.i386.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/pygooglechart-0.2.2-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/pyparsing-1.5.1-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/python-dateutil-1.4.1-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/setuptools-0.6c9-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/surftrackr/rpms/surftrackr-20080326-1.noarch.rpm
 
wget http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/RPMS/smeserver-mod_python-0.1-1.el4.sme.noarch.rpm
 
 
 
Install:
 
yum localinstall *.rpm
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
[[Category: Contrib]]
 

Latest revision as of 04:39, 27 April 2016

Content deleted. See history.