Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > awstats install note
【标  题】:awstats install note
【关键字】:awstats,install,note
【来  源】:http://blog.chinaunix.net/article.php?articleId=33517&blogId=1502

awstats install note

Your Ad Here awstats install note

# cd /usr/local
# tar -zxvf awstats-6.2.tgz
# mv awstats-6.2 awstats
# cd /awstats/tools
# perl awstats_configure.pl
      ----> /etc/httpd/conf/httpd.conf
      ----> y
      ----> sitedomain:127.0.0.1
      
# mkdir /var/lib/awstats
# chmod 777 /var/lib/awstats
# vi /etc/awstats/awstats.127.0.0.1.conf :
    LogFile="/etc/httpd/logs/access_log"

write a cron to system with the command : 
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=127.0.0.1
to update the data.

read the report with URL:
http://127.0.0.1/awstats/awstats.pl?config=127.0.0.1


You can do it manually by adding the following command to your cron:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=203.86.138.90
Or if you have several config files and prefer having only one command:
/usr/local/awstats/tools/awstats_updateall.pl now
  

A SIMPLE config file has been created: /etc/awstats/awstats.128.124.10.13.conf
You should have a look inside to check and change manually main parameters.
You can then manually update your statistics for '128.124.10.13' with command:
> perl awstats.pl -update -config=127.0.0.1
You can also read your statistics for '128.124.10.13' with URL:
> http://127.0.0.1/awstats/awstats.pl?config=127.0.0.1

LogFile="/etc/httpd/logs/access_log"
zh_CN.eucCN.note:【上一篇】
JBoss Install Note:【下一篇】
【相关文章】
  • zh_CN.eucCN.note
  • PostgreSQL Install Note
  • system update note
  • Linux Soft Install Note
  • Notes -- Building from source
  • OpenNMS® Installation Guide
  • HowTo Roll Your Own OpenVPN Windows Installation
  • install sybase for solaris10
  • Oracle® Database Quick Installation Guide
  • install oracle10g 10.1.0.3 on RHEL3(By Werner Puschitz)
  • 【随机文章】
  • Top 10 New Things You Need to Know About Java 6
  • 自加密脚本文件 二
  • Remoting系列专题---构建Remoting“防火墙”
  • 如何利用ASP实现邮箱访问(2)
  • 全面保护你的Java程序安全(下)
  • MD5加密算法简介
  • fcitx install
  • 《给初学者的Windows Vista的补遗手册》之071
  • 使用Microsoft visual Studio和Rational Purify进行运行时调试(二)
  • ORACLE备份&恢复案例--ORACLE BACKUP&RESTORE SCHEME
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.