Install AWStats- Free Logfile Analyzer for Site Statistics 로그 파일 분석기를 설치하는 사이트의 통계 awstats - 무료
Prerequisite 전제 조건
As AWStats is Perl based, a Perl Interpreter need to be installed first to take anvantage of AWStats. awstats가 기반으로 펄, 펄 인터프리터를 설치할 필요가의 첫 번째를 anvantage awstats합니다. For instruction on how to install Perl in Windows machine, check out 펄에 대한 지시를 설치하는 방법을 윈도우 머신, 체크 아웃 this article 이 문서 . 합니다.
Download AWStats awstats를 다운로드
Download latest stable release of AWStats from awstats에서 최신 안정적인 릴리스를 다운로드 http://www.awstats.org/ . 합니다. Choose the setup package that ended with .exe extension. 설치 프로그램 패키지를 선택하십시오으로 마무리되었습니다. exe 확장자합니다.
Install AWStats awstats를 설치
Launch the AWStats setup file by double clicking on the executable that just has been downloaded. awstats 설치 프로그램을 시작하여 파일을 더블 클릭하여 실행 파일이 다운로드에 갓합니다.

Click “Next” to continue. 다음 "다음"을 계속합니다.

Click “I Agree” to continue. [ "동의"를 계속합니다.

You may want to change the installation folder here. 여기에 설치 폴더를 변경 할 수있습니다. Then click on “Install” to start the installation. 다음를 클릭하십시오 "설치"설치를 시작합니다.
Setup and Configuration for Apache Web Server 아파치 웹 서버를 설치 및 구성
AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. awstats 설치 프로그램이 자동으로 시작합니다 여러 설치 프로그램을 동작하지 awstats_configure.pl 스크립트를합니다. If you’re not using the Windows installer, you can find the script in the AWStats tools directory. 창문 설치 프로그램을 사용하고 있지 않은 경우를 찾을 수있습니다 awstats 도구를 디렉토리에 스크립트를합니다. To execute it use (if location of perl.exe is within your path environment): 그것을 실행을 사용 (만약 귀하의 경로를 내에있다는 환경에 perl.exe의 위치) :
perl awstats_configure.pl 펄 awstats_configure.pl
This is what the script does/asks (you can do all these steps manually instead of running awstats_configure.pl (automatically launch by Windows installer) if you prefer): 이것은 무엇이 스크립트는 / 묻습니다 (넌 할 수의 모든 단계를 실행하는 대신에 수동으로 awstats_configure.pl (자동으로 시작합니다 설치 프로그램) 원하는 경우) :
A) awstats_configure.pl tries to determine your current log format from your Apache web server configuration file httpd.conf (it asks for the path if not found). 원정) 귀하의 현재 로그 형식을 확인하려고 시도 awstats_configure.pl의 아파치 웹 서버를 구성 파일을 httpd.conf (요구하는 경우에 대한 경로를 찾을 수 없음). If you use a common log, awstats_configure.pl will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). 일반적인 로그를 사용하는 경우,이 형식은 NCSA awstats_configure.pl는 그것을 변경하시기 바랍니다 결합 / xlf / 꼬마 요정 형식 (하실 수있습니다 자신만의 사용자 정의 로그 형식을 사용하지만이 미리 정의된 로그 형식은 종종 최선의 선택을하고 설치 프로그램을 쉽게).
If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from: 대답하는 경우 네, awstats_configure.pl은 httpd.conf 수정하여, 다음과 같은 지침을 변경 보낸 사람 :
CustomLog /yourlogpath/yourlogfile common customlog / yourlogpath / yourlogfile 일반적인
to 으로
CustomLog /yourlogpath/yourlogfile combined customlog / yourlogpath / yourlogfile 연합
See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual). 아파치 설명서를 참조하십시오이 지시어에 대한 자세한 내용은 (아마도이 설치되어 귀하의 서버로 www.mysite.com / 수동).
B) awstats_configure.pl will then add, if not already present, the following directives to your Apache configuration file (note that the “/usr/local/awstats/wwwroot” path might differ according to your distribution or OS: 나) awstats_configure.pl은 다음을 추가, 이미 존재 그렇지 않으면 다음과 같은 지시어를 아파치 환경 설정 파일 (참고 : 그 다음에 "/ usr / 지방 / awstats / wwwroot"경로 배포 또는 운영 체제에 따라 다를 수있습니다 :
#
# Directives to add to your Apache conf file to allow use of AWStats as a CGI. # 지시문을 장바구니에 귀하의 아파치 환경 설정 파일을 cgi로 awstats 사용을 허용합니다.
# Note that path “/usr/local/awstats/” must reflect your AWStats Installation path. # 참고 :이 경로를 "/ usr / 지방 / awstats /"awstats 설치 경로를 반영하도록해야합니다.
#
Alias /awstatsclasses “/usr/local/awstats/wwwroot/classes/” 별칭 / awstatsclasses "/ usr / 지방 / awstats / wwwroot / 클래스 /"
Alias /awstatscss “/usr/local/awstats/wwwroot/css/” 별칭 / awstatscss "/ usr / 지방 / awstats / wwwroot / 전투 근무 지원 /"
Alias /awstatsicons “/usr/local/awstats/wwwroot/icon/” 별칭 / awstatsicons "/ usr / 지방 / awstats / wwwroot / 아이콘 /"
ScriptAlias /awstats/ “/usr/local/awstats/wwwroot/cgi-bin/” : ScriptAlias / awstats / "/ usr / 지방 / awstats / wwwroot / cgi - 빈 /"#
# This is to permit URL access to scripts/files in AWStats directory. # 이것은 url 액세스를 허용하도록 스크립트를 / 파일을 awstats 디렉토리합니다.
#Options None 옵션 없음
AllowOverride None 에게 AllowOverride 없음
Order allow,deny 주문 허용, 거부
Allow from all 모든 허용C) if changes were made as indicated in parts A and B, awstats_configure.pl restarts Apache to apply the changes. c) 만일에 변경 사항이 표시된대로 홍보 둘째, 변경 내용을 적용합니다 awstats_configure.pl 아파치를 다시 시작합니다. To be sure the log format change is effective, go to your homepage. 로그 형식으로되어 있는지 확인하십시오 변경 사항이 효과적으로 귀하의 홈페이지로 이동합니다. This is an example of the type of records you should see inserted in your new log file after Apache was restarted: 이것은 기록의 유형에의 예입니다 귀하의 새 로그 파일에 삽입된가 나타납니다 아파치를 다시 시작 후 :
62.161.78.75 - - [dd/mmm/yyyy:hh:mm:ss +0000] “GET / HTTP/1.1″ 200 1234 “http://www.from.com/from.html” “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)” 62.161.78.75 - - [날짜 / 음 / 년도 : 대두 : mm : ss +0000] "보기 /되는 HTTP/1.1"200 1234 "http://www.from.com/from.html" "mozilla/4.0 (호환 ; 마이크로 5.01; windows nt 5.0) "
D) awstats_configure.pl will ask you for a name for the configuration profile file. 패) awstats_configure.pl가의 구성 프로파일의 이름을 물어보고에 파일을합니다. Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, ie mysite. 적절한 이름을 입력하여 웹 서버의 같은 또는 가상 도메인을 분석, 즉 mysite합니다.
awstats_configure.pl will create a new file called awstats.mysite.conf by copying the template file awstats.model.conf. 새 파일을 만듭니다로 불리는 awstats.mysite.conf awstats_configure.pl은 템플릿 파일을 복사하여 awstats.model.conf합니다. The new file location is: 새 파일의 위치는 :
- For Linux/BSD/Unix users: /etc/awstats. - 리눅스 / bsd / 유닉스 사용자 : / 비고 / awstats합니다.
- For Mac OS X, Windows and other operating systems: the same directory as awstats.pl (cgi-bin). - 맥 운영 체제 엑스, 창 및 기타 운영 체제 : 동일한 디렉토리에 awstats.pl (cgi - 빈).E) awstats_configure.pl ends. 이메일) awstats_configure.pl 종료합니다.
Check through the httpd.conf is configured properly according to steps above. httpd.conf가 올바르게 구성을 통해 확인 위의 단계를 따르면합니다. It has been reported that sometime the CustomLog is not changed from common to combined. 그것중인 것으로 알려졌다 언젠가부터 공통적으로 결합 the customlog는 변경되지 않습니다.
Additional Configuration at Main Parameters of awstats. mysite .conf awstats의 주요 매개 변수를 추가 구성합니다. mysite. 구성
A) Change Apache log file directory by: 원정) 아파치 로그 파일 디렉토리를 변경 :
Find : LogFile=”/var/log/apache/access.log” 찾기 : 로그 파일 = "/ 변수 / 로그 / 아파치 / access.log"
Replace with : LogFile=”C:/Program Files/Apache Group/Apache2/logs/access_log” 다음 광고로 교체 : 로그 파일 = "c : / 프로그램 파일 / 아파치 group/apache2/logs/access_log"
(Important: The setting is for default Apache installation path. If you change your Apache path, please input accordingly. Note that the directory seperator is /) (중요 사항 :이 설정이 기본 아파치 설치 경로를합니다. 아파치 경로를 변경하는 경우, 이에 따라 입력하시기 바랍니다. 참고 사항이있는 디렉터리 seperator가 /)
B) Change log file type (Optional, typically no need to change) 나) 변경 로그 파일 유형 (선택 사항, 일반적으로 변경할 필요가없습니다)
Find : LogType=W 찾기 : logtype = 승
Replace the value with “W” for analyzing web server log files, “S” for a streaming server log file, “M” for mail log files, “F” for ftp log files. 대체 값에 "승"을 웹 서버에 로그 파일을 분석, "의"스트리밍 서버의 로그 파일, "m"을 메일 로그 파일을 "이름"에 대한 로그 파일을 FTP를합니다.
C) Check if LogFormat has the value “1″ (it means “NCSA apache combined/ELF/XLF log format”) or use a personalized log format if you don’t use combined log format. c) logformat가 있는지 확인 값 "1"(그 의미는 "이 형식은 NCSA 아파치 결합 / 꼬마 요정 / xlf 로그 형식") 또는 맞춤 로그 형식을 사용 로그 형식를 사용하지 않을 경우 결합합니다.
D) Check if SiteDomain parameter with the main domain name or the intranet web server name used to reach the web site to analyze (Example: www.mydomain.com). 패) sitedomain 매개 변수가 있는지 확인 인트라넷을 웹 서버의 주요 도메인 이름이나 이름을 사용하여 웹 사이트를 방문하여 분석에 도달합니다 (예 : www.mydomain.com).
E) If you have several possible name for same site, add list in HostAlias parameter: 이메일) 여러 가지 이름을 경우에는 같은 사이트를 목록에 추가 hostalias 매개 변수 :
Find : HostAliases=”localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]” 찾기 : hostaliases = "로컬 호스트 127.0.0.1 정규식 [^ .* \. myserver \. com $]"
Replace with : HostAliases=”yoursite.com localhost 127.0.0.1″ 다음 광고로 교체 : hostaliases = "127.0.0.1 yoursite.com 로컬 호스트"
(You can include alias names from dynamic DNS accounts such as www.mysite.serveftp.net and etc.) (dns 계정에 포함시킬 수있습니다 별칭의 이름과 같은 동적 www.mysite.serveftp.net 등)
F) AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the “Update now” link that appears when AWStats is used as a CGI. f) awstats 브라우저에서 통계를 업데이트할 수있습니다를 제공 실제 - 시간 통계를 클릭하여 "업데이트 다운로드"링크를 사용했을 때 나타나는 awstats cgi로합니다. To enable it: 이를 활성화 :
Find : AllowToUpdateStatsFromBrowser=0 찾기 : allowtoupdatestatsfrombrowser = 0
Replace with : AllowToUpdateStatsFromBrowser=1 다음 광고로 교체 : allowtoupdatestatsfrombrowser = 1
G) Edit ‘awstats.pl’ located in “C:\Program Files\AWStats\wwwroot\cgi-bin\” and change the path on the first line to point to exact location of perl.exe in your system, ie #!C:\perl\bin\perl.exe. g) 수정 '을 awstats.pl'위치 : "c : \ 프로그램 파일 \ awstats \ wwwroot \ cgi - 빈 \"및 변경에 대한 경로를 첫 번째 줄에의 정확한 위치를 가리 키도록 perl.exe 여러분의 시스템에서, 즉 #! c : \ 펄 \ 빈 \ perl.exe합니다.
To Maintain Just Single CGI Directory - Optional 단지 하나 cgi 디렉토리를 유지 - 옵션
New version of AWStats creates alias directory entries at the bottom of Apache httpd.conf file. 새로운 버전의 awstats 디렉토리 엔트리 하단에 별칭을 만듭니다 아파치 httpd.conf 파일을합니다. If you want to have just one CGI executable directory, you have to move the AWStats scripts to existing CGI directory. cgi 실행 파일 하나만하려는 경우 디렉토리, 당신은 기존의 cgi 스크립트를 awstats 디렉토리를 이동합니다.
The following assume installation in default path. 기본 경로에 설치하는 다음과 같은 추측합니다.
- Copy ALL files and sub-folders contained within “C:\Program Files\AWStats\wwwroot\cgi-bin\” and paste into your Apache2 web server’s cgi-bin at “C:\Program Files\Apache Group\Apache2\cgi-bin\” - 폴더에 복사에 포함된 모든 파일과 하위 "c : \ 프로그램 파일 \ awstats \ wwwroot \ cgi - 빈 \"및 붙여넣기 apache2를 귀하의 웹 서버의 cgi - 빈에서 "c : \ 프로그램 파일 \ 아파치 그룹 \ apache2 \ cgi - 빈 \ "
- Copy ALL files and sub-folders contained within “C:\Program Files\AWStats\wwwroot\icon\” and paste into our Apache2 web server’s icons folder at “C:\Program Files\Apache Group\Apache2\icons\” - 폴더에 복사에 포함된 모든 파일과 하위 "c : \ 프로그램 파일 \ awstats \ wwwroot \ 아이콘을 \"와 웹 서버의 아이콘이 폴더에 붙여넣을 우리의 apache2에서 "c : \ 프로그램 파일 \ 아파치 그룹 \ apache2 \ 아이콘을 \"
Edit again the awstats. mysite .conf file, the change the following: 다시 수정 awstats합니다. mysite. 구성 파일에 다음과 같은 변경합니다 :
Find : DirIcons=”/icon” 찾기 : diricons = "/ 아이콘"
Replace with : DirIcons=”/icons” 다음 광고로 교체 : diricons = "/ 아이콘이"
Delete from Apache web server’s httpd.conf the alias directory that has been inserted by AWStats setup program. 아파치 웹 서버에서 삭제 httpd.conf awstats의 별칭 디렉토리에 설치 프로그램에 의해 삽입되었습니다.
Optional Setup Section 옵션 설정 섹션
Find : DefaultFile=”index.html” 찾기 : defaultfile = "index.html"
Replace with your default index page, only if necessary, ie DefaultFile=”index.php” or DefaultFile=”index.php index.html” 의 기본 색인 페이지로 교체에만 필요한 경우, 즉 defaultfile = "index.php"또는 defaultfile = "index.php index.html"
Find : SkipHosts=”" 찾기 : skiphosts = ""
Replace with : SkipHosts=”127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.0\.]” 다음 광고로 교체 : skiphosts = "127.0.0.1 정규식 [^ 192 \ .168 \.] 정규식 [^ 10 \ .0 \.]"
This is to not include statistics from your own local machines, they will remain in the actual log files but excluded from awstats counts. 이것은 자신의 로컬 컴퓨터에 대한 통계를 포함하지 않도록, 그들의 실제 로그 파일에 남게됩니다 awstats하지만 카운트에서 제외합니다. To get actual hits and figures it’s sometime necessary, but is not essential at this stage. 실제 안타와 숫자를 배워 그것이 필요하지만이 단계는 필수적인합니다.
Build/Update Statistics 건설 / 업데이트 '통계
There are two possible way to analyze, update and generate the AWStats statistics, command line and browser based. 을 분석하는 방법에는 두 가지 수, 업데이트 및 생성하는 awstats 통계, 명령줄 및 브라우저 기반합니다.
Command Line Option 커맨드 라인 옵션을
Go to the command line, and change directory to your AWStats cgi-bin directory, ie C:\Program Files\AWStats\wwwroot\cgi-bin. 커맨드 라인으로 이동, 그리고 귀하의 awstats 디렉터리를 변경 cgi - 빈 디렉토리, 즉 c : \ 프로그램 파일 \ awstats \ wwwroot \ cgi - 빈합니다.
The AWStats update command line is (replace with your domain): the awstats 업데이 트를 커맨드 라인은 (귀하의 도메인으로 교체) :
perl awstats.pl -config=www.yourdomain.com -update 펄 awstats.pl - 설정 = www.yourdomain.com - 업데이트
AWStats database files are saved in directory defined by DirData parameter in config file, which we left as default (current directory). 데이터베이스 파일이 저장된 디렉토리 awstats dirdata 매개 변수를 설정 파일에 의해 정의를두고 기본 (현재 디렉토리). Update might take a while, if the log file is big. 업데이트 시간이 꽤 걸릴 수도, 만약의 로그 파일이 큰합니다. When update is finished, you should get on screen a result like this: 이 업데이 트가 완료되면 이런 결과물이 화면을 받아야 :
Update for config “/etc/awstats/awstats.myvirtualhostname.conf” 이 업데이 트에 대한 설정 "/ 비고 / awstats / awstats.myvirtualhostname.conf"
With data in log file “/pathtoyourlog/yourlog.log”… 과 데이터에 로그 파일을 "/ pathtoyourlog / yourlog.log"…
Phase 1 : First bypass old records, searching new record… 1 단계 : 첫 번째 우회 옛 기록, 새로운 기록을 검색…
Searching new records from beginning of log file… 새 레코드를 검색 로그 파일을 처음부터…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… 2 단계 : 이제 프로세스 새 레코드 (20000 후에 디스크에서 플래시의 역사 호스트)…
Jumped lines in file: 0 급증하는 라인에 파일 : 0
Parsed lines in file: 225730 구문 분석하는 라인에 파일 : 225730
Found 122 dropped records, 122 발견 하락 기록,
Found 87 corrupted records, 87 발견 손상 기록,
Found 0 old records, 발견 0 오래된 기록,
Found 225521 new qualifed records. 225,521 새 자격 레코드를 발견합니다.
Browser Option 브라우저 옵션을
AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the “Update now” link that appears when AWStats is used as a CGI (only applicable if AllowToUpdateStatsFromBrowser is set to 1 in AWStats config file ). 통계를 업데이트할 수있습니다 브라우저에서 awstats를 제공 실제 - 시간 통계를 클릭하여 "업데이트 다운로드"링크를 사용했을 때 나타나는 awstats cgi (allowtoupdatestatsfrombrowser은 1로 설정된 경우에만 적용됩니다 awstats 설정 파일에).
Read Statistics 읽기 통계
Again, there is 2 methods where AWStats’s statistics can be read, corresponding to the generation method of the stats mentioned above. 또이 방법은 2 awstats의 통계를 읽을 수있는 대응 통계를 생성하는 방법은 위에서 언급한합니다.
Command Line Option 커맨드 라인 옵션을
At the same directory, after the first update command is finished, run the following command: 동시에 디렉토리, 다음 명령을 첫 번째 업데이 트가 완료되면 다음 명령을 실행합니다 :
perl awstats.pl -config=myvirtualhostname -output -staticlinks > awstats.myvirtualhostname.html 펄 awstats.pl - 설정 = myvirtualhostname - 출력 - staticlinks> awstats.myvirtualhostname.html
The process may take a while, after it’s finished, a html will be generated where you can view it with a browser by double clicking on it. 이 과정이 걸릴 수있습니다 좀 더 걸릴가 완료 후, html이 생성됩니다 볼 수있는 브라우저가 그것을 두 번 클릭합니다.
Browser Option 브라우저 옵션을
Access the following directory (replace with your own domain): 액세스하는 다음과 같은 디렉토리에 (자신의 도메인으로 교체) :
http://www.myserver.mydomain/awstats/awstats.pl?config=myvirtualhostname
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 사항 : 이것은 기계 번역 페이지는 "있는 그대로"제공하지 않고 보증합니다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 를 참조하시기 바랍니다 original English article 기존 영어 자료 whenever possible. 언제 수있습니다.
Share and contribute or get technical support and help at 를 공유하고 기술 지원 및 도움을 공헌하지 않는다면 My Digital Life Forums 내 디지털 라이프 공개 토론 . 합니다.
Related Articles 관련 기사
- Track Exit Link and Outbound Click with Site Meter 측정기를 클릭하여 사이트를 종료 링크를 추적 및 아웃 바운드
- Site Statistics Tracker Performancing Metrics Reviews Performancing - 통계의 리뷰 사이트의 통계를 추적
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin 전세 마차 : 디스플레이 구글 분석 및 통계를보고 사이트를 관리 feedburner
- Compare Website Traffic and Website Statistics Easily Alexaholic 웹 사이트 트래픽과 웹 사이트 통계를 쉽게 비교할 alexaholic
- Uninstall Installed Programs Completely with Total Uninstall 4.26 설치된 프로그램을 완전히 제거하는 제거하는 총 4.26
- Oracle EXP-00091 Error When Export Database 오라클 데이터베이스를 수출 - 00091 오류가 발생했습니다 내보내기
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads 블로그 피드를 리디렉션에 대한 자세한 통계 및 수익 창출 광고를 feedburner
- AdSense Reports and Statistics Not Real-Time 애드 센스 리포트 및 통계 진짜가 아니야 - 타임
- Preview Site Thumbnails and Easily Open in New Windows when Search with Google by LostGoogles 미리보기 사이트를 쉽고 작은 이미지와 함께 검색을 구글에서 열기로 새 창을 lostgoogles 때
- AdSense Adds “Since Last Payment” To Reports Overview 애드 센스를 추가 "최종 지불 이후"를 보고서 개요
































