회원가입

로그인

아이디
비밀번호
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
:맥노턴
레벨 31
1265886/
-32%
McNorton & Education Lab.
Director
댓글
0
댓글 쓰기
권한이 없습니다.

번호 제목 조회 수 날짜
78 Windows/DOS Visual Studio : Just-In-Time 디버거 비활성화 17441 07.08.13
77 Windows/DOS 이유없는 튕김현상 중 KAV와 PunkBuster의 충돌 해결 13045 07.02.10
76 Windows/DOS 시스템이 최대절전모드로 전환되지 않는 문제 등 해결 16936 07.02.10
75 Windows/DOS [REG] 윈도우 시작시 실행되는 프로그램 제거 17919 07.01.20
74 Unix/Linux Redhat 리눅스 9 내려받기 13924 07.01.03
73 Windows/DOS [게임] 지뢰찾기의 재미있는 키 22707 06.12.11
72 Windows/DOS ClearType Tuner : WinXP 17064 06.11.21
71 Unix/Linux DNS (Bind-9.1.3-4 셋팅 및 DNS 셋팅) 17504 06.10.17
70 Windows/DOS 시스템종료시 ccApp.exe 닫기 오류 10933 06.10.01
69 Unix/Linux 리눅스 매뉴얼 - 한소프트리눅스2006 설치 19449 06.09.29
68 Unix/Linux 정전후 파일시스템 정보 오류 21090 06.09.27
67 Unix/Linux 아파치2 성능 벤치마킹 & 튜닝 14846 06.09.13
66 Unix/Linux (메모) MX레코드 정보 읽어보기 11810 06.08.29
65 Unix/Linux DNS세팅문제 : abc.com 은 되고, www.abc.com 은 안될 때... 10507 06.02.07
64 Windows/DOS Outlook의 PDFmaker 툴바 없애기/위치바꾸기 9590 06.01.10
63 Unix/Linux [설치] rh9 + php5 + apache2 + oracle9i + mysql4 + gd2 16204 05.08.26
62 Unix/Linux [eWeek:타이거] 뜯어보니까 이쁜 구석이 있더라구요… 17098 05.07.27
Unix/Linux awstats 6.1 설치 146471 04.04.12
60 Windows/DOS XP 와 98 의 프린터/파일공유 문제 해결 8229 04.02.07
59 Unix/Linux Apache + cronolog + shell = 하루전 로그파일 압축백업 11487 03.12.01

로그인

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