How to append Cityes statistic in awstats (GeoLiteCity)
I suppose you have already installed awstats statistic, GeoIP plagin etc.. change default script which update database file about countries (GeoIP.dat): # vim /usr/local/bin/geoipupdate.sh #!/bin/sh cd /tmp fetch http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz fetch http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz fetch http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz gunzip GeoIP.dat.gz gunzip GeoLiteCity.dat.gz gunzip GeoIPASNum.dat.gz mv -f GeoIP.dat /usr/local/share/GeoIP/ mv -f GeoLiteCity.dat /usr/local/share/GeoIP/ mv -f GeoIPASNum.dat /usr/local/share/GeoIP/ I mark string wich [...]
Posted on June 15th, 2010 by admin
Filed under: Software | Comments Off