회원가입

로그인

아이디
비밀번호
ID/PW 찾기
아직 회원이 아니신가요? 회원가입 하기

awstats 6.1 설치

Profile
:맥노턴

아파치 연동 웹로그 분석기 awstats 입니다. Perl 기반의 매우 강력하고 자세한 로그를 제공하는 유틸리티입니다. 강추~~


설치방법.


[root@localhost src]# cp -rf awstats-6.1/ ../awstats
[root@localhost src]# cd ..
[root@localhost indi]# cd awstats/
[root@localhost awstats]# ls
README.TXT  docs  tools  wwwroot
[root@localhost awstats]# cd tools
[root@localhost tools]# ls
awstats_buildstaticpages.pl  awstats_updateall.pl  httpd_conf          maillogconvert.pl   webmin
awstats_exportlib.pl         configure.pl          logresolvemerge.pl  urlaliasbuilder.pl  xslt
[root@localhost tools]# ll
합계 152
-r-x------    1 root     root        18472  4월 12 01:18 awstats_buildstaticpages.pl
-r-x------    1 root     root        12767  4월 12 01:18 awstats_exportlib.pl
-r-x------    1 root     root         4576  4월 12 01:18 awstats_updateall.pl
-r-x------    1 root     root        25011  4월 12 01:18 configure.pl
-r-x------    1 root     root          762  4월 12 01:18 httpd_conf
-r-x------    1 root     root        27513  4월 12 01:18 logresolvemerge.pl
-r-x------    1 root     root        26376  4월 12 01:18 maillogconvert.pl
-r-x------    1 root     root        10535  4월 12 01:18 urlaliasbuilder.pl
drwx------    2 root     root         4096  4월 12 01:18 webmin
drwx------    2 root     root         4096  4월 12 01:18 xslt
[root@localhost tools]# ./configure.pl


----- AWStats configure 1.0 (build 1.31) (c) Laurent Destailleur -----
This tool will help you to configure AWStats to analyze statistics for
one web server. You can try to use it to let it do all that is possible
in AWStats setup, however following the step by step manual setup
documentation (docs/index.html) is often a better idea. Above all if:
- You are not an administrator user,
- You want to analyze downloaded log files without web server,
- You want to analyze mail or ftp log files instead of web log files,
- You need to analyze load balanced servers log files,
- You want to 'understand' all possible ways to use AWStats...
Read the AWStats documentation (docs/index.html).


-----> Running OS detected: Linux, BSD or Unix
Warning: AWStats standard directory on Linux OS is '/usr/local/awstats'.
If you want to use standard directory, you should first move all content
of AWStats distribution from current directory:
/usr/local/indi/awstats
to standard directory:
/usr/local/awstats
And then, run configure.pl from this location.
Do you want to continue setup from this NON standard directory [yN] ? y


-----> Check for web server install
configure did not find your Apache web server path.


Please, enter full directory path of your Apache web server or
'none' to skip this step if you don't have local web server or
don't have permission to change its setup.
Example: /usr/local/apache
Example: d:\Program files\apache group\apache
Apache Web server path ('none' to skip):
> /usr/local/indi/apache


Now, enter full config file path of you web server.
Example: /etc/httpd/apache.conf
Example: d:\Program files\apache group\apache\conf\httpd.conf
Config file path (CTRL+C to cancel):
> /usr/local/indi/apache/conf/httpd.conf


-----> Check and complete web server config file '/usr/local/indi/apache/conf/httpd.conf'
  Add '<Directory>' directive
  AWStats directives added to Apache config file.


-----> Update model config file '/usr/local/indi/awstats/wwwroot/cgi-bin/awstats.model.conf'
  File awstats.model.conf updated.


-----> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ? y


-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
> indischool


-----> Create config file '/etc/awstats/awstats.indischool.conf'
Config file /etc/awstats/awstats.indischool.conf created.


-----> Restart Apache with '/sbin/service httpd restart'
/etc/init.d/httpd restart: httpd restarted


-----> Add update process inside a scheduler
Sorry, configure.pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron:
/usr/local/indi/awstats/wwwroot/cgi-bin/awstats.pl -update -config=indischool
Or if you have several config files and prefer having only one command:
/usr/local/indi/awstats/tools/awstats_updateall.pl now
Press ENTER to continue...



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


Press ENTER to finish...


 

Profile
:맥노턴
레벨 30
83611/86490
48%
McNorton & Education Lab.
Director
댓글
0
댓글 쓰기
권한이 없습니다.

번호 제목 조회 수 날짜
Unix/Linux awstats 6.1 설치 150269 04.04.12
60 Windows/DOS XP 와 98 의 프린터/파일공유 문제 해결 8331 04.02.07
59 Unix/Linux Apache + cronolog + shell = 하루전 로그파일 압축백업 11614 03.12.01
58 Unix/Linux SE7500CW2 : How do I ensure redundancy across Promise* ATA 100 RAID controllers? 6713 03.11.16
57 Unix/Linux How can I enable Direct Memory Access (DMA) under Red Hat* Linux 7.2 or 7.3? 6325 03.11.16
56 Windows/DOS 윈도XP시작시 오류 메시지: 프로시저 시작 지점을 Msvcrt.dll 파일에서 찾을 수 없습니다 11620 03.11.12
55 Unix/Linux up2date 를 이용한 Redhat 7.2 시스템 업그레이드 6405 03.11.03
54 Unix/Linux 커널 2.4.18 assertion failure in journal_commit_transaction 8400 03.11.03
53 Windows/DOS Windows Update 사용법 플래시 7065 03.10.25
52 Windows/DOS 윈도우XP의 대기모드/최대절전모드 동작시에 시스템 재시작 되는 경우 6667 03.10.24
51 Windows/DOS 윈도우XP 활용 팁 10가지 5980 03.10.24
50 Unix/Linux /home 에 있는 계정을 계정별로 따로 백업하는 스크립트 14350 03.10.14
49 Unix/Linux rpm 을 이용한 패키지 삭제 14792 03.10.12
48 Windows/DOS [re] 시스템에 따라... 5334 03.10.06
47 Windows/DOS os (1) 7978 03.10.06
46 Unix/Linux 주요 파일 백업 스크립트 6145 03.08.06
45 Windows/DOS XP 최강 팁 54가지 - 발췌 5452 03.07.23
44 Unix/Linux MRTG 사이트 6937 03.07.13
43 Unix/Linux GD 라이브러리 내려받기 7268 03.07.13
42 Unix/Linux 한컴리눅스 3.1 제품 사양. 10667 03.07.09

로그인

아이디
비밀번호
ID/PW 찾기
아직 회원이 아니신가요? 회원가입 하기