webalizer-2.21-02-cygwin ์ด๋ฒ์ ์ ๋ฐ์๋ค๋ฉด ์์ถ์ ํ์ด์ ์นดํผํ๋ค.
๋๊ฐ์ ๊ฒฝ์ฐ๋ C:\Server\ ๊ฐ ์ค์น๋ฃจํธ ์ด๊ธฐ ๋๋ฌธ์ ์ฌ๊ธฐ๋ก ์ด๋ํ๊ฒ ์ต๋๋ค.
์ผ๋จ webalizer-2.21-02-cygwin ==> c:\server\webalizer ์ด๋ฐ ๋๋ ํ ๋ฆฌ๋ค์์ผ๋ก
๋ณ๊ฒฝํฉ๋๋ค.
๊ทธ ๋ค์์ c:\server\webalizer ์ค์น ๊ฒฝ๋ก๋ฅผ Path ํ๊ฒฝ๋ณ์์ ์ถ๊ฐํ์๊ธฐ ๋ฐ๋๋๋ค.
๋ด์ปดํจํฐ ์์ฑ์ ๋๋ฌ์ ==> ๊ณ ๊ธ ==> ํ๊ฒฝ๋ณ์ ==> ์์คํ
๋ณ์ ==> path์ ์ ํํ ๋ค์ ํธ์ง์
๋๋ฌ์ ;c:\server\webalizer; ์ด๋ ๊ฒ ์ ์ธํด ์ฃผ์๊ณ ๋ง๋ฌด๋ฆฌ๋ ํญ์ ;๋ก ๋ง๋ฌด๋ฆฌ ํด์ผ๋ง ํฉ๋๋ค.
๋ค์์ ์์๋์
์ผ ํ ์ฌํญ์ด ๊ทธ๋ํฝ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ์ค์น๊ฐ ๋์ด ์์ด์ผ ํฉ๋๋ค.
๊ทธ๋์ผ๋ง web์์ ์ ํํ๊ฒ ๋ณผ์ ์์ต๋๋ค.
GD + ImageMagick + libpng ์ด 3๊ฐ์ง๋ฅผ ๋จผ์ ์ค์นํ๊ธธ ๋ฐ๋๋๋ค.
์ด์ ์ค์ ํ์ผ์ ํธ์งํฉ๋๋ค.
sample.conf ์ด ์ํํ์ผ์ webalizer.conf ์ด๋ผ๋ ํ์ผ๋ช
์ผ๋ก ๋ณ๊ฒฝํฉ๋๋ค.
๊ทธ ๋ค์์ webalizer.conf ํ์ผ์ ํธ์ง๊ธฐ๋ก ์ด์ด์ ์์ ํฉ๋๋ค.
=================================================================================
LogFile C:\Server\APM\Server\Apache\logs\dummy-host.example.com-access.log
OutputDir C:\Server\UserHome\syslog\web
HistoryName linuxsunny.hist
IncrementalName webalizer.current
ReportTitle Sunny Server Usage Statistics for
HostName server.linuxsunny.com
HTMLExtension html
PageType htm*
PageType cgi
PageType phtml
PageType php3
PageType pl
StripCGI yes
====================================================================================
์ด์ ๋๋ง ์๊ธฐ ์ปดํจํฐ ์ค์ ์ ๋ง์ถ์ด์ ์์ ํ์
์ผ ํฉ๋๋ค.
์ด์ ์ ์ฅํ๊ณ ๋์ต๋๋ค.
๊ทธ ๋ค์์ cmd ์คํํ์
์ ๋ค์๊ณผ ๊ฐ์ด ๋ ํฌํฐํ์ผ์ ์์ฑํด ์ฃผ์๋ฉด ๋ฉ๋๋ค.
C:\Server\webalizer>webalizer.exe -c webalizer.conf
Webalizer V2.21-02 (CYGWIN_NT-5.1 1.5.25(0.156/4/2) i686) English
Using logfile C:\Server\APM\Server\Apache\logs\dummy-host.example.com-access.log (clf)
Creating output in C:\Server\UserHome\syslog\web
Hostname for reports is 'server.linuxsunny.com'
Reading history file... webalizer.hist
Generating report for January 2011
Saving history information...
Generating summary report
2893 records in 1 seconds, 2893/sec
์ด์ web์์ ๋ก๊ทธ ํ์ผ์ ๋ณด์๊ณ ๋ถ์ํ์๋ฉด ๋ฉ๋๋ค.
์ด๊ฑธ ์ข ์์ฉํ๋ค๋ฉด windows์๋ฒ ๊ณ์ด์์ ๊ณ์ ๋ณ๋ก ๋ง๋ค์ด์ ๋ก๊ทธ๋ฅผ ๋ถ์ํ ์ ์๋ค๋ ์ ์ด๋ค.
์๋ฅผ ๋ค์ด user_weblog.conf ๋ผ๋ ํ์ผ ๋จ์๋ก ๋ง๋ค์ด์ user_weblog2.conf + user_weblog3.conf
์ด๋ฐ๋ฐฉ์์ผ๋ก ๊ฐ๊ฐ ์์ฑํด์ ๊ณ์ ํ์ด๋ ๋ก๊ทธ ํ์ผ๋ช
์ ๊ฒฝ๋ก๋ง ๋ฐ๊พธ์ด์ ์คํํด ์ค๋ค๋ฉด ๊ฐ๋ฅํฉ๋๋ค.
C:\Server\webalizer>webalizer.exe -c user_weblog.conf
C:\Server\webalizer>webalizer.exe -c user_weblog2.conf
C:\Server\webalizer>webalizer.exe -c user_weblog3.conf
์ด๋ ๊ฒ ์คํํ์๋ฉด ๊ฐ ๊ณ์ ๋ณ๋ก ํต๊ณ๋ก๊ทธ๋ฅผ ์ถ์ถํ ์ ์์ต๋๋ค.
์ฑ๊ณตํ์๊ธธ ๋น์ด์~~~^^