Install Geo::IP Perl Module
1. open a windows terminal window
C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/Geo-IP.ppd
====================
Install 'Geo-IP' version 1.27 in ActivePerl 5.8.7.815.
====================
Installing C:\Perl\site\lib\auto\Geo\IP\IP.dll
Installing C:\Perl\site\lib\auto\Geo\IP\IP.lib
Installing C:\Perl\site\lib\auto\Geo\IP\IP.exp
Installing C:\Perl\site\lib\auto\Geo\IP\IP.bs
Installing C:\Perl\html\site\lib\Geo\IP.html
Installing C:\Perl\html\site\lib\Geo\Mirror.html
Installing C:\Perl\html\site\lib\Geo\IP\Record.html
2. Download the current Country, City and Organization (AS Numbers) databases
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
3. Unzip the files and place them in your GeoIP data directory, i.e. C:\Program Files\GeoIP
4. Update your awstats.mysite.conf configuration file
LoadPlugin="geoip"
[ref: http://www.antezeta.com/awstats/geoip.html]
No comments:
Post a Comment