Difference between revisions of "Configuring useful awstats plugins"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Awstats_configuration|Awstats configuration</yambe:breadcrumb> =Configuring useful awstats plugins= ==Geo IP plugin== To configure GeoIP plugin for awstats...") |
m |
||
Line 6: | Line 6: | ||
To configure GeoIP plugin for awstats use: | To configure GeoIP plugin for awstats use: | ||
#<tt>yum -y install perl-Geo-IP</tt> | #<tt>yum -y install perl-Geo-IP</tt> | ||
#wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | |||
#gunzip GeoLiteCity.dat.gz | |||
#mkdir /usr/local/share/GeoIP | |||
#mv -f GeoLiteCity.dat /usr/local/share/GeoIP | |||
#chmod -R 755 /usr/local/share/GeoIP | |||
#Edit <tt>awstats.conf</tt> file and set | #Edit <tt>awstats.conf</tt> file and set | ||
#:<pre> | #:<pre> | ||
#::LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" | #::LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" | ||
#::LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat" | |||
#:</pre> | #:</pre> | ||
Some steps learned from http://dev.maxmind.com/geoip/legacy/install/city/ | |||
Line 16: | Line 25: | ||
To configure Google Chart API plugin use: | To configure Google Chart API plugin use: | ||
#Uncomment '<tt>LoadPlugin=graphgooglechartapi</tt>' line. | #Uncomment '<tt>LoadPlugin=graphgooglechartapi</tt>' line. | ||
==Rawlog plugin== | |||
To configure Raw log plugin use: | |||
#Ucomment '<tt>LoadPlugin="rawlog"</tt>' line. |
Revision as of 04:27, 31 March 2014
<yambe:breadcrumb>Awstats_configuration|Awstats configuration</yambe:breadcrumb>
Configuring useful awstats plugins
Geo IP plugin
To configure GeoIP plugin for awstats use:
- yum -y install perl-Geo-IP
- wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- gunzip GeoLiteCity.dat.gz
- mkdir /usr/local/share/GeoIP
- mv -f GeoLiteCity.dat /usr/local/share/GeoIP
- chmod -R 755 /usr/local/share/GeoIP
- Edit awstats.conf file and set
- LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
- LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat"
Some steps learned from http://dev.maxmind.com/geoip/legacy/install/city/
Google Chart API plugin
To configure Google Chart API plugin use:
- Uncomment 'LoadPlugin=graphgooglechartapi' line.
Rawlog plugin
To configure Raw log plugin use:
- Ucomment 'LoadPlugin="rawlog"' line.