{"id":168,"date":"2014-11-15T22:49:11","date_gmt":"2014-11-15T13:49:11","guid":{"rendered":"http:\/\/dukehide.dip.jp\/wordpress\/com\/?p=168"},"modified":"2018-02-12T19:28:23","modified_gmt":"2018-02-12T10:28:23","slug":"awstats-install","status":"publish","type":"post","link":"https:\/\/dukehide.com\/pc\/awstats-install\/","title":{"rendered":"AWStats\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u5f90\u3005\u306b\u4ee5\u524d\u306e\u74b0\u5883\u306b\u623b\u3057\u3066\u306f\u3044\u307e\u3059\u304c\u3001\u3059\u3093\u306a\u308a\u3068\u306f\u3044\u304d\u307e\u305b\u3093\u306d\u3047\u3002AWStats\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3057\u3066\u4e0d\u5177\u5408\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u4ee5\u4e0b\u7c21\u6613\u30e1\u30e2\u3002<\/p>\n<div class=\"terminal\">\n# wget http:\/\/prdownloads.sourceforge.net\/awstats\/awstats-7.3-1.noarch.rpm<br \/>\n# rpm -ivh awstats-7.3-1.noarch.rpm<br \/>\n\u30a8\u30e9\u30fc: \u4f9d\u5b58\u6027\u306e\u6b20\u5982:<br \/>\n        perl(Digest::MD5) \u306f awstats-7.3-1.noarch \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>\n        perl(LWP::UserAgent) \u306f awstats-7.3-1.noarch \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>\n<br \/>\n\u203b\u2193\u3053\u308c\u3067OK<br \/>\n# yum -y install perl-Digest-MD5<br \/>\n# yum -y install perl-libwww-perl\n<\/div>\n<p><\/p>\n<p>AWStats\u306e\u8a2d\u5b9a\u3092\u6e08\u307e\u305b\u3001perl-CPAN\u3092\u8d77\u52d5\u3059\u308b\u3068\u3053\u308d\u3067\u518d\u3073\u30a8\u30e9\u30fc\u767a\u751f\u3002<\/p>\n<div class=\"terminal\">\n\u201cWould you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes]\u201d\n<\/div>\n<p><\/p>\n<p>\u306e\u3068\u3053\u308d\u3067\u300cyes\u300d\u306e\u307e\u307e\u5148\u306b\u9032\u3080\u3068\u3001Perl\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3057\u3066\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u300cno\u300d\u306b\u3057\u3066\u624b\u52d5\u3067\u8a2d\u5b9a\u3002<\/p>\n<div class=\"terminal\">\n# perl -MCPAN -e shell<br \/>\nSorry, we have to rerun the configuration dialog for CPAN.pm due to<br \/>\nsome missing parameters. Configuration will be written to<br \/>\n &lt;&lt;\/root\/.cpan\/CPAN\/MyConfig.pm&gt;&gt;<br \/>\n<br \/>\nCPAN.pm requires configuration, but most of it can be done automatically.<br \/>\nIf you answer 'no' below, you will enter an interactive dialog for each<br \/>\nconfiguration option instead.<br \/>\n<br \/>\nWould you like to configure as much as possible automatically? [yes]<br \/>\n<br \/>\n &lt;install_help&gt;<br \/>\n<br \/>\nWarning: You do not have write permission for Perl library directories.<br \/>\n<br \/>\nTo install modules, you need to configure a local Perl library directory or<br \/>\nescalate your privileges.  CPAN can help you by bootstrapping the local::lib<br \/>\nmodule or by configuring itself to use 'sudo' (if available).  You may also<br \/>\nresolve this problem manually if you need to customize your setup.<br \/>\n<br \/>\nWhat approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')<br \/>\n [local::lib] manual<br \/>\n<br \/>\nAutoconfigured everything but 'urllist'.<br \/>\n<br \/>\nNow you need to choose your CPAN mirror sites.  You can let me<br \/>\npick mirrors for you, you can select them from a list or you<br \/>\ncan enter them by hand.<br \/>\n<br \/>\nWould you like me to automatically choose some CPAN mirror<br \/>\nsites for you? (This means connecting to the Internet) [yes] no<br \/>\n<br \/>\nWould you like to pick from the CPAN mirror list? [yes]<br \/>\nFound a cached mirror list as of Tue Nov 11 00:55:06 2014<br \/>\n<br \/>\nIf you'd like to just use the cached copy, answer 'yes', below.<br \/>\nIf you'd like an updated copy of the mirror list, answer 'no' and<br \/>\nI'll get a fresh one from the Internet.<br \/>\n<br \/>\nShall I use the cached mirror list? [yes]<br \/>\nFirst, pick a nearby continent and country by typing in the number(s)<br \/>\nin front of the item(s) you want to select. You can pick several of<br \/>\neach, separated by spaces. Then, you will be presented with a list of<br \/>\nURLs of CPAN mirrors in the countries you selected, along with<br \/>\npreviously selected URLs. Select some of those URLs, or just keep the<br \/>\nold list. Finally, you will be prompted for any extra URLs -- file:,<br \/>\nftp:, or http: -- that host a CPAN mirror.<br \/>\n<br \/>\nYou should select more than one (just in case the first isn't available).<br \/>\n<br \/>\n(1) Africa<br \/>\n(2) Asia<br \/>\n(3) Europe<br \/>\n(4) North America<br \/>\n(5) Oceania<br \/>\n(6) South America<br \/>\nSelect your continent (or several nearby continents) [] 2<br \/>\n(1) China<br \/>\n(2) India<br \/>\n(3) Indonesia<br \/>\n(4) Iran<br \/>\n(5) Israel<br \/>\n(6) Japan<br \/>\n(7) Kazakhstan<br \/>\n(8) Pakistan<br \/>\n(9) Republic of Korea<br \/>\n(10) Russia<br \/>\n(11) Singapore<br \/>\n(12) Taiwan<br \/>\n(13) Thailand<br \/>\n(14) Turkey<br \/>\n(15) Viet Nam<br \/>\nSelect your country (or several nearby countries) [] 6<br \/>\n(1) ftp:\/\/ftp.jaist.ac.jp\/pub\/CPAN\/<br \/>\n(2) ftp:\/\/ftp.kddilabs.jp\/CPAN\/<br \/>\n(3) ftp:\/\/ftp.nara.wide.ad.jp\/pub\/CPAN\/<br \/>\n(4) ftp:\/\/ftp.riken.jp\/lang\/CPAN\/<br \/>\n(5) ftp:\/\/ftp.u-aizu.ac.jp\/pub\/CPAN\/<br \/>\n(6) ftp:\/\/ftp.yz.yamagata-u.ac.jp\/pub\/lang\/cpan\/<br \/>\n(7) ftp:\/\/mirror.jre655.com\/CPAN\/<br \/>\n(8) ftp:\/\/mirrors.go-parts.com\/cpan\/<br \/>\n(9) http:\/\/ftp.jaist.ac.jp\/pub\/CPAN\/<br \/>\n(10) http:\/\/ftp.nara.wide.ad.jp\/pub\/CPAN\/<br \/>\n(11) http:\/\/ftp.riken.jp\/lang\/CPAN\/<br \/>\n(12) http:\/\/ftp.yz.yamagata-u.ac.jp\/pub\/lang\/cpan\/<br \/>\n(13) http:\/\/mirror.jre655.com\/CPAN\/<br \/>\n(14) http:\/\/mirrors.go-parts.com\/cpan\/<br \/>\nSelect as many URLs as you like (by number),<br \/>\nput them on one line, separated by blanks, hyphenated ranges allowed<br \/>\n e.g. '1 4 5' or '7 1-4 8' [] 4<br \/>\nNow you can enter your own CPAN URLs by hand. A local CPAN mirror can be<br \/>\nlisted using a 'file:' URL like 'file:\/\/\/path\/to\/cpan\/'<br \/>\n<br \/>\nEnter another URL or ENTER to quit: []<br \/>\nNew urllist<br \/>\n  ftp:\/\/ftp.riken.jp\/lang\/CPAN\/<br \/>\n<br \/>\nAutoconfiguration complete.<br \/>\n<br \/>\ncommit: wrote '\/root\/.cpan\/CPAN\/MyConfig.pm'<br \/>\n<br \/>\nYou can re-run configuration any time with 'o conf init' in the CPAN shell<br \/>\nTerminal does not support AddHistory.<br \/>\n<br \/>\ncpan shell -- CPAN exploration and modules installation (v1.9800)<br \/>\nEnter 'h' for help.<br \/>\n<br \/>\ncpan[1]> install Geo::IPfree<br \/>\n\uff08\u4e2d\u7565\uff09<br \/>\ncpan[2]> quit\n<\/div>\n<p><\/p>\n<p>Geo::IPfree\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308c\u3070\u3044\u3044\u306e\u3067\u3001\u3082\u3057\u30a2\u30af\u30bb\u30b9\u5143\u306e\u540d\u524d\u89e3\u6c7a\u3092\u884c\u308f\u306a\u3051\u308c\u3070\u4e0a\u8a18\u306e\u624b\u9806\u306f\u4e0d\u8981\u304b\u3082\uff1f \u305d\u306e\u4ee3\u308f\u308a\u3001\u30a2\u30af\u30bb\u30b9\u5143\u304cIP\u30a2\u30c9\u30ec\u30b9\u3067\u8a18\u9332\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3057\u3087\u3046\u304c\u2026\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f90\u3005\u306b\u4ee5\u524d\u306e\u74b0\u5883\u306b\u623b\u3057\u3066\u306f\u3044\u307e\u3059\u304c\u3001\u3059\u3093\u306a\u308a\u3068\u306f\u3044\u304d\u307e\u305b\u3093\u306d\u3047\u3002AWStats\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3057\u3066\u4e0d\u5177\u5408\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u4ee5\u4e0b\u7c21\u6613\u30e1\u30e2\u3002 # wget http:\/\/prdownloads.sourceforge [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"vkexunit_cta_each_option":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[112,3],"tags":[90,28,33],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9iVw6-2I","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/168"}],"collection":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}