(OpenSearch版fessのインストール)
opensearch の 'repository' をダウンロードしておく
# wget https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -P /etc/yum.repos.d/
# yum makecache
opensaech-2.8.0-1.x86_64 のインストール
# yum install opensearch
ダウンロードした 'fess-14.9.1'
https://github.com/codelibs/fess/releases/tag/fess-14.9.1
fess-14.9.1.rpm を選択して
インストール
# rpm -ivh Downloads/fess-14.9.1.rpm
OpenSearchのプラグインを plugins ディレクトリにインストール
export OPENSEARCH_HOME=/usr/share/opensearch
$ $OPENSEARCH_HOME/bin/opensearch-plugin install org.codelibs.opensearch:opensearch-analysis-fess:2.8.0
$ $OPENSEARCH_HOME/bin/opensearch-plugin install org.codelibs.opensearch:opensearch-analysis-extension:2.8.0
$ $OPENSEARCH_HOME/bin/opensearch-plugin install org.codelibs.opensearch:opensearch-minhash:2.8.0
$ $OPENSEARCH_HOME/bin/opensearch-plugin install org.codelibs.opensearch:opensearch-configsync:2.8.0
これらのプラグインはOpenSearch(2.8.0)のバージョンに依存するので注意してください。
/etc/opensearc/opensearch.yml に下記の設定を加えます
#---
configsync.config_path: /var/lib/opensearch/data/config
plugins.security.disabled: true
#---
/etc/opensearch/jvm.options に下記の変更を加えます
#---
-Xms2g
-Xmx2g
#---
/usr/share/fess/bin/fess.in.sh を変更します
#---コメントを外す
SEARCH_ENGINE_HTTP_URL=http://localhost:9200
FESS_DICTIONARY_PATH=/var/lib/opensearch/data/config/
#---
# firewall-cmd --add-port=9200/tcp --permanent
# firewall-cmd --reload
# systemctl daemon-reload
# systemctl enable --now opensearch
# systemctl status opensearch
# systemctl enable --now fess
# systemctl status fess
fess 実行
http://localhost:8080/