# cp /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity. Make sure you have all files in folder /usr/share/GeoIP/GeoLiteCity.dat else copy LoadPlugin=”geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoLiteCity.dat”Įrror opening /usr/share/GeoIP/GeoIPCity.dat at /usr/local/share/perl/5.14.2/Geo/IP/PurePerl.pm line LoadPlugin=”geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat” # cp GeoLiteCity.dat /usr/share/GeoIP/GeoLiteCity.datĮnable AWSTAT configuation for LoadPlugin > install Geo::IP Geo::IPfree Geo::IP::PurePerl URI::Escape Net::IP Net::DNS Net::XWhois Time::HiRes Time::Local You can do this by using the following command: sudo yum install epel-release Step 2: Install Wine Once you have enabled the EPEL repository, you can proceed with the installation of Wine by using the following command: sudo yum install wine This will install Wine on your CentOS machine. Follow the steps in the AWStats Setup Guide. On the server, create a web directory and a data directory for awstats. If you don’t have Perl on your machine, get Strawberry Perl for Windows, as ActivePerl requires an annual Business License for production use. configure –prefix=/usr/local/zlib & make & make install To install AWStats on Windows, first download the current version from. # apt-get install build-essential zlib1g-dev apg libgeo-ipfree-perl libnet-ip-perl libnet-dns-perl liburi-perl apache2-utils # vi /etc/logrotate.d/apache2 (Replace create 640 root adm with create 644 root adm) Install, Setup and Use AWStats AWStats common use is made in 3 steps: Step 1 : The install and setup Step 2 : The build/update of statistics Step 3 : The reading of results Step 1 : Install and Setup with A) With Apache or compatible server (on Unix/Linux, Windows, MacOS. */10 * * * * /usr/lib/cgi-bin/ -config= -update > /dev/null Download latest stable release of AWStats from Choose the setup package that ended with. */10 * * * * /usr/share/awstats/tools/update.shġ0 03 * * * /usr/share/awstats/tools/buildstatic.sh The AWSTATS script is a program written in Perl, executed by the apache2 server. ) and build the related Apache virtualhost. RewriteRule /(*)(/.*)? /usr/lib/cgi-bin/?config=$1 Determine the domain name that will be used to consult the statistics (e.g. AWStats is an open source Web analytics reporting tool, suitable for analyzing. # vi /etc/apache2/sites-available/awstatsĮrrorLog $ ^(.*&)?config=(*)(&(.*))?$ This module promotes the installation of awstats, with the latest Version. Generate stats for AWStats for /var/log/apache2/access.log file (Make sure you have fresh log file) # vi /etc/awstats/Ĭheck you have below settings in /etc/awstats/ There are many log analyzer but AWStats is open source Web analytics reporting tool, It can analyze log files from Apache, WebStar, IIS.Ĭonfiguring for replace with your real domain Reports can be received for a day, week or month.AWStats is a free analytic tool that generates web, streaming, ftp or mail server statistics, graphically. In defense of the program we can say that it is enough to set it up and forget it once. Unlike most of the services for collecting statistical data provided by popular search engines, to work with AWStats you will not need to embed JS-scripts into your pages, just install the program and specify the path to LOG-files, and if necessary, configure additional options.įor an inexperienced user, AWStats may seem a bit complicated, since all interaction with the program is carried out via the command line or the CGI interface. Go to the /etc/awstats folder and execute the following command: (Select whatever username youd like.) Itll ask you to add a password for the user youve selected, add it and re-type it for confirmation and then save. If the server settings allow, you can configure AWStats to receive data about visited pages, keywords from the search engines by which the site was found, advanced information about visitors (browser, operating system, etc.), as well as problems with pages, broken links, periods of maximum load, and the most visited parts of the site. Most servers, such as Apache, store detailed statistics on visits, requests and transitions from different sites. AWStats is a WEB, FTP, and mail server log analyzer with the ability to generate reports in graphical and HTML format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |