Tag Archives: city

给awstats增加城市信息显示

这个需要以前配置过GeoIP,我写过配置的说明,不多说了
 
下载MaxMind’s GeoLiteCity database

www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gzip -d GeoLiteCity.dat.gz
大约25M

复制GeoLiteCity.dat到/usr/local/share/GeoIP/下,然后修改awstats.yoursitenam.conf中的

LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat