In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Awstats is a free, very simple and powerful website log analysis tool.
It can count the following information about your site:
Number of visits, number of visits, page views, clicks, data traffic, etc.
Two: accurate to monthly, daily and hourly data
Three: visitor country
Four: visitor IP
Five: statistics of Robots/Spiders
Six: visitor duration
Seven: statistics for different Files type
Eight: statistics of Pages-URL
Nine: guest operating system browser and other information
Ten: other information (search keywords, etc.)
Detailed introduction
AWStats is a Perl-based WEB log analysis tool that develops rapidly on Sourceforge. The advantages over another excellent open source log analysis tool, Webalizer,AWStats, are:
1. Friendly interface: you can call the corresponding language interface directly according to the browser (simplified Chinese version)
two。 Based on Perl: and a good solution to the cross-platform problem, the system itself can run on GNU/Linux or Windows (after installing ActivePerl); the log analysis directly supports Apache format (combined) and IIS format (need to be modified). Although Webalizer also has Windows platform version, it has been lack of maintenance; AWStats can complete the unified statistics of different WEB servers: GNU/Linux/Apache and Windows/IIS servers in its own site with a set of system.
3. Efficiency is relatively high: AWStats output statistics projects are much richer than Webalizer, and the speed can still reach the speed of Webalizer, which is enough for a site with millions of visitors per day.
4. Convenient configuration / customization: the system provides flexible but reasonable configuration rules by default. The default configuration that needs to be modified is no more than 3 and 4 items to start running, and there are still many plug-ins to modify and extend.
5.AWStats 's designers are designed for precise "Human visits", so robot access to many search engines is filtered out, so it is possible that the number counted by other log statistics tools is lower, and visits from within the company can also be filtered through IP filtering settings.
6. Many extended parameter statistics capabilities are provided: using ExtraXXXX series configurations to generate application-specific parameter analysis can be very useful for product analysis.
AWStats is a free, powerful and personalized tool that brings advanced web, traffic, FTP or mail server statistics. This log analyzer displays all possible information contained in your log on several graphical web pages as a CGI or from the command line. It can often quickly process a large number of log files by using part of the archives, and it can analyze log files from major server tools, such as Apache log files s (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and many other websites, Proxy (proxy server), Wap, traffic server, mail server and some FTP servers.
Take a look at this comparison table in the most famous statistical tools (AWStats, Analog, Webalizer,...) What are the characteristics and different ideas between them?
AWStats is a free software distributed under the GNU General Public license. You can look at this license chart and know that you can / cannot do it.
Because the AWStats project comes from online information, but also as a CGI, it can work with large website hosting providers that allow access to Perl,CGI and logs.
So this blog will briefly introduce how this software is installed on Linux systems.
First of all, we need to install the bind-DNS domain name resolution service package and the httpd-Apache service package.
Modify the main configuration file of DNS after installation to change both listening IP and allowing access to IP to any.
Then modify the zone configuration file to create a zone module for demo.com domain name resolution.
Then create a zone configuration data file under the / var/named directory, command demo.com.zone, and add www's resolved IP address 192.168.220.146, the local address, to the end of the file, and finally use the systemctl start named command to start the service.
Then test locally whether you can successfully resolve the address just added, this side has been able to successfully resolve the address, and then the test machine to test, also successfully parsed out.
Then use the WinSCP software to push the local Awstats software installation package to the Linux / mnt directory.
Then use tar zvxf awstats-7.6.tar.gz to extract the package, and then use the mv command to move to / usr/local and rename it to awstats.
Then cd to the tools directory in that directory and find the awstats_configure.pl execution file to execute it.
Next, there will be an interactive dialog box, which can be entered according to the prompts in the following figure.
The statistics website is the following address, http://localhost/awstats/awstats.pl?config=demo. The default domain name is localhost, and you need to change it to your own domain name.
Then looking back at the configuration file of Apache, you can see that the configuration statement of awstats has been written in.
Modify it here, everyone has control rights, and then save exit. Then go to the awstats directory and see that the configuration file here has been generated by default.
Then open the configuration file to find the following line and change it to the log file you need to count. Then drop down to find this line of DirData, the following directory has not been created, save the contents just modified to create this directory. Finally, restart the network service using the systemctl restart network command.
Then type http://www.demo.com/awstats/awstats.pl?config=www.demo.com on the test machine to visit the statistics website. Now successfully appeared this statistics website, the display here is 0, to get the correct information to update the data on the system.
There is an execution file below to update the data in the / usr/local/awstats/tools/ directory. Execute it.
Then refresh the website again on the test machine, and you can successfully see the data.
Http://www.demo.com/awstats/awstats.pl?config=www.demo.com this website is really too long, in order to facilitate the shutdown, we have to write a website in the site.
The specific code is as follows, the domain name should be changed to its own domain name, and then save and exit.
The following is the download link for the package:
Link: https://pan.baidu.com/s/1AU3Rw1rKtfBu4kMyfA8rzg
Extraction code: 386v
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.