Difference between revisions of "Configuring useful awstats plugins"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Awstats configuration]] > [[Configuring useful awstats plugins]] | |||
==Geo IP plugin== | ==Geo IP plugin== | ||
Line 31: | Line 30: | ||
To configure Raw log plugin use: | To configure Raw log plugin use: | ||
#Ucomment '<tt>LoadPlugin="rawlog"</tt>' line. | #Ucomment '<tt>LoadPlugin="rawlog"</tt>' line. | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Awstats configuration]] > [[Configuring useful awstats plugins]] |
Latest revision as of 12:41, 28 July 2022
Home > CentOS > CentOS 6.x > Monitoring tools > Awstats configuration > 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.
Home > CentOS > CentOS 6.x > Monitoring tools > Awstats configuration > Configuring useful awstats plugins