{"id":391,"date":"2006-02-07T14:01:25","date_gmt":"2006-02-07T05:01:25","guid":{"rendered":"http:\/\/www.inohome.net\/kuma\/?p=391"},"modified":"2006-02-07T14:01:25","modified_gmt":"2006-02-07T05:01:25","slug":"awstats","status":"publish","type":"post","link":"https:\/\/www.inohome.net\/kuma\/blog\/archives\/2006\/02\/post_391.html","title":{"rendered":"AWStats"},"content":{"rendered":"<p>\u4f1a\u793e\u3068\u5bb6\u306e\u30b5\u30fc\u30d0\u30fc\u306fMacOSX\u3067\u3042\u308b\u3002<br \/>\nWeb\u30b5\u30fc\u30d3\u30b9\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u30ed\u30b0\u3092\u81ea\u52d5\u7684\u306b\u8996\u899a\u5316\u3057\u3066\u304f\u308c\u308b&#8221;AWStats&#8221;\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u3002<br \/>\n\u305d\u306eAWStats\u3092\u8a2d\u5b9a\u3057\u3066\u304b\u3089\uff12\u30f6\u6708\u5168\u7136\u5f04\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u300cDNS\u9006\u5f15\u304d\u300d\u3068\u300c\u30c9\u30e1\u30a4\u30f3\u306b\u3088\u308b\u56fd\u5206\u3051\u300d\u3092\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u3002<\/p>\n<p>DNS\u9006\u5f15\u304d\u3092\u3059\u308b\u3068\u308f\u3051\u308f\u304b\u3081\u306aip\u30a2\u30c9\u30ec\u30b9\u3092\u305d\u306e\u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u5fdc\u3057\u305f hogehoge.jp<br \/>\n\u306e\u3088\u3046\u306b\u5206\u304b\u308a\u3084\u3059\u3044\u540d\u524d\u306b\u66f8\u304d\u63db\u3048\u3066\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u306e\u3067Stats\u3092\u53d6\u3063\u3066\u3044\u308b\u4fa1\u5024\u3082\u4e0a\u304c\u308b\u3063\u3066\u8a33\u3067<\/p>\n<p>\u30c9\u30e1\u30a4\u30f3\u306b\u3088\u308b\u56fd\u5206\u3051\u306f\u3053\u308c\u3092\u3084\u308b\u3068\u3000.jp\u306f\u65e5\u672c .de\u306f\u30c9\u30a4\u30c4\u3000\u3063\u3066\u306a\u611f\u3058\u306b\u3057\u3066\u304f\u308c\u308b\u3002<br \/>\n<!--more--><br \/>\n\u307e\u305a\u3001DNS\u9006\u5f15\u304d\u3002<br \/>\nAWStats\u304c\u3069\u306econf\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u3044\u305f\u304b\u5fd8\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3067cron\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u3092\u78ba\u8a8d\u3057\u305f\u3002<\/p>\n<p>system(&#8220;\/Library\/WebServer\/CGI-Executables\/awstats\/awstats.pl -config=\uff43\uff4f\uff4e\uff46\u540d.local -output &gt; \/Library\/WebServer\/Documents\/AWStats6.html&#8221;);<\/p>\n<p>Conf\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u304c\u5206\u304b\u3063\u305f\u3002<br \/>\nConf\u30d5\u30a1\u30a4\u30eb183\u884c\u76ee\u306e DNSLookup= \u30921\u306b\u3059\u308c\u3070\u3044\u3044\u3002<\/p>\n<p>\u3053\u308c\u3067DNS\u9006\u5f15\u304d\u5b8c\u4e86\u3002<\/p>\n<p>\u6b21\u306f\u30c9\u30e1\u30a4\u30f3\u306b\u3088\u308b\u56fd\u5206\u3051\u3060\u304c\u3001\u3053\u308c\u306f\u3061\u3087\u3063\u3068\u9762\u5012\u3002<br \/>\nGeo::IPfree\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<br \/>\nCPAN\u3092\u4f7f\u3063\u3066\u624b\u306b\u5165\u308c\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.fuji.sakura.ne.jp\/~yada\/talk2000\/perl.shtml\">CPAN\u521d\u7d1a<\/a><\/p>\n<p>\u3053\u3053\u3092\u307f\u3066\u3084\u3063\u3066\u307f\u308b\u3002OSX\u3067\u3082\u3055\u307b\u3069\u304b\u308f\u3089\u306a\u3044\u3002<\/p>\n<p>\uff03perl -MCPAN -e shell<\/p>\n<p>\u3067\u3001\u4e0a\u8a18\u306e\u30da\u30fc\u30b8\u3092\u898b\u3066\u8a2d\u5b9a\u3002\u3063\u3066\u3044\u3063\u3066\u3082Enter\u3070\u3063\u304b\u3057\u62bc\u3057\u3066\u3044\u308b\u3088\u3046\u306a<br \/>\n\u6700\u5f8c\u306e\u65b9\u3067CPAN\u30b5\u30a4\u30c8\u306b\u3064\u306a\u304e\u306b\u901d\u304f<\/p>\n<p>Fetching with Net::FTP:<br \/>\n  ftp:\/\/ftp.perl.org\/pub\/CPAN\/MIRRORED.BY<\/p>\n<p>Now we need to know where your favorite CPAN sites are located. Push<br \/>\na few sites onto the array (just in case the first on the array won&#8217;t<br \/>\nwork). If you are mirroring CPAN to your local workstation, specify a<br \/>\nfile: URL.<\/p>\n<p>First, pick a nearby continent and country (you can pick several of<br \/>\neach, separated by spaces, or none if you just want to keep your<br \/>\nexisting selections). Then, you will be presented with a list of URLs<br \/>\nof CPAN mirrors in the countries you selected, along with previously<br \/>\nselected URLs. Select some of those URLs, or just keep the old list.<br \/>\nFinally, you will be prompted for any extra URLs &#8212; file:, ftp:, or<br \/>\nhttp: &#8212; that host a CPAN mirror.<\/p>\n<p>(1) Africa<br \/>\n(2) Asia<br \/>\n(3) Central America<br \/>\n(4) Europe<br \/>\n(5) North America<br \/>\n(6) Oceania<br \/>\n(7) South America<br \/>\nSelect your continent (or several nearby continents) [] 2<br \/>\nSorry! since you don&#8217;t have any existing picks, you must make a<br \/>\ngeographic selection.<\/p>\n<p>(1) China<br \/>\n(2) Hong Kong<br \/>\n(3) India<br \/>\n(4) Indonesia<br \/>\n(5) Iran<br \/>\n(6) Israel<br \/>\n(7) Japan<br \/>\n(8) Malaysia<br \/>\n(9) Philippines<br \/>\n(10) Republic of Korea<br \/>\n(11) Russian Federation<br \/>\n(12) Saudi Arabia<br \/>\n(13) Singapore<br \/>\n(14) Taiwan<br \/>\n(15) Thailand<br \/>\n(16) Turkey<br \/>\nSelect your country (or several nearby countries) [] 7<br \/>\nSorry! since you don&#8217;t have any existing picks, you must make a<br \/>\ngeographic selection.<\/p>\n<p>(1) ftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\n(2) ftp:\/\/ftp.jaist.ac.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n(3) ftp:\/\/ftp.kddilabs.jp\/CPAN\/<br \/>\n(4) ftp:\/\/ftp.nara.wide.ad.jp\/pub\/CPAN\/<br \/>\n(5) ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n(6) ftp:\/\/ftp.u-aizu.ac.jp\/pub\/CPAN<br \/>\n(7) http:\/\/ftp.cpan.jp\/<br \/>\nSelect as many URLs as you like (by number),<br \/>\nput them on one line, separated by blanks, e.g. &#8216;1 4 5&#8217; [] 1 3 5 7<\/p>\n<p>Enter another URL or RETURN to quit: []<br \/>\nNew set of picks:<br \/>\n  ftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\n  ftp:\/\/ftp.kddilabs.jp\/CPAN\/<br \/>\n  ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n  http:\/\/ftp.cpan.jp\/<\/p>\n<p>\u307e\u3041\u3053\u3093\u306a\u611f\u3058\u3067\u3044\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>===================\u4f1a\u793e\u306e10.3\u306e\u9bd6\u3067\u306f\u3053\u3046\u306a\u3063\u305f===================<br \/>\nBad luck&#8230; Still failed!<br \/>\nCan&#8217;t access URL ftp:\/\/ftp.perl.org\/pub\/CPAN\/MIRRORED.BY.<\/p>\n<p>\u3068\u304b\u51fa\u305f\u308a\u3059\u308b\u3002\u307e\u3055\u306bBad luck!<br \/>\n\u306a\u306e\u3067CPAN\u30b5\u30a4\u30c8\u3092google\u3057\u3066\u898b\u3064\u3051\u305f\u306e\u3092\u5165\u529b<\/p>\n<p>Please enter your CPAN site: [] ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/<br \/>\nEnter another URL or RETURN to quit: [] ftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\nEnter another URL or RETURN to quit: []<br \/>\nNew set of picks:<br \/>\n  ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n  ftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\n=========================================================<\/p>\n<p>\u3067\u3001\u304a\u308f\u308b\u3068<\/p>\n<p>cpan&gt; install Geo::IPfree<\/p>\n<p>\u3068\u5165\u308c\u3066\u307f\u308b\u3002\u3059\u308b\u3068\u3059\u308b\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/p>\n<p>\u306a\u3093\u3066\u51e6\u7406\u4e2d\u306bCPAN\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u51fa\u3066\u3044\u308b\u3088\uff01\u3068\u7d39\u4ecb\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\n<p>  There&#8217;s a new CPAN.pm version (v1.83) available!<br \/>\n  [Current version is v1.76]<br \/>\n  You might want to try<br \/>\n    install Bundle::CPAN<br \/>\n    reload cpan<br \/>\n  without quitting the current session. It should be a seamless upgrade<br \/>\n  while we are running&#8230;<\/p>\n<p>\u3054\u4e01\u5be7\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3082\u66f8\u3044\u3066\u3042\u308b\u3002<\/p>\n<p>cpan&gt; install Bundle::CPAN<br \/>\nLWP not available<br \/>\nFetching with Net::FTP:<br \/>\n  ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/authors\/id\/A\/AN\/ANDK\/CPAN-1.83.tar.gz<br \/>\nCPAN: Digest::MD5 loaded ok<\/p>\n<p>\u3053\u306e\u3042\u3068\u5ef6\u3005\u3068\uff13\u56de\u3050\u3089\u3044\u540c\u3058\u6587\u5b57\u5217\u306e\u4e26\u3073\u3092\u898b\u308b\u3002<\/p>\n<p>CPAN: Term::ReadLine::Perl loaded ok<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n20 subroutines in Term::ReadLine redefined<\/p>\n<p>cpan shell &#8212; CPAN exploration and modules installation (v1.76)<br \/>\nReadLine support enabled<\/p>\n<p>\u3053\u3046\u3067\u308b\u3068\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u7d42\u308f\u308a\u3089\u3057\u3044\u306e\u3067<\/p>\n<p>cpan&gt; reload cpan<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n209 subroutines redefined<br \/>\n&#8230;&#8230;&#8230;&#8230;<br \/>\n12 subroutines redefined<\/p>\n<p>\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u7d9a\u3051\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u7269\u304c\u6709\u308c\u3070\u5165\u308c\u3066\u306d\u3002\u3063\u3066\u611f\u3058\u3002<\/p>\n<p>quit\u3068\u5165\u308c\u308c\u3070\u30d5\u30c4\u30fc\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u623b\u308c\u308b\u3002<\/p>\n<p>cpan&gt; quit<br \/>\nLockfile removed.<\/p>\n<p>CPAN\u3063\u3066\u697d\u306d\u3047\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f1a\u793e\u3068\u5bb6\u306e\u30b5\u30fc\u30d0\u30fc\u306fMacOSX\u3067\u3042\u308b\u3002 Web\u30b5\u30fc\u30d3\u30b9\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u30ed\u30b0\u3092\u81ea\u52d5\u7684\u306b\u8996\u899a\u5316\u3057\u3066\u304f\u308c\u308b&#8221;AWStats&#8221;\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u3002 \u305d\u306eAWStats\u3092\u8a2d\u5b9a\u3057\u3066\u304b\u3089\uff12\u30f6\u6708\u5168\u7136\u5f04\u3063\u3066\u3044 &hellip; <a href=\"https:\/\/www.inohome.net\/kuma\/blog\/archives\/2006\/02\/post_391.html\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;AWStats&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":0,"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inohome.net\/kuma\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}