Homepage:
Source:
展開
% tar xvzf ${archive}/wwwcount2.5.tar.gz
% cd wwwcount2.5
Configure
% make config.h
Continue [y|n]? -> y
*cgi-bin directory: -> ${...}/cgi-bin
*Base directory: -> ${prefix}
* Config directory: -> ${prefix}/etc
* Name of the configuration file: -> wwwcount.cfg
*Data directory: -> ${prefix}/var/wwwcount
*Digits directory: -> ${prefix}/share/wwwcount
*Log directory: -> ${prefix}/var/log
* Name of the log file: -> wwwcount.log
Everything OK? -> y
注意: ConfigDir, DataDir, DigitsDir, LogDir が重複してはならない。
Make
% make all
% strip src/Count.cgi
% make cfg
Continue [y|n]? -> y
* Enter your FQDN: -> 入力する
* Enter your IP address: -> 入力する
* Does your host have any nickname? -> n
* Do you want to allow automatic file creation? -> n
* Do you want the program to run in strict mode? -> n
* Do you want to ignore access hits from your own host? -> n
* Allow using the rgb.txt file? -> n
* Do you want to allow the counter to be reloaded? -> y
* Do you want to log error messages ? -> n
* Do you want to show error messages to browsers? -> n
Check
% ( cd tests; ./testcount-sh )
Install
# make install
Continue? -> y
*Do you know the user and group id of httpd' child process? -> n
# rm -f ${prefix}/{mirror_count.sh,rgb.txt}
Last Modified: Mon Mar 19 02:40:20 2001