[[WWW Server の移行]]
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*root@blackcube2:/root # portupgrade -fr wwwcount-2.5_2 [#o2aff2c4]

obsolute?なwwwcountを入れ直そうとすると・・・

 creating src/Makefile
 ===> Compilation failed unexpectedly.
 Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
 the maintainer.
 *** [do-build] Error code 1
といって、エラーする。(・・)

/usr/ports/www/wwwcount/Makefile
 MAKE_JOBS_UNSAFE=yes 
を書き込んでmake install clean

その後、関連ファイルを chown -R www:www する


*www/wwwcount [#l5848945]

 portinstall www/wwwcount

 -------------------------------------------------------------------------
 Your configuration is shown below. You are only allowed to change the
 cgi-bin directory. If you want to change it, edit the file Config.tmpl
 and change the variable CGIBIN_DIR to the appropriate directory. Do not change
 anything else.
 
 cgi-bin directory   = /usr/local/www/apache22/cgi-bin
 conf directory      = /usr/local/etc/Counter/conf
 conf file to install= count.cfg
 digit directory     = /usr/local/lib/Counter/digits
 data directory      = /usr/local/etc/Counter/data
 log directory       = /var/log
 log file            = Counter.log
 RGB file to install = ./data/rgb.txt
 -------------------------------------------------------------------------
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS