Awstats Introduction: Apache/iis Log Analysis tool

Source: Internet
Author: User
Tags geoip iis log unpack version maxmind

You don't have to be patient to read everything: Brief installation instructions are as follows

Installation

http://sourceforge.net/projects/awstats/after downloading the installation package:

Gnu/linux:tar ZXF awstats-version.tgz

The default awstats scripts and static files are in the Wwwroot directory: The files under the Cgi-bin directory are deployed to the cgi-bin/directory:/home/apache/cgi-bin/awstats/

MV Awstats-version/wwwroot/cgi-bin/path/to/apache/cgi-bin/awstats

Copy the icon and other file directories to the Web's HTML file publishing directory, for example:/home/apache/htdocs/Publishing

More batch update scripts can be placed in the cgi-bin/awstats/directory under the Tools directory.

Upgrade domestic key search engines and spider definitions, install GEOIP application Library: C

http://www.maxmind.com/download/geoip/api/c/unpack, compile and install

Perl-mcpan-e ' Install ' geo::ip ' or using a pure Perl package perl-mcpan-e ' Install ' Geo::ip::P ureperl '

Download Geoip/geoipcitylite Package: Unpack and deploy to Awstats directory

Http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

Http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz

Configuration

Name the default awstats.model.conf as Common.conf

Modify some of these configuration options:

LoadPlugin="decodeutfkeys"
LoadPlugin="geoip GEOIP_STANDARD /home/apache/chedong.com/cgi-bin/awstats/GeoIP.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /home/apache/chedong.com/cgi-bin/awstats/GeoLiteCity.dat"

Create Awstats under Create: Data directory for statistical output



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.