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/01 Report--
This article is about how to install and configure Webalizer on Ubuntu15.04. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Webalizer is a free application that can be used to analyze web server logs. In this way, you can have a better understanding of the amount of traffic your site or server receives. It is a widely used open source tool that provides very detailed reports. This tool is easy to use and install, and many advanced managed dashboards such as cPanel use it to provide users with detailed information about traffic.
Functional characteristics
This tool is powerful enough to parse access logs in different formats. It can also get information from compressed files without first unzipping the files. You can use the tool from both the command line and the graphical user interface to view reports in a way that makes it convenient for you.
It supports multiple languages, and the development team is working to add features that support many other languages. It can parse log files of any size or complexity. It supports both IPV4 and IPV6, as well as native location services and DNS server software.
Install and configure Webalizer on Ubuntu
Webalizer requires the Apache website server software to be installed on the Linux system because it reads and parses the Apache error log to analyze traffic. If Apache is not previously installed on your system and you are trying to see how webalizer works, start the terminal and run the following command to install Apache on your Ubuntu:
Sudo apt-get install apache
Once Apache is installed, run the following command to start it.
Sudo / etc/init.d/apache2 start
Now launch your browser, load http://localhost, and verify that http is working properly, and it should display pages like this:
Apache default page
Note: by default, the document root of Apache is / var/www/html/, so you need to put the scripts in this location so that the Apache web server can provide them.
Now that Apache is installed and running on our Ubuntu system, run the following command to install webalizer.
Sudo apt-get install webalizer
Congratulations, webalizer has been installed. Now we need to configure it.
Configure webalizer
You may also notice that during installation, the webalizer directory has been created on the / var/www/ path, and we need to move it to / var/www/html so that Apache can smooth the directory. Run the following command on the terminal to accomplish this task.
Sudo mv / var/www/webalizer / var/www/html/
Now edit the Webalizer configuration file to correct the path for the Apache access log there. Run the following command to edit its configuration file using the Gedit editing tool.
Sudo gedit / etc/webalizer/webalizer.conf
It is important to make sure that the path to the Apache access log file is correct in the file (the highlighted part of the screenshot below). If there is an error in the path, correct the path and save the file.
Well, we are only one step away from success.
Test Webalizer configuration
Run the following command to verify that webalizer has been successfully installed and configured.
Sudo webalizer
A successful webalizer configuration should have the output shown in the following screenshot.
Test webalizer
Launch the browser and load http://localhost/webalizer/ URL. It should load the webalizer page with a report of the system's current HTTP activity.
Thank you for reading! This is the end of the article on "how to install and configure Webalizer on Ubuntu15.04". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.