AWStats: Difference between revisions

apache log perms for awstats
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
* awstats, obviously
* awstats, obviously
* libgeo-ipfree-perl if you want GeoIP lookups, and a database...
* libgeo-ipfree-perl if you want GeoIP lookups, and a database...
** geoip-database, from master (GeoLiteCountry)
** geoip-database, from master (GeoLiteCountry) and Geo::IPfree
** geoip-database-contrib, from contrib (binary versions of Country, IPv6 Country, City, and ASN)
** geoip-database-contrib, from contrib (binary versions of Country, IPv6 Country, City, and ASN) and Geo::IP or Geo::IP::PurePerl
*** run geoip-database-contrib_update to update this latter
*** run geoip-database-contrib_update to update this latter
* libnet-xwhois-perl if you want to use the hostinfo plugin
* libnet-xwhois-perl if you want to use the hostinfo plugin
==/etc/logrotate.d/apache==
By default, apache log files are created <tt>root adm 640</tt>. AWStats runs as www-user. You'll either need change adm to www-user, or 640 to 644.


==/etc/awstats/awstats.conf==
==/etc/awstats/awstats.conf==