EstraierCygwin にインストールする(中途半端)

// Estraier を cygwin 環境にインストール
$ tar zxvf ./estraier-1.2.24.tar.gz
$ cd estraier-1.2.24
$ ./configure --enable-cjkuni --disable-zlib
$ make win
$ make check
$ make install-win
 
// 転置インデックスの作成
$ estindex register zuradocs /home/zura/public_html
$ estindex relate zuradocs
 
// 転置インデックスの更新
$ estindex purge zuradocs
$ estindex register zuradocs /home/zura/public_html
$ estindex optimize zuradocs
$ estindex relate zuradocs
 
// 検索用CGIスクリプトのコピー
cd /home/zura/public_html
cp /usr/local/libexec/estsearch.cgi .
cp /usr/local/share/estraier/estsearch.conf .
cp /usr/local/share/estraier/estsearch.tmpl .
cp /usr/local/share/estraier/estsearch.top .
 
// Apache のインストール
$ tar zxvf ./apache_1.3.33.tar.gz
$ cd apache_1.3.33
$ ./configure
$ make
$ make install
$ cp httpd.exe /usr/local/apache/bin
 
// /usr/local/apache/conf/httpd.conf の修正
 
// 設定修正
User zura
Group Administrators
ServerName localhost
 
// 設定追加
<Directory "/home/*/public_html/cgi-bin">
 AllowOverride None
 Options None +ExecCGI
 Order allow,deny
 Allow from all
 AddHandler cgi-script .cgi
</Directory>
 
// Apache の起動
$ /usr/local/apache/bin/apachectl start

http://localhost:8080/ にアクセスして動作していることを確認

http://localhost:8080/~zura/cgi-bin/estsearch.cgi にアクセスして動作していることを確認

tags: Estraier zurazure

Posted by NI-Lab. (@nilab)