Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement Traffic Monitoring webalizer in Linux Server

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Webalize

Webzlizer is a free web server analysis tool that can analyze apache, ftp and other logs and display the results in html form.

1. Install some dependent software

[root@localhost bandwidthd-2.0.1] # yum install-y webalizer

2. Configure webalizer and edit the configuration file "/ etc/httpd/conf.d/webalizer.conf"

[root@localhost bandwidthd] # gedit / etc/snmp/snmpd.conf

Order deny,allow

# Deny from all / / comment out this sentence

Allow from 127.0.0.1

Allow from:: 1

# Allow from .example.com

3. Generate webalizer log files

[root@localhost bandwidthd] # / usr/bin/webalizer

4. Restart apache. If you do not restart it, you will not see the effect.

[root@localhost bandwidthd] # service httpd restart

Stop httpd: [OK]

Starting httpd:httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

[OK]

5. Type "127.0.0.1/usage" in the browser so that you can access it

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report