{"id":249,"date":"2026-04-06T12:22:55","date_gmt":"2026-04-06T03:22:55","guid":{"rendered":"https:\/\/falcon21.space\/kazuya\/work\/?page_id=249"},"modified":"2026-04-06T12:22:55","modified_gmt":"2026-04-06T03:22:55","slug":"almalinux10%e3%81%abapache%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%83%ad%e3%82%b0%e8%a7%a3%e6%9e%90awstats%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e8%a8%ad%e5%ae%9a","status":"publish","type":"page","link":"https:\/\/falcon21.space\/kazuya\/work\/?page_id=249","title":{"rendered":"AlmaLinux10\u306bApache\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u89e3\u6790(AWStats)\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u8a2d\u5b9a"},"content":{"rendered":"\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><br><br><strong>AWStats\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/strong>\u3000<br>[root@falcon21 ~]#<strong>\u00a0wget http:\/\/prdownloads.sourceforge.net\/awstats\/awstats-8.0-1.noarch.rpm<br><\/strong>2025-11-13 08:45:05 (2.15 MB\/s) &#8211; `awstats-8.0-1.noarch.rpm&#8217; \u3078\u4fdd\u5b58\u5b8c\u4e86 [2988164\/2988164]<br><br><strong>\u3000\u3000\u3000\u3000\u203b\u6700\u65b0\u7248\u306eURL\u306f<a href=\"http:\/\/www.awstats.org\/#DOWNLOAD\" target=\"_blank\" rel=\"noreferrer noopener\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u3067\u78ba\u8a8d<\/strong>\u3000<br>\u3000\u3000\u3000\u3000\u3000<strong>2025-08-26 16:20<\/strong>\u3000\u3000<strong>awstats-8.0-1.noarch.rpm<\/strong><br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br><strong>AWStats\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5fc5\u8981\u306aperl \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>perl -v<\/strong><br><br>This is perl 5, version 40, subversion 2 (<strong>v5.40.2<\/strong>) built for x86_64-linux-thread-multi<br>(with 16 registered patches, see perl -V for more detail)<br><br>Copyright 1987-2025, Larry Wall<br><br>Perl may be copied only under the terms of either the Artistic License or the<br>GNU General Public License, which may be found in the Perl 5 source kit.<br><br>Complete documentation for Perl, including FAQ lists, should be found on<br>this system using &#8220;man perl&#8221; or &#8220;perldoc perl&#8221;. If you have access to the<br>Internet, point your browser at https:\/\/www.perl.org\/, the Perl Home Page.<br><br><br>[root@falcon21 ~]#\u00a0<strong>perl -V<\/strong><br>Summary of my\u00a0<strong>perl5 (revision 5 version 40 subversion 2)<\/strong>\u00a0configuration:<br><br>Locally applied patches:<br><strong>Fedora<\/strong>\u00a0Patch1: Removes date check, Fedora\/RHEL specific<br>Fedora Patch2: support for libdir64<br>Fedora Patch3: use libresolv instead of libbind<br>Fedora Patch4: USE_MM_LD_RUN_PATH<br>Fedora Patch5: Provide MM::maybe_command independently (bug #1129443)<br>Fedora Patch6: Dont run one io test due to random builder failures<br>Fedora Patch8: Define SONAME for libperl.so<br>Fedora Patch9: Install libperl.so to -Dshrpdir value<br>Fedora Patch10: Make *DBM_File desctructors thread-safe (RT#61912)<br>Fedora Patch11: Replace EU::MakeMaker dependency with EU::MM::Utils in IPC::Cmd (bug #1129443)<br>Fedora Patch12: Link XS modules to pthread library to fix linking with -z defs<br>Fedora Patch13: Pass the correct CFLAGS to dtrace<br>Fedora Patch14: Fix CVE-2025-40909<br>Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux<br>Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux<br>Fedora Patch202: Add definition of OPTIMIZE to .ph files<br>Built under linux<br>Compiled at Jul 10 2025 00:00:00<br>@INC:<br>\/usr\/local\/lib64\/perl5\/5.40<br>\/usr\/local\/share\/perl5\/5.40<br>\/usr\/lib64\/perl5\/vendor_perl<br>\/usr\/share\/perl5\/vendor_perl<br>\/usr\/lib64\/perl5<br>\/usr\/share\/perl5<br><br>&#8212;&#8212;&#8212;&#8212;&#8212;-<br><br><strong>Validate::IP\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>perl -MCPAN -e shell<\/strong><br><br>CPAN.pm requires configuration, but most of it can be done automatically.<br>If you answer &#8216;no&#8217; below, you will enter an interactive dialog for each<br>configuration option instead.<br><br>Would you like to configure as much as possible automatically? [yes]<br><br>CPAN.pm \u306f\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u306f\u81ea\u52d5\u3067\u884c\u3048\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u8cea\u554f\u3067\u300c\u3044\u3044\u3048\u300d\u3068\u7b54\u3048\u308b\u3068\u3001\u4ee3\u308f\u308a\u306b\u5404\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3054\u3068\u306b\u5bfe\u8a71\u578b\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br><br>\u53ef\u80fd\u306a\u9650\u308a\u81ea\u52d5\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f<strong>[\u306f\u3044]<\/strong><br><br>We initialized your &#8216;urllist&#8217; to https:\/\/cpan.org\/. Type &#8216;o conf init urllist&#8217; to change it.<br><br>Autoconfiguration complete.<br><br>commit: wrote &#8216;\/root\/.local\/share\/.cpan\/CPAN\/MyConfig.pm&#8217;<br><br>You can re-run configuration any time with &#8216;o conf init&#8217; in the CPAN shell<br>Terminal does not support AddHistory.<br><br>To fix that, maybe try> install Term::ReadLine::Perl<br><br><br>cpan shell &#8212; CPAN exploration and modules installation (v2.36)<br>Enter &#8216;h&#8217; for help.<br><br>&#8216;urllist&#8217; \u3092 https:\/\/cpan.org\/ \u306b\u521d\u671f\u5316\u3057\u307e\u3057\u305f\u3002\u5909\u66f4\u3059\u308b\u306b\u306f &#8216;o conf init urllist&#8217; \u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><br>\u81ea\u52d5\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<br><br>\u30b3\u30df\u30c3\u30c8: &#8216;<strong>\/root\/.local\/share\/.cpan\/CPAN\/MyConfig.pm&#8217; \u3092\u66f8\u304d\u8fbc\u307f\u307e\u3057\u305f<\/strong>\u3002<br><br>CPAN \u30b7\u30a7\u30eb\u3067\u306f\u3001\u3044\u3064\u3067\u3082 &#8216;o conf init&#8217; \u3067\u8a2d\u5b9a\u3092\u518d\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<br>\u30bf\u30fc\u30df\u30ca\u30eb\u306f AddHistory \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002<br><br>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001\u6b21\u3092\u8a66\u3057\u3066\u304f\u3060\u3055\u3044:<strong>\u00a0install Term::ReadLine::Perl<\/strong><br><br>cpan shell &#8212; CPAN \u306e\u63a2\u7d22\u3068\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (v2.36)<br>\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3059\u308b\u306b\u306f &#8216;h&#8217; \u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><br>cpan[1]>\u00a0<strong>install Term::ReadLine::Perl<\/strong><br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/authors\/01mailrc.txt.gz<br>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/authors\/01mailrc.txt.gz&#8217;<br>&#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;.DONE<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/modules\/02packages.details.txt.gz<br>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/modules\/02packages.details.txt.gz&#8217;<br>Database was generated on Wed, 21 Jan 2026 16:41:01 GMT<br>&#8230;&#8230;&#8230;&#8230;..<br>New CPAN.pm version (v2.38) available.<br>[Currently running version is v2.36]<br>You might want to try<br>install CPAN<br>reload cpan<br>to both upgrade CPAN.pm and run the new version without leaving<br>the current session.<br><br><br>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..DONE<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/modules\/03modlist.data.gz<br>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/modules\/03modlist.data.gz&#8217;<br>DONE<br>Writing \/root\/.local\/share\/.cpan\/Metadata<br>Running install for module &#8216;Term::ReadLine::Perl&#8217;<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/authors\/id\/I\/IL\/ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/authors\/id\/I\/IL\/ILYAZ\/modules\/CHECKSUMS<br>Checksum for \/root\/.local\/share\/.cpan\/sources\/authors\/id\/I\/IL\/ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz ok<br>Scanning cache \/root\/.local\/share\/.cpan\/build for sizes<br>DONE<br>Configuring I\/IL\/ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz with Makefile.PL<br>Checking if your kit is complete&#8230;<br>Looks good<br>Warning: LINKTYPE set to &#8221;, no longer necessary<br>Generating a Unix-style Makefile<br>Writing Makefile for Term::ReadLine<br>Writing MYMETA.yml and MYMETA.json<br>ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>\/usr\/bin\/perl Makefile.PL &#8212; OK<br>Running make for I\/IL\/ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>cp ReadLine\/readline.pm blib\/lib\/Term\/ReadLine\/readline.pm<br>cp ReadLine\/Perl.pm blib\/lib\/Term\/ReadLine\/Perl.pm<br>ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>\/usr\/bin\/make &#8212; OK<br>Running make test for ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>PERL_DL_NONLAZY=1 &#8220;\/usr\/bin\/perl&#8221; &#8220;-Iblib\/lib&#8221; &#8220;-Iblib\/arch&#8221; test.pl<br>Use of uninitialized value $ENV{&#8220;PERL_RL_TEST_PROMPT_MINLEN&#8221;} in bitwise or (|) at test.pl line 33.<br>at test.pl line 33.<br>Features present: attribs 1 newTTY 1 autohistory 1 tkRunning 1 preput 1 addHistory 1 appname 1 minline 1 setHistory 1 getHistory 1 ornaments 1<br><br>Flipping rl_default_selected each line.<br><br>Hint: Entering the word<br>exit<br>would exit the test. \ud83d\ude09 (If feature &#8216;preput&#8217; is present,<br>this word should be already entered.)<br><br>Enter arithmetic or Perl expression:\u00a0<strong>exit<\/strong><br>Terminal does not support GetHistory.<br>Lockfile removed.<br>ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>\/usr\/bin\/make test &#8212; OK<br>Running make install for ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>Installing \/usr\/local\/share\/perl5\/5.40\/Term\/ReadLine\/readline.pm<br>Installing \/usr\/local\/share\/perl5\/5.40\/Term\/ReadLine\/Perl.pm<br>Appending installation info to \/usr\/lib64\/perl5\/perllocal.pod<br>ILYAZ\/modules\/Term-ReadLine-Perl-1.0303.tar.gz<br>\/usr\/bin\/make install &#8212; OK<br><br>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br>21 subroutines in Term::ReadLine redefined<br><strong>Term::ReadLine \u306e\u30b5\u30d6\u30eb\u30fc\u30c1\u30f3\u304c\u518d\u5b9a\u7fa9\u3055\u308c\u307e\u3057\u305f<\/strong><br><br>cpan shell &#8212; CPAN exploration and modules installation (v2.36)<br>Enter &#8216;h&#8217; for help.<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000<strong>Validate::IP\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong>\u3000<br><strong>cpan[1]><\/strong>\u00a0<strong>install Data::Validate::IP<\/strong><br>Data::Validate::IP is up to date (0.31).<br><strong>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000JSON::XS\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong>\u3000\u3000\u3000\u3000\u3000<br><strong>cpan[2]>install JSON::XS<\/strong><br>JSON::XS is up to date (4.04).<br><br>cpan[4]>\u00a0<strong>exit<\/strong><br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br><br>[root@falcon21 ~]#\u00a0<strong>yum -y localinstall awstats-8.0-1.noarch.rpm<\/strong><br>scriptlet\u306e\u5b9f\u884c\u4e2d: awstats-8.0-1.noarch 6\/6<br><br>&#8212;&#8211; AWStats 8.0 &#8211; Laurent Destailleur &#8212;&#8211;<br><strong>AWStats files have been installed in\u00a0<\/strong><strong>\/usr\/local\/awstats<br><\/strong><br>If first install, follow instructions in documentation<br>(\/usr\/local\/awstats\/docs\/index.html) to setup AWStats in 3 steps:<br>Step 1 : Install and Setup with awstats_configure.pl (or manually)<br>Step 2 : Build\/Update Statistics with awstats.pl<br>Step 3 : Read Statistics<br><br><br><br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f:<br>awstats-8.0-1.noarch perl-Data-Validate-IP-0.31-6.el10_0.noarch<br>perl-JSON-XS-1:4.04-1.el10_0.x86_64 perl-NetAddr-IP-4.079-30.el10_0.x86_64<br>perl-Types-Serialiser-1.01-14.el10.noarch perl-common-sense-3.7.5-20.el10.x86_64<br><br>\u5b8c\u4e86\u3057\u307e\u3057\u305f!<br><br><br>\u53c8\u306f<br>[root@falcon21 ~]#\u00a0<strong>rpm -ivh awstats-8.0-1.noarch.rpm<\/strong><br><br>root@falcon21:~#\u00a0<strong>rpm -i &#8211;replacepkgs awstats-8.0-1.noarch.rpm<\/strong><br><br>&#8212;&#8211; AWStats 8.0 &#8211; Laurent Destailleur &#8212;&#8211;<br><strong>AWStats files have been installed in \/usr\/local\/awstats<\/strong><br><br>If first install, follow instructions in documentation<br>(\/usr\/local\/awstats\/docs\/index.html) to setup AWStats in 3 steps:<br>Step 1 : Install and Setup with awstats_configure.pl (or manually)<br>Step 2 : Build\/Update Statistics with awstats.pl<br>Step 3 : Read Statistics<br>&#8212;&#8212;&#8212;&#8212;&#8212;-<br><br><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u78ba\u8a8d<\/strong><br>[root@falcon21 ~]#<strong>\u00a0ll \/usr\/local\/awstats\/<\/strong><br>\u5408\u8a08 16<br>-r&#8211;r&#8211;r&#8211; 1 root root 7041 8\u6708 26 20:26 README.md<br>drwxr-xr-x 3 root root 4096 1\u6708 24 14:16 docs<br>drwxr-xr-x 4 root root 4096 1\u6708 24 14:16 tools<br>drwxr-xr-x 7 root root 69 1\u6708 24 14:16\u00a0<strong>wwwroot<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>ll \/usr\/local\/awstats\/wwwroot<\/strong><br>\u5408\u8a08 0<br>drwxr-xr-x 5 root root 80 1\u6708 24 14:16\u00a0<strong>cgi-bin<\/strong><br>drwxr-xr-x 3 root root 42 1\u6708 24 14:16 classes<br>drwxr-xr-x 2 root root 55 1\u6708 24 14:16 css<br>drwxr-xr-x 9 root root 93 1\u6708 24 14:16 icon<br>drwxr-xr-x 2 root root 37 1\u6708 24 14:16 js<br><br>[root@falcon21 ~]#<strong>\u00a0ll \/usr\/local\/awstats\/wwwroot\/cgi-bin<\/strong><br>\u5408\u8a08 720<br>-rwxr-xr-x 1 root root 8659 8\u6708 26 20:26 awredir.pl<br>-rwxr-xr-x 1 root root 711483 8\u6708 26 20:26\u00a0<strong>awstats.pl<\/strong><br>drwxr-xr-x 5 root root 4096 1\u6708 24 14:16 lang<br>drwxr-xr-x 2 root root 4096 1\u6708 24 14:16 lib<br>drwxr-xr-x 3 root root 4096 1\u6708 24 14:16 plugins<br><br><br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000<strong>AWStats\u8a2d\u5b9a\u3084\u308a\u76f4\u3057<\/strong><br><strong>Apache\u7528AWStats\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u521d\u671f\u5316<\/strong><br>[root@falcon21 ~]#\u00a0<strong>rm -f \/etc\/httpd\/conf.d\/awstats.conf ; touch \/etc\/httpd\/conf.d\/awstats.conf<\/strong>\u3000<br><br><br><strong>AWStats\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u79fb\u52d5<\/strong><br>[root@falcon21 ~]#\u00a0<strong>cd \/usr\/local\/awstats\/<\/strong>\u3000<br><br>\u3000<strong>AWStats\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/strong><br><br>[root@falcon21 awstats]#\u00a0<strong>perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;`<\/strong>\u3000<br><br>root@falcon21:\/usr\/local\/awstats# perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;`<br><br>&#8212;&#8211; AWStats awstats_configure 1.0 (build 20140126) (c) Laurent Destailleur &#8212;&#8211;<br>This tool will help you to configure AWStats to analyze statistics for<br>one web server. You can try to use it to let it do all that is possible<br>in AWStats setup, however following the step by step manual setup<br>documentation (docs\/index.html) is often a better idea. Above all if:<br>&#8211; You are not an administrator user,<br>&#8211; You want to analyze downloaded log files without web server,<br>&#8211; You want to analyze mail or ftp log files instead of web log files,<br>&#8211; You need to analyze load balanced servers log files,<br>&#8211; You want to &#8216;understand&#8217; all possible ways to use AWStats&#8230;<br>Read the AWStats documentation (docs\/index.html).<br><br>&#8212;&#8211;> Running OS detected: Linux, BSD or Unix<br><br>&#8212;&#8211;> Check for web server install<br><br>Enter full config file path of your Web server.<br>Example: \/etc\/httpd\/httpd.conf<br>Example: \/usr\/local\/apache2\/conf\/httpd.conf<br>Example: c:\\Program files\\apache group\\apache\\conf\\httpd.conf<br>Config file path (&#8216;none&#8217; to skip web server setup):<br>> \/etc\/httpd\/conf.d\/awstats.conf<br>&#8211; This file does not exists.<br>Config file path (&#8216;none&#8217; to skip web server setup):<br>> \/etc\/httpd\/httpd.conf<br>&#8211; This file does not exists.<br>Config file path (&#8216;none&#8217; to skip web server setup):<br>> none<br><br>Your web server config file(s) could not be found.<br>You will need to setup your web server manually to declare AWStats<br>script as a CGI, if you want to build reports dynamically.<br>See AWStats setup documentation (file docs\/index.html)<br><br>&#8212;&#8211;> Need to create a new config file ?<br>Do you want me to build a new AWStats config\/profile<br>file (required if first install) [y\/N] ? y<br><br>&#8212;&#8211;> Define config file name to create<br>What is the name of your web site or profile analysis ?<br>Example: www.mysite.com<br>Example: demo<br>Your web site, virtual server or profile name:<br>> falcon21.space<br><br>&#8212;&#8211;> Define config file path<br>In which directory do you plan to store your config file(s) ?<br>Default: \/etc\/awstats<br>Directory path to store config file(s) (Enter for default):<br>><br><br>A SIMPLE config file has been created: \/etc\/awstats\/awstats.falcon21.space.conf<br>You should have a look inside to check and change manually main parameters.<br>You can then manually update your statistics for &#8216;falcon21.space&#8217; with command:<br>> perl awstats.pl -update -config=falcon21.space<br>You can also build static report pages for &#8216;falcon21.space&#8217; with command:<br>> perl awstats.pl -output=pagetype -config=falcon21.space<br><br>Press ENTER to finish&#8230;<br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br><br>root@falcon21:\/usr\/local\/awstats#\u00a0<strong>perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;`<\/strong><br><br>&#8212;&#8211; AWStats awstats_configure 1.0 (build 20140126) (c) Laurent Destailleur &#8212;&#8211;<br>\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001AWStats \u3092\u8a2d\u5b9a\u3057\u3066\u5358\u4e00\u306e Web \u30b5\u30fc\u30d0\u30fc\u306e\u7d71\u8a08\u60c5\u5831\u3092\u5206\u6790\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<br>AWStats \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u53ef\u80fd\u306a\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3092\u3053\u306e\u30c4\u30fc\u30eb\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u591a\u304f\u306e\u5834\u5408\u3001<br><strong>\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u306e\u624b\u52d5\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 (docs\/index.html) \u306b\u5f93\u3046\u65b9\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/strong><br><br><br>\u7279\u306b\u4ee5\u4e0b\u306e\u5834\u5408\u306f\u3001AWStats \u3092\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br>&#8211; \u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u305f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u306e\u5834\u5408<br>&#8211; Web \u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u305b\u305a\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u6790\u3059\u308b\u5834\u5408<br>&#8211; Web \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u306a\u304f\u3001\u30e1\u30fc\u30eb\u307e\u305f\u306f FTP \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u6790\u3059\u308b\u5834\u5408<br>&#8211; \u8ca0\u8377\u5206\u6563\u30b5\u30fc\u30d0\u30fc\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u6790\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408<br>&#8211; AWStats \u306e\u3042\u3089\u3086\u308b\u4f7f\u7528\u65b9\u6cd5\u3092\u300c\u7406\u89e3\u300d\u3057\u305f\u3044\u5834\u5408\u2026<br>AWStats \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 (docs\/index.html) \u3092\u304a\u8aad\u307f\u304f\u3060\u3055\u3044\u3002<br><br>&#8212;&#8211;>\u00a0<strong>\u5b9f\u884c OS \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: Linux<\/strong>\u3001BSD\u3001\u307e\u305f\u306f Unix<br><br>&#8212;&#8211;> Web \u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u72b6\u6cc1\u3092\u78ba\u8a8d<br><br><strong>Web \u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><br>\u4f8b: \/etc\/httpd\/httpd.conf<br>\u4f8b: \/usr\/local\/apache2\/conf\/httpd.conf<br>\u4f8b: c:\\Program files\\apache group\\apache\\conf\\httpd.conf<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9 (Web \u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u5834\u5408\u306f\u300cnone\u300d):<br>>\u00a0<strong>\/etc\/httpd\/conf\/httpd.conf<\/strong><br><br><br>Web\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002<br>\u30ec\u30dd\u30fc\u30c8\u3092\u52d5\u7684\u306b\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u306f\u3001AWStats\u30b9\u30af\u30ea\u30d7\u30c8\u3092CGI\u3068\u3057\u3066\u5ba3\u8a00\u3059\u308b\u3088\u3046\u306bWeb\u30b5\u30fc\u30d0\u30fc\u3092\u624b\u52d5\u3067\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>AWStats\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff08\u30d5\u30a1\u30a4\u30eb docs\/index.html\uff09\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><br>&#8212;&#8211;>\u00a0<strong>\u65b0\u3057\u3044\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b\uff1f<\/strong><br><strong>AWStats\u306e\u65b0\u3057\u3044\u8a2d\u5b9a\/\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u304b\uff1f\uff08\u521d\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5834\u5408\u306f\u5fc5\u9808\uff09<\/strong>[y\/N] ?<strong>\u00a0y<\/strong><br><br>&#8212;&#8211;><strong>\u00a0\u4f5c\u6210\u3059\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044<br>Web\u30b5\u30a4\u30c8\u307e\u305f\u306f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u5206\u6790\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f<\/strong><br>\u4f8b: www.mysite.com<br>\u4f8b: \u30c7\u30e2<br>Web \u30b5\u30a4\u30c8\u3001\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u3001\u307e\u305f\u306f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u540d:<br>>\u00a0<strong>falcon21.space<\/strong><br><br>&#8211;><strong>\u00a0\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u5b9a\u7fa9\u3059\u308b<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3059\u308b\u4e88\u5b9a\u3067\u3059\u304b?<br>\u30c7\u30d5\u30a9\u30eb\u30c8: \/etc\/awstats<\/strong><br><strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea \u30d1\u30b9 (\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u5408\u306f Enter):<\/strong><br>><strong>Enter<\/strong><br><br>&#8212;&#8211;>\u00a0<strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb &#8216;\/etc\/awstats\/awstats.falcon21.space.conf&#8217; \u3092\u4f5c\u6210\u3057\u307e\u3059<\/strong><br><strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb \/etc\/awstats\/awstats.falcon21.space.conf \u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<br><\/strong><br>&#8212;&#8211;> \u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u5185\u306b\u66f4\u65b0\u30d7\u30ed\u30bb\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059<br>\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u304c\u3001<strong>configure.pl \u306f\u307e\u3060 cron \u3078\u306e\u81ea\u52d5\u8ffd\u52a0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><br><strong>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092 cron \u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u624b\u52d5\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059:<\/strong><br><s><strong>\/root\/<\/strong><\/s><strong>wwwroot\/cgi-bin\/awstats.pl -update -config=falcon21.space<\/strong><br><br><br>\u518d\u8a2d\u5b9a\u6642<br>You can then manually update your statistics for &#8216;falcon21.space&#8217; with command:<br>> perl awstats.pl -update -config=falcon21.space<br>You can also read your statistics for &#8216;falcon21.space&#8217; with URL:<br>> http:\/\/localhost\/awstats\/awstats.pl?config=falcon21.space<br><br><br>\u307e\u305f\u306f\u3001\u8907\u6570\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u30011 \u3064\u306e\u30b3\u30de\u30f3\u30c9\u306e\u307f\u3067\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044:<br><strong><s>\/root\/<\/s>tools\/awstats_updateall.pl<\/strong><br><br><br>NTER \u30ad\u30fc\u3092\u62bc\u3057\u3066\u7d9a\u884c\u3057\u3066\u304f\u3060\u3055\u3044&#8230;<br><br><strong>\u30b7\u30f3\u30d7\u30eb\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb \/etc\/awstats\/awstats.falcon21.space.conf \u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<\/strong><br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u4e3b\u8981\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u624b\u52d5\u3067\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><strong>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u300cfalcon21.space\u300d\u306e\u7d71\u8a08\u60c5\u5831\u3092\u624b\u52d5\u3067\u66f4\u65b0<\/strong>\u3067\u304d\u307e\u3059\u3002<br>><strong>\u00a0perl awstats.pl -update -config=falcon21.space<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -update -config=falcon21.space<\/strong><br><br><br><br><strong>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u300cfalcon21.space\u300d\u306e\u9759\u7684\u30ec\u30dd\u30fc\u30c8\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/strong><br>>\u00a0<strong>perl awstats.pl -output=pagetype -config=falcon21.space<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -output=pagetype -config=falcon21.space<\/strong><br><br><br>[root@falcon21 ~]#\u00a0<strong>crontab -e<\/strong><br>00 02 * * * perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -update -config=falcon21.space<br>05 02 * * * perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -output=pagetype -config=falcon21.space<br><br><br><br>ENTER \u30ad\u30fc\u3092\u62bc\u3057\u3066\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><br><br><br><strong>W\u7dd1\u30e9\u30d9\u30eb\u30c7\u30a3\u30b9\u30af\u306e\u5834\u5408<\/strong><br>[root@falcon21 awstats]# perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;<br>> ^C<br>[root@falcon21 awstats]# perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;&#8216;<br>> ^C<br>[root@falcon21 awstats]# perl `rpm -ql awstats|grep &#8220;awstats_configure\\.pl&#8221;`<br><br>&#8212;&#8211; AWStats awstats_configure 1.0 (build 20140126) (c) Laurent Destailleur &#8212;&#8211;<br>This tool will help you to configure AWStats to analyze statistics for<br>one web server. You can try to use it to let it do all that is possible<br>in AWStats setup, however following the step by step manual setup<br>documentation (docs\/index.html) is often a better idea. Above all if:<br>&#8211; You are not an administrator user,<br>&#8211; You want to analyze downloaded log files without web server,<br>&#8211; You want to analyze mail or ftp log files instead of web log files,<br>&#8211; You need to analyze load balanced servers log files,<br>&#8211; You want to &#8216;understand&#8217; all possible ways to use AWStats&#8230;<br>Read the AWStats documentation (docs\/index.html).<br><br>&#8212;&#8211;> Running OS detected: Linux, BSD or Unix<br><br>&#8212;&#8211;> Check for web server install<br><br>Enter full config file path of your Web server.<br>Example: \/etc\/httpd\/httpd.conf<br>Example: \/usr\/local\/apache2\/conf\/httpd.conf<br>Example: c:\\Program files\\apache group\\apache\\conf\\httpd.conf<br>Config file path (&#8216;none&#8217; to skip web server setup):<br>><strong>\u00a0\/etc\/httpd\/conf\/httpd.conf<\/strong><br><br>&#8212;&#8211;> Check and complete web server config file &#8216;\/etc\/httpd\/conf\/httpd.conf&#8217;<br>All AWStats directives are already present.<br><br>&#8212;&#8211;> Update model config file &#8216;\/etc\/awstats\/awstats.model.conf&#8217;<br>File awstats.model.conf updated.<br><br>&#8212;&#8211;> Need to create a new config file ?<br>Do you want me to build a new AWStats config\/profile<br>file (required if first install) [y\/N] ?<strong>\u00a0y<\/strong><br><br>&#8212;&#8211;> Define config file name to create<br>What is the name of your web site or profile analysis ?<br>Example: www.mysite.com<br>Example: demo<br>Your web site, virtual server or profile name:<br>><strong>\u00a0falcon21.space<\/strong><br><br>&#8212;&#8211;> Define config file path<br>In which directory do you plan to store your config file(s) ?<br>Default: \/etc\/awstats<br>Directory path to store config file(s) (Enter for default):<br>><br>Warning: A config file for this name already exists.\u00a0Choose another one.\u3000<br>\u3000\u3000\u3000\u3000\uff0a\uff0a\uff0a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u305f\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a \u5225\u540d\u3067\u4f5c\u6210:\uff0a\uff0a\uff0a<br>Your web site, virtual server or profile name:<br>><strong>\u00a0falcon21<\/strong><br><br>&#8212;&#8211;> Define config file path<br>In which directory do you plan to store your config file(s) ?<br>Default: \/etc\/awstats<br>Directory path to store config file(s) (Enter for default):<br>><strong>Enter<\/strong><br><br>&#8212;&#8211;> Create config file &#8216;\/etc\/awstats\/awstats.falcon21.conf&#8217;<br>Config file \/etc\/awstats\/awstats.falcon21.conf created.<br><br>&#8212;&#8211;> Add update process inside a scheduler<br>Sorry, configure.pl does not support automatic add to cron yet.<br>You can do it manually by adding the following command to your cron:<br><strong>\/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -update -config=falcon21<\/strong><br>Or if you have several config files and prefer having only one command:<br>\/usr\/local\/awstats\/tools\/awstats_updateall.pl now<br>Press ENTER to continue&#8230;<br><strong>Enter<\/strong><br><br><strong>A SIMPLE config file has been created: \/etc\/awstats\/awstats.falcon21.conf<\/strong><br>You should have a look inside to check and change manually main parameters.<br>You can then manually update your statistics for &#8216;falcon21&#8217; with command:<br>>\u00a0<strong>perl awstats.pl -update -config=falcon21<\/strong><br>You can also read your statistics for &#8216;falcon21&#8217; with URL:<br>>\u00a0<strong>http:\/\/localhost\/awstats\/awstats.pl?config=falcon21<\/strong><br><br>Press ENTER to finish&#8230;<br><br>&#8212;&#8212;&#8212;<br><br>[root@falcon21 ~]#<strong>\u00a0ll \/etc\/awstats<\/strong><br>\u5408\u8a08 256<br>-rw-r&#8211;r&#8211; 1 root root 64663 2\u6708 1 17:53\u00a0<strong>awstats.falcon21.conf<\/strong><br>-rw-r&#8211;r&#8211;. 1 root root 64784 1\u6708 22 12:07 awstats.falcon21.space.conf<br>-rw-r&#8211;r&#8211; 1 root root 64655 2\u6708 1 17:51 awstats.model.conf<br>-rw-r&#8211;r&#8211;. 1 root root 64655 1\u6708 24 14:26 awstats.model.conf.rpmorig<br><br><strong><br>\u78ba\u8a8d<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>ll \/etc\/awstats<\/strong><br>\u5408\u8a08 128<br>-rw-r&#8211;r&#8211; 1 root root 64781 1\u6708 26 00:39\u00a0<strong>awstats.falcon21.space.conf<\/strong><br>-rw-r&#8211;r&#8211; 1 root root 64647 1\u6708 26 00:01 awstat<br>s.model.conf<br><br><strong><br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30ebconfig file \u7de8\u96c6<\/strong><br><strong>\u3000\u3000\/etc\/awstats\/awstats.falcon21.space.conf<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>vi \/etc\/awstats\/awstats.falcon21.space.conf<\/strong><br><br>51 LogFile=&#8221;\/var\/log\/httpd\/access_log&#8221;<br><br>159 SiteDomain=&#8221;falcon21.space&#8221;<br><br>174 HostAliases=&#8221;falcon21.space 192.168.10.3 127.0.0.1 localhost&#8221;<br><br><br>192 # Default: 2<br>193 #<br>194 DNSLookup=2<br><br><br>225 DirData=&#8221;.&#8221;<br><br>338 SkipDNSLookupFor=&#8221;192.168.10.3 REGEX[^192\\.168\\.]&#8221;<br><br>487 SkipHosts=&#8221;127.0.0.1 localhost REGEX[^192\\.168\\.10\\.]&#8221;<br><br>1457 LoadPlugin=&#8221;geoipfree&#8221;<br><br>1626 UseHTTPSLinkForUrl=&#8221;\/&#8221;<br><br><br><br><strong>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u300cfalcon21.space\u300d\u306e\u7d71\u8a08\u60c5\u5831\u3092\u624b\u52d5\u3067\u66f4\u65b0<\/strong>\u3067\u304d\u307e\u3059\u3002<br>>\u00a0<strong>perl awstats.pl -update -config=falcon21.space<\/strong><br><br>root@falcon21:~#\u00a0<s><strong>perl awstats.pl -update -config=falcon21.space<\/strong><\/s><br>Can&#8217;t open perl script &#8220;awstats.pl&#8221;: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093<br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br><br><strong>\u7d71\u8a08\u60c5\u5831\u3092\u624b\u52d5\u3067\u66f4\u65b0<\/strong><br><br>root@falcon21:~#\u00a0<strong>perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -update -config=falcon21.space<\/strong><br><strong>Create\/Update database for config &#8220;\/etc\/awstats\/awstats.falcon21.space.conf&#8221; by AWStats version 8.0 (build 20240604)<br>From data in log file &#8220;\/var\/log\/httpd\/access_log&#8221;&#8230;<\/strong><br>Phase 1 : First bypass old records, searching new record&#8230;<br>Searching new records from beginning of log file&#8230;<br>Jumped lines in file: 0<br>Parsed lines in file: 0<br>Found 0 dropped records,<br>Found 0 comments,<br>Found 0 blank records,<br>Found 0 corrupted records,<br>Found 0 old records,<br>Found 0 new qualified records.<br><br><strong>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u300cfalcon21.space\u300d\u306e\u9759\u7684\u30ec\u30dd\u30fc\u30c8\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/strong><br>>\u00a0<strong>perl awstats.pl -output=pagetype -config=falcon21.space<\/strong><br><br><strong>\u300cfalcon21.space\u300d\u306e\u9759\u7684\u30ec\u30dd\u30fc\u30c8\u30da\u30fc\u30b8\u3092\u4f5c\u6210<\/strong><br><br>root@falcon21:~#\u00a0<strong>perl \/usr\/local\/awstats\/wwwroot\/cgi-bin\/awstats.pl -output=pagetype -config=falcon21.space<\/strong><br>&lt;!DOCTYPE html PUBLIC &#8220;-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN&#8221; &#8220;http:\/\/www.w3.org\/TR\/html4\/loose.dtd&#8221;><br>&lt;html lang=&#8221;en&#8221;><br>&lt;head><br>&lt;meta name=&#8221;generator&#8221; content=&#8221;AWStats 8.0 (build 20240604) from config file awstats.falcon21.space.conf (http:\/\/www.awstats.org)&#8221;><br>&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex,nofollow&#8221;><br>&lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text\/html; charset=utf-8&#8243;><br>&lt;meta http-equiv=&#8221;description&#8221; content=&#8221;Awstats &#8211; Advanced Web Statistics for falcon21.space (2026-01) &#8211; pagetype&#8221;><br>&lt;title>Statistics for falcon21.space (2026-01) &#8211; pagetype&lt;\/title><br>&lt;style type=&#8221;text\/css&#8221;><br>body { font: 1.2em verdana, arial, helvetica, sans-serif; background-color: #FFFFFF; margin-top: 0; margin-bottom: 0; }<br>.aws_bodyl { }<br>.aws_border { border-collapse: collapse; background-color: #CCCCDD; padding: 1px 1px 1px 1px; margin-top: 0px; margin-bottom: 0px; }<br>.aws_title { font: 1em verdana, arial, helvetica, sans-serif; font-weight: bold; background-color: #CCCCDD; text-align: center; margin-top: 0; margin-bottom: 0; padding: 5px; color: #000000; }<br>.aws_blank { font: 13px verdana, arial, helvetica, sans-serif; background-color: #FFFFFF; text-align: center; margin-bottom: 0; padding: 1px 1px 1px 1px; }<br>.aws_data {<br>background-color: #FFFFFF;<br>border-top-width: 1px;<br>border-left-width: 0px;<br>border-right-width: 0px;<br>border-bottom-width: 0px;<br>}<br>.aws_formfield { font: 13px verdana, arial, helvetica; }<br>.aws_button {<br>font-family: arial,verdana,helvetica, sans-serif;<br>font-size: 12px;<br>border: 1px solid #ccd7e0;<br>background-image : url(\/icon\/other\/button.gif);<br>}<br>th { border-color: #ECECEC; border-left-width: 0px; border-right-width: 1px; border-top-width: 0px; border-bottom-width: 1px; padding: 1px 2px 1px 1px; font: 11px verdana, arial, helvetica, sans-serif; text-align:center; color: #000000; }<br>th.aws { border-color: #ECECEC; border-left-width: 0px; border-right-width: 1px; border-top-width: 0px; border-bottom-width: 1px; padding: 1px 2px 1px 1px; font-size: 13px; font-weight: bold; }<br>td { border-color: #ECECEC; border-left-width: 0px; border-right-width: 1px; border-top-width: 0px; border-bottom-width: 1px; font: 0.9em verdana, arial, helvetica, sans-serif; text-align:center; color: #000000; }<br>td.aws { border-color: #ECECEC; border-left-width: 0px; border-right-width: 1px; border-top-width: 0px; border-bottom-width: 1px; text-align:left; color: #000000; padding: 6px;}<br>td.awsm { border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; font: 0.8em verdana, arial, helvetica, sans-serif; text-align:left; color: #000000; padding: 0px; }<br>b { font-weight: bold; }<br>a:link { color: #0011BB; text-decoration: none; }<br>a:visited { color: #0011BB; text-decoration: none; }<br>a:hover { color: #605040; text-decoration: underline; }<br>.aws_data th { font-size: 0.9em; padding: 5px; }<br>.currentday { font-weight: bold; }<br>&lt;\/style><br>&lt;\/head><br><br>&lt;body style=&#8221;margin-top: 0px&#8221;><br>&lt;a name=&#8221;top&#8221;>&lt;\/a><br><br><br><br>&lt;a name=&#8221;menu&#8221;>&amp;nbsp;&lt;\/a><br>&lt;form name=&#8221;FormDateFilter&#8221; action=&#8221;\/cgi-bin\/awstats.pl?output=pagetype&amp;amp;config=falcon21.space&#8221; style=&#8221;padding: 0px 0px 20px 0px; margin-top: 0&#8243;><br>&lt;table class=&#8221;aws_border&#8221; border=&#8221;0&#8243; cellpadding=&#8221;2&#8243; cellspacing=&#8221;0&#8243; width=&#8221;100%&#8221;><br>&lt;tr>&lt;td><br>&lt;table class=&#8221;aws_data sortable&#8221; border=&#8221;0&#8243; cellpadding=&#8221;1&#8243; cellspacing=&#8221;0&#8243; width=&#8221;100%&#8221;><br>&lt;tr>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221;>&lt;b>Statistics for:&lt;\/b>&amp;nbsp;&lt;\/td>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221;>&lt;span style=&#8221;font-size: 14px;&#8221;>falcon21.space&lt;\/span>&lt;\/td>&lt;td align=&#8221;right&#8221; rowspan=&#8221;3&#8243;>&lt;a href=&#8221;https:\/\/www.awstats.org&#8221; target=&#8221;awstatshome&#8221;>&lt;img src=&#8221;\/icon\/other\/awstats_logo6.png&#8221; border=&#8221;0&#8243; alt=&#8217;Awstats Web Site&#8217; title=&#8217;Awstats Web Site&#8217; \/>&lt;\/a>&lt;br \/>&lt;\/td>&lt;\/tr><br>&lt;tr valign=&#8221;middle&#8221;>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221; width=&#8221;150&#8243;>&lt;b>Last Update:&lt;\/b>&amp;nbsp;&lt;\/td>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221;>&lt;span style=&#8221;font-size: 12px;&#8221;>&lt;span style=&#8221;color: #880000&#8243;>Never updated (See &#8216;Build\/Update&#8217; on awstats_setup.html page)&lt;\/span>&lt;\/span>&lt;\/td>&lt;\/tr><br>&lt;tr>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221;>&lt;b>Reported period:&lt;\/b>&lt;\/td>&lt;td class=&#8221;aws&#8221; valign=&#8221;middle&#8221;>&lt;select class=&#8221;aws_formfield&#8221; name=&#8221;databasebreak&#8221;><br>&lt;option selected=&#8221;selected&#8221; value=&#8221;month&#8221;>Month&lt;\/option><br>&lt;option value=&#8221;day&#8221;>Day&lt;\/option><br>&lt;option value=&#8221;hour&#8221;>Hour&lt;\/option><br>&lt;\/select><br>&lt;select class=&#8221;aws_formfield&#8221; name=&#8221;month&#8221;><br>&lt;option selected=&#8221;selected&#8221; value=&#8221;01&#8243;>Jan&lt;\/option><br>&lt;option value=&#8221;02&#8243;>Feb&lt;\/option><br>&lt;option value=&#8221;03&#8243;>Mar&lt;\/option><br>&lt;option value=&#8221;04&#8243;>Apr&lt;\/option><br>&lt;option value=&#8221;05&#8243;>May&lt;\/option><br>&lt;option value=&#8221;06&#8243;>Jun&lt;\/option><br>&lt;option value=&#8221;07&#8243;>Jul&lt;\/option><br>&lt;option value=&#8221;08&#8243;>Aug&lt;\/option><br>&lt;option value=&#8221;09&#8243;>Sep&lt;\/option><br>&lt;option value=&#8221;10&#8243;>Oct&lt;\/option><br>&lt;option value=&#8221;11&#8243;>Nov&lt;\/option><br>&lt;option value=&#8221;12&#8243;>Dec&lt;\/option><br>&lt;option value=&#8221;all&#8221;>- Year -&lt;\/option><br>&lt;\/select><br>&lt;select class=&#8221;aws_formfield&#8221; name=&#8221;year&#8221;><br>&lt;option selected=&#8221;selected&#8221; value=&#8221;2026&#8243;>2026&lt;\/option><br>&lt;\/select><br>&lt;input type=&#8221;hidden&#8221; name=&#8221;output&#8221; value=&#8221;pagetype&#8221; \/><br>&lt;input type=&#8221;hidden&#8221; name=&#8221;config&#8221; value=&#8221;falcon21.space&#8221; \/><br>&lt;input type=&#8221;submit&#8221; value=&#8221; OK &#8221; class=&#8221;aws_button&#8221; \/>&lt;\/td>&lt;\/tr><br>&lt;\/table><br>&lt;\/td>&lt;\/tr>&lt;\/table><br>&lt;\/form>&lt;br \/><br><br>&lt;table><br>&lt;tr>&lt;td class=&#8221;aws&#8221;>&lt;a href=&#8221;javascript:parent.window.close();&#8221;>Close window&lt;\/a>&lt;\/td>&lt;\/tr><br>&lt;\/table><br><br>***********************************************************************<br><br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000<strong>Geo::IPfree\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br>\u3000\u3000\u3000\u3000\u3000\u3000&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br><br><strong>perl-CPAN\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br>[root@falcon21 ~]#\u00a0<strong>yum -y install perl-CPAN<\/strong><br>\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u671f\u9650\u5207\u308c\u306e\u6700\u7d42\u78ba\u8a8d: 0:58:25 \u524d\u306e 2025\u5e7411\u670813\u65e5 08\u664226\u520613\u79d2 \u306b\u5b9f\u65bd\u3057\u307e\u3057\u305f\u3002<br>\u30d1\u30c3\u30b1\u30fc\u30b8 perl-CPAN-2.36-514.el10_0.noarch \u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u4f9d\u5b58\u95a2\u4fc2\u304c\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<br>\u884c\u3046\u3079\u304d\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br>\u5b8c\u4e86\u3057\u307e\u3057\u305f!<br><br><br><strong>perl-CPAN\u8d77\u52d5<\/strong>\u3000\u3000\u3000Geo::IPfree\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br>[root@falcon21 ~]#\u00a0<strong>perl -MCPAN -e shell<\/strong>\u3000\u3000<br><br>CPAN.pm requires configuration, but most of it can be done automatically.<br>If you answer &#8216;no&#8217; below, you will enter an interactive dialog for each<br>configuration option instead.<br><br>Would you like to configure as much as possible automatically? [yes]\u3000\u2190\u3000\u7a7aENTER<br><br>Perl site library directory &#8220;\/usr\/local\/share\/perl5\/5.40&#8221; does not exist.<br>Perl site library directory &#8220;\/usr\/local\/share\/perl5\/5.40&#8221; created.<br>Perl site library directory &#8220;\/usr\/local\/lib64\/perl5\/5.40&#8221; does not exist.<br>Perl site library directory &#8220;\/usr\/local\/lib64\/perl5\/5.40&#8221; created.<br>We initialized your &#8216;urllist&#8217; to https:\/\/cpan.org\/. Type &#8216;o conf init urllist&#8217; to change it.<br><br>Autoconfiguration complete.<br><br>commit: wrote &#8216;\/root\/.local\/share\/.cpan\/CPAN\/MyConfig.pm&#8217;<br><br>You can re-run configuration any time with &#8216;o conf init&#8217; in the CPAN shell<br>Terminal does not support AddHistory.<br><br>To fix that, maybe try> install Term::ReadLine::Perl<br><br><br>cpan shell &#8212; CPAN exploration and modules installation (v2.36)<br>Enter &#8216;h&#8217; for help.<br><br>cpan[1]><strong>install Geo::IPfree<\/strong>\u3000\u2190\u3000Geo::IPfree\u30e2\u30b8\u30e5\u30fc\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br><br><strong>Reading &#8216;\/root\/.local\/share\/.cpan\/Metadata&#8217;<\/strong><br>Database was generated on Wed, 21 Jan 2026 16:41:01 GMT<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/authors\/01mailrc.txt.gz<br><strong>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/authors\/01mailrc.txt.gz&#8217;<\/strong><br>&#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;.DONE<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/modules\/02packages.details.txt.gz<br>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/modules\/02packages.details.txt.gz&#8217;<br>Database was generated on Sun, 25 Jan 2026 15:29:02 GMT<br>&#8230;&#8230;&#8230;&#8230;..<br>New CPAN.pm version (v2.38) available.<br>[Currently running version is v2.36]<br>You might want to try<br>install CPAN<br>reload cpan<br>to both upgrade CPAN.pm and run the new version without leaving<br>the current session.<br><br><br>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..DONE<br>Fetching with HTTP::Tiny:<br>https:\/\/cpan.org\/modules\/03modlist.data.gz<br>Reading &#8216;\/root\/.local\/share\/.cpan\/sources\/modules\/03modlist.data.gz&#8217;<br>DONE<br>Writing \/root\/.local\/share\/.cpan\/Metadata<br><strong>Geo::IPfree is up to date (1.160000).<\/strong><br><br>cpan[2]> quit<br>Lockfile removed.<br><br>cpan[2]><strong>\u00a0quit<\/strong>\u3000\u2190\u3000perl-CPAN\u7d42\u4e86<br><br>\u3000\u3000<strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210<\/strong>\u3000\u3000\u3000\u3000\u3000\u3000\u3000<br>\uff08\uff11\uff09AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u521d\u671f\u4f5c\u6210<br>Apache\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u904e\u53bb\u5206\u3082\u542b\u3081\u3066\u5168\u3066AWStats\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u53d6\u308a\u8fbc\u3080\u3000<br><strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u521d\u671f\u4f5c\u6210\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210<\/strong> [root@falcon21 ~]# <strong>vi awstatsinit.sh<\/strong> #!\/bin\/bash # \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210 mkdir -p `grep ^DirData \/etc\/awstats\/awstats.$1.conf | awk -F= &#8216;{print $2}&#8217;|tr -d \\&#8221;` # AWStats\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3088\u308aApache\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u540d\u53d6\u5f97 logfile=`grep ^LogFile \/etc\/awstats\/awstats.$1.conf|sed -e &#8216;s\/LogFile=&#8221;\\([^ ]*\\)&#8221;\/\\1\/p&#8217; -e d` # \u904e\u53bb\u30ed\u30b0\u3092\u53e4\u3044\u9806\u306b\u51e6\u7406 grep dateext \/etc\/logrotate.conf > \/dev\/null 2>&amp;1 if [ $? -eq 0 ]; then ls $logfile-* > \/dev\/null 2>&amp;1 if [ $? -eq 0 ]; then # \u904e\u53bb\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u65e5\u4ed8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408 for log in `ls $logfile-*|sort` do `rpm -ql awstats|grep &#8220;awstats\\.pl&#8221;` \\ -config=$1 -update -logfile=$log done fi else ls $logfile.* > \/dev\/null 2>&amp;1 if [ $? -eq 0 ]; then # \u904e\u53bb\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u901a\u756a\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408 for log in `ls $logfile.*|sort -r` do `rpm -ql awstats|grep &#8220;awstats\\.pl&#8221;` \\ -config=$1 -update -logfile=$log done fi fi # \u73fe\u5728\u30ed\u30b0\u51e6\u7406 for log in `ls $logfile|sort` do `rpm -ql awstats|grep &#8220;awstats\\.pl&#8221;` \\ -config=$1 -update -logfile=$log done<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br><br><strong>awstatsinit.sh\u306b\u5b9f\u884c\u6a29\u3092\u4ed8\u4e0e<\/strong><br><br>[root@falcon21 ~]#\u00a0<strong>chmod 700 awstatsinit.sh<\/strong><br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br><br><br><strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u521d\u671f\u4f5c\u6210\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/strong><br>[root@falcon21 ~]#\u00a0<strong>sh awstatsinit.sh falcon21.space<\/strong>\u3000<br>Create\/<strong>Update database for config &#8220;\/etc\/awstats\/awstats.falcon21.space.conf&#8221;<\/strong>\u00a0by AWStats version 8.0 (build 20240604)<br>From data in log file &#8220;\/var\/log\/httpd\/access_log-20260118&#8243;&#8230;<br>Phase 1 : First bypass old records, searching new record&#8230;<br>Direct access after last parsed record (after line 3)<br>Jumped lines in file: 3<br>Found 3 already parsed records.<br>Parsed lines in file: 0<br>Found 0 dropped records,<br>Found 0 comments,<br>Found 0 blank records,<br>Found 0 corrupted records,<br>Found 0 old records,<br>Found 0 new qualified records.<br>Create\/Update database for config &#8220;\/etc\/awstats\/awstats.falcon21.space.conf&#8221; by AWStats version 8.0 (build 20240604)<br>From data in log file &#8220;\/var\/log\/httpd\/access_log&#8221;&#8230;<br>Phase 1 : First bypass old records, searching new record&#8230;<br>Direct access to last remembered record is out of file.<br>So searching it from beginning of log file&#8230;<br>Jumped lines in file: 0<br>Parsed lines in file: 0<br>Found 0 dropped records,<br>Found 0 comments,<br>Found 0 blank records,<br>Found 0 corrupted records,<br>Found 0 old records,<br>Found 0 new qualified records.<br><br><br>&#8212;&#8212;&#8212;&#8212;&#8212;-<br><br><strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u521d\u671f\u4f5c\u6210\u30b9\u30af\u30ea\u30d7\u30c8\u524a\u9664<\/strong><br>[root@falcon21 ~]#\u00a0<strong>rm -f awstatsinit.sh<\/strong>\u3000\u3000<br><br>\u53c8\u306f<br>[root@falcon21 ~]#\u00a0<strong>mv awstatsinit.sh awstatsinit.sh.bk<\/strong><br><br><br><strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210<\/strong><br>[root@falcon21 ~]#\u00a0<strong>vi \/etc\/cron.daily\/awstats<\/strong>\u3000\u3000<br>#!\/bin\/bash<br>for conf in `ls \/etc\/awstats\/|grep -v\u00a0awstats.falcon21.space.conf`<br>do<br>site=`echo $conf|sed -e &#8216;s\/awstats\\.\\([^ ]*\\)\\.conf\/\\1\/p&#8217; -e d`<br>`rpm -ql awstats|grep &#8220;awstats\\.pl&#8221;` -config=$site -update > \/dev\/null<br>done<br><br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br><br><strong>AWStats\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u30b9\u30af\u30ea\u30d7\u30c8\u3078\u5b9f\u884c\u6a29\u9650\u4ed8\u52a0<\/strong><br>[root@falcon21 ~]#\u00a0<strong>chmod +x \/etc\/cron.daily\/awstats<\/strong>\u3000<br><br><br>\uff08\uff12\uff09<strong>Apache\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/strong>\u3000<br>Apache\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u5207\u66ff\u3048\u6642\u3001AWStats\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u53d6\u308a\u8fbc\u3093\u3067\u304b\u3089\u5207\u66ff\u3048\u3092\u884c\u3046\u3088\u3046\u306b\u3059\u308b<br><strong>Apache\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6<\/strong> [root@falcon21 ~]# <strong>vi \/etc\/logrotate.d\/httpd<\/strong> \u3000 \/var\/log\/httpd\/*log { missingok notifempty sharedscripts \uff0d\uff0d\uff0d\uff0d\u8ffd\u52a0(\u3053\u3053\u304b\u3089)\uff0d\uff0d\uff0d\uff0d prerotate `rpm -ql awstats|grep &#8220;awstats_updateall\\.pl&#8221;` now -confdir=&#8221;\/etc\/awstats&#8221; \\ -awstatsprog=&#8221;`rpm -ql awstats|grep &#8220;awstats\\.pl&#8221;`&#8221; >\/dev\/null endscript \uff0d\uff0d\uff0d\uff0d\u8ffd\u52a0(\u3053\u3053\u307e\u3067)\uff0d\uff0d\uff0d\uff0d delaycompress postrotate \/bin\/systemctl reload httpd.service > \/dev\/null 2>\/dev\/null || true endscript }<br>\uff08\uff13\uff09<strong>Apache\u8a2d\u5b9a<\/strong>\u00a0\u3000\u3000<strong>Apache\u7528AWStats\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6<\/strong> [root@falcon21 ~]# <strong>vi \/etc\/httpd\/conf.d\/awstats.conf<\/strong>\u3000\u3000 &lt;Directory &#8220;\/usr\/local\/awstats\/wwwroot&#8221;> Options None AllowOverride None Require all granted\u3000\u2190\u3000\u8ffd\u52a0\uff08Order\u53e5\u3001Allow\u53e5\u306eApache2.4\u5909\u66f4\u5bfe\u5fdc\uff09 #Order allow,deny\u3000\u2190\u3000\u884c\u982d\u306b#\u3092\u8ffd\u52a0\u3057\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8 #Allow from all\u3000\u2190\u3000\u884c\u982d\u306b#\u3092\u8ffd\u52a0\u3057\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8 &lt;\/Directory> <strong>Apache\u8a2d\u5b9a\u53cd\u6620<\/strong> [root@centos ~]# <strong>systemctl reload httpd<\/strong>\u3000<br><strong>AWStats\u78ba\u8a8d<\/strong><br><s><strong>https:\/\/falcon21.space\/awstats\/awstats.pl<\/strong><\/s>\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30a2\u30af\u30bb\u30b9\u7d71\u8a08\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3000\u3000<br><br>\u3000<strong>https:\/\/falcon21.space\/awstats\/awstats.pl?config=falcon21.space<\/strong>\u3000\u3000<strong>OK!!\u3000<\/strong><br><br>\u3000<br>***********************************************************************<br><strong>awstats.pl\u30a2\u30af\u30bb\u30b9\u5236\u9650<\/strong>\u3000\u3000<strong>vi \/etc\/httpd\/conf.d\/awstats.conf<\/strong><br><strong>Apache\u7528AWStats\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6<\/strong> [root@falcon21 ~]# <strong>vi \/etc\/httpd\/conf.d\/awstats.conf<\/strong>\u3000\u3000 \u4ee5\u4e0b\u3092\u6700\u7d42\u884c\u3078\u8ffd\u52a0 &lt;Files &#8220;awstats.pl&#8221;> Require all denied Require ip 127.0.0.1 Require ip 192.168.10.0\/24\u3000\u2190\u3000\u5185\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a &lt;\/Files><br>\uff08\uff13\uff09<strong>Apache\u8a2d\u5b9a\u53cd\u6620<\/strong><br><strong>Apache\u8a2d\u5b9a\u53cd\u6620<\/strong><br>[root@falcon21 ~]#\u00a0<strong>systemctl restart httpd\u3000<\/strong><br><br><br><strong>https:\/\/falcon21.space\/awstats\/awstats.pl?config=falcon21.space<\/strong>\u3000\u3000\u3000<strong>OK!!\u3000<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong><br>\u30e1\u30fc\u30eb\u30ea\u30dd\u30fc\u30c8<\/strong><br><br><strong>2026\u5e741\u670827\u65e5 10:02:54<\/strong><br><strong>Create\/Update database for config &#8220;\/etc\/awstats\/awstats.falcon21.space.conf&#8221; by AWStats version 8.0 (build 20240604)<\/strong><br>From data in log file &#8220;\/var\/log\/<strong>httpd\/access_log<\/strong>&#8220;&#8230;<br>Phase 1 : First bypass old records, searching new record&#8230;<br>Direct access to last remembered record is out of file.<br>So searching it from beginning of log file&#8230;<br>Jumped lines in file: 0<br>Parsed lines in file: 2<br>Found 0 dropped records,<br>Found 0 comments,<br>Found 0 blank records,<br>Found 2 corrupted records,<br>Found 0 old records,<br>Found 0 new qualified records.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWStats\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3000[root@falcon21 ~]#\u00a0wget http:\/\/prdownloads.sourceforge.net\/awstats\/awstats-8.0-1.noarch.rpm2025- [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-249","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/pages\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":1,"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/pages\/249\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=\/wp\/v2\/pages\/249\/revisions\/250"}],"wp:attachment":[{"href":"https:\/\/falcon21.space\/kazuya\/work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}