회원가입

로그인

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

번호 제목 조회 수 날짜
252 Unix/Linux [eWeek:타이거] 뜯어보니까 이쁜 구석이 있더라구요… 17074 05.07.27
251 Mobile Devices iPAQ 4150 (Pocket PC) 4603 05.07.24
250 인터넷활용팁 www.apple.com (1) 13978 05.07.20
249 오피스웨어활용 .PDF 파일이란... 9075 05.07.18
248 PHP strpos() 예제 ===를 사용하는 점에 주의 19451 05.07.13
247 PHP 타임스탬프. 7일전의 유닉스타임 얻기. 20313 05.02.10
246 Javascript 검색엔진으로 부터 홈페이지의 중요 내용 보호 21193 04.07.22
245 White Hacking 주요 해킹 포트 및 프로토콜 7931 04.05.27
244 PC/Notebook 바이오스 업그레이드 어떻게 하나요? (1) 14389 04.05.19
243 주변기기/네트워크장비 WBT방식과 단독 pc방법의 장단점이 궁금합니다. 21089 04.05.14
242 XE [re] 제로보드 로그인 문제 (1) 11120 04.04.27
241 서버운영 홈페이지 접속 관련 질문입니다. 8574 04.04.27
240 서버운영 UNIX에서.... 8753 04.04.21
239 White Hacking Apache 에서 DoS 공격 막기 (1.3.x 2.x 모두) 7326 04.04.12
Unix/Linux awstats 6.1 설치 64537 04.04.12
237 White Hacking 해커스랩 명예의 전당 1호 등록자 인터뷰 6489 04.04.06
236 정보보호/보안 Sholink 삼성몰 사건... 스파이웨어인가? 아닌가? 7823 04.03.23
235 서버운영 데이터베이스 점검... mysqlcheck 9046 04.03.19
234 White Hacking 트립와이어 사용법 5950 04.03.05
233 Windows/DOS XP 와 98 의 프린터/파일공유 문제 해결 8219 04.02.07

로그인

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