회원가입

로그인

아이디
비밀번호
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
977069/
-2%
McNorton & Education Lab.
Director
댓글
0
댓글 쓰기
권한이 없습니다.

번호 제목 조회 수 날짜
272 Unix/Linux How can I enable Direct Memory Access (DMA) under Red Hat* Linux 7.2 or 7.3? 6200 03.11.16
271 Unix/Linux SE7500CW2 : How do I ensure redundancy across Promise* ATA 100 RAID controllers? 6595 03.11.16
270 Unix/Linux Apache + cronolog + shell = 하루전 로그파일 압축백업 11464 03.12.01
269 소프트웨어안내 당나귀 추천 서버 리스트 8967 03.12.07
268 XE 최근등록된 게시물은 어떻게 하는 건지요 26903 03.12.09
267 XE 코멘트에서 검색된 단어는 노란색으로 표시되는 방법을 알고싶습니다. 9492 03.12.27
266 컴퓨터바이러스 RPC 인터페이스의 버퍼 오버런으로 인한 코드 실행 문제 8055 04.01.05
265 컴퓨터바이러스 [기술설명] RPC 인터페이스의 버퍼 오버런으로 인한 코드 실행 문제 12936 04.01.05
264 PC/Notebook [펌] PDA 왕초보의 PDA 2달 사용기 11775 04.01.08
263 PC/Notebook [팁] 갑작스런 노트북 작동불능 상태? (1) 11913 04.01.22
262 주변기기/네트워크장비 캡처보드 추천 부탁드려요. 10323 04.01.24
261 주변기기/네트워크장비 프린터설치가 안되요??? 15063 04.02.03
260 Windows/DOS XP 와 98 의 프린터/파일공유 문제 해결 8219 04.02.07
259 White Hacking 트립와이어 사용법 5950 04.03.05
258 서버운영 데이터베이스 점검... mysqlcheck 9046 04.03.19
257 정보보호/보안 Sholink 삼성몰 사건... 스파이웨어인가? 아닌가? 7823 04.03.23
256 White Hacking 해커스랩 명예의 전당 1호 등록자 인터뷰 6489 04.04.06
Unix/Linux awstats 6.1 설치 64496 04.04.12
254 White Hacking Apache 에서 DoS 공격 막기 (1.3.x 2.x 모두) 7326 04.04.12
253 서버운영 UNIX에서.... 8753 04.04.21

로그인

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