Install on CentOS 6
Author Message
webcom Topic creator
Registered since:
eAnalytics looks very promising, and I'd like to try it in our business site, and see if it provides what we need reliably.
I will not use google analytics, because I do not trust their data policies, and becaue theres too much delay. I've tried piwik but it is not very reliable... yet anyway. We've had data issues. I've also tried OpenWebAnalytics, but that project has just about the same issues as piwik. Not that they're bad solutions, just aren't working for us.
So I'm really looking forward to giving eAnalytics a try, and have high hopes.
The package available now is for debian, and I was hoping the eAnalytics team would help me with how to install on our server.
We're running:
[*]CENTOS 6.2 x86_64 standard[*]Plenty of disk space[*]More than the minimum memory (though how much can we expect to be used by eAnalytics?)mysql
5.0.95-communityServer Version: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips
mod_auth_passthrough/2.1 I'm pretty sure we can get the tomcat and jdk... seems straigh-forward. Also... I don't know if this is relevant, but we run mod_security as well.
I would greatly appreciate any information on how to go about installing on this system.
Thank you,

Registered since:
Hello Chris,
thank you for your interest in eAnalytics. We really hope you will find the features you are looking for.
Currently we only have a debian package, but if we get more requests for a RPM Package we might consider bilding one.
For now we would like to guide you through a manual installation of eAnalytics.
A little hint for your configuration: For some processing modules eAnalytics requires mysql server 5.1. (more details on the system requirements:
eAnalytics consists of 4 major components:
  • eAnalytics Tag (no changes needed here, as you just need to implement them into your website)
  • eAnalytics Tag Server
  • eAnalytics Processing
  • eAnalytics Frontend

I will start with the Tag Server. As you have an apache webserver installed, you will need to configure it:
You might have to adjust the default apache configuration depending on the traffic you expect. Next you will have to add the following to your apache configration file (i think that is /etc/httpd/conf/httpd.conf for centos):
# eAnalytics Rules
# 1. Log Formats
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ip_anon
LogFormat "- %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ip_none

# eAnalytics Rules
# 2. Set Env for all other tag requests
SetEnvIf Request_URI "/eat0\.gif|/eat1\.gif|/eat0\.php|/eat1\.php" custID_MASTER_9999

# eAnalytics Rules
# 3. Client Rules
SetEnvIf Request_URI "^/1000/eat0\.gif" custID_1000_ip_none
SetEnvIf Request_URI "^/1000/eat1\.gif" custID_1000_ip_anon
CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/1000/1000_eatlog 60" ip_none env=custID_1000_ip_none
CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/1000/1000_eatlog 60" ip_anon env=custID_1000_ip_anon

# eAnalytucs Rules
# 4. Change Default Logging
CustomLog /var/log/httpd/access.log vhost_combined env=!custID_MASTER_9999
In order to make that configuration work you will have to create the directory /var/log/httpd/1000/ for the eAnalytics log files and a directory for the resources /var/www/html/1000/ and see to it that the user running the web server has access rights to them.
Now copy the transparent image and the php script attached to this post into the second directory.
Now you should have a working eAnalytics Tag Server icon_smile.gif You could configure a domain or just use the IP addres. 
You could test the tag server by typing "YOURIPADRESS/1000/eat0.gif?e=aworkingrequest" into your browser. You should find this request in a new log file within /var/log/httpd/1000/.
The next steps will be here soon.
Please let me know if you succeeded.

Kay Sakkiettibutra,
eAnalytics Development

Icon WatchCurrently online

At the moment there are 0 users online, thereof 0 registered users and 0 guests.

Icon ManOnline users

Icon GraphForum stats

eAnalytics your Web Analytic Solution has 215 registered user, 22 topics and 14 answers. On average 0.02 posts are written per day.