Use awstats to analyze web logs
1. decompress the Software Package
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352TE3-0.jpg "style =" float: none; "title =" 1.jpg" alt = "171030656.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352S130-1.jpg "style =" float: none; "title =" 2.jpg" alt = "171030613.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352RW6-2.jpg "style =" float: none; "title =" 3.jpg" alt = "171030496.jpg"/>
Execute scripts to install
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352SC2-3.jpg "title =" 4.jpg" alt = "171055161.jpg"/>
5 selections will pop up in the middle
1. Specify the path of the httpd main configuration file
2. Select Y to change the log format combined.
3. Select Y to create a new configuration file.
4. Specify the target website name www.benet.com
5. Press enter.
6. Press ENTER
7. Press ENTER
3.Modify configuration file
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352R109-4.jpg "style =" float: none; "title =" 5.jpg" alt = "171138376.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352R0E-5.jpg "style =" float: none; "title =" 6.jpg" alt = "171138690.jpg"/>
4. Create a database storage directory and update the database
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352TT6-6.jpg "style =" float: none; "title =" 7.jpg" alt = "171201962.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352V037-7.jpg "style =" float: none; "title =" 8.jpg" alt = "171202544.jpg"/>
5. Configure cron to schedule tasks
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352R5I-8.jpg "style =" float: none; "title =" 9.jpg" alt = "171235130.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352ST2-9.jpg "style =" float: none; "title =" 10.jpg" alt = "171236516.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352T615-10.jpg "style =" float: none; "title =" 11.jpg" alt = "171236525.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352W309-11.jpg "style =" float: none; "title =" 12.jpg" alt = "171236360.jpg"/>
Access AWStats Analysis System
Http://www.benet.com/wastats/wastats.pl? Config = www.benet.com
(Add user authorization configuration) use the user to log on to the AWStats Analysis System
1.. Use the htpasswd command to create a user, and save the user as a. htpasswd file.-c indicates that the new authentication file can be omitted when it is added to a later file.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352S960-12.jpg "title =" 13.jpg" alt = "171315506.jpg"/>
Add configuration items in httpd. conf based on user access control
AuthName defines the protected domain name
AuthType authentication type Basic is Basic
AuthUserFile specifies the path of the authentication file used to save the user account and password.
Require valid-user authorized to all valid users in the authentication File
1. Configure httpd. conf
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352V621-13.jpg "style =" float: none; "title =" 14.jpg" alt = "171336344.jpg"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352WO3-14.jpg "style =" float: none; "title =" 15.jpg" alt = "171336213.jpg"/>
3. Restart the httpd service.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/05352V504-15.jpg "title =" 16.jpg" alt = "171355714.jpg"/>