Try a full-text search of local files using Fess. Open Source Full Text Search Server Fess
This time, unlike the last time, install from rpm. Here when installing from zip.
The version of CentOS to install to.
CentOS Linux release 8.3.2011
Since there is Document, the installation work itself was not particularly clogged, but it was clogged at startup due to the influence of the minimal installation or the lack of language. Below, all run as root user.
Check if there is en_US.
locale --all-locales
It is OK if this area is included.
en_US
en_US.iso885915
en_US.utf8
If not, execute the following.
dnf reinstall glibc-common
dnf install langpacks-en
dnf install java-11-openjdk-devel
Download Elasticsearch Free | Get Started Now | Elastic | ElasticDownload from. The latest at this point is 7.10.1.
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.1-x86_64.rpm
rpm -ivh elasticsearch-7.10.1-x86_64.rpm
Get the latest code for fess from github. Releases · codelibs/fess · GitHub The latest at this point is 13.10.2.
wget https://github.com/codelibs/fess/releases/download/fess-13.10.2/fess-13.10.2.rpm
rpm -ivh fess-13.10.2.rpm
Reference: Install
Install the Fess plugin on Elasticsearch. When I checked github, the latest was 7.10.0. Tags · codelibs/elasticsearch-analysis-fess · GitHub
/usr/share/elasticsearch/bin/elasticsearch-plugin install org.codelibs:elasticsearch-analysis-fess:7.10.0
/usr/share/elasticsearch/bin/elasticsearch-plugin install org.codelibs:elasticsearch-analysis-extension:7.10.0
/usr/share/elasticsearch/bin/elasticsearch-plugin install org.codelibs:elasticsearch-configsync:7.10.0
/usr/share/elasticsearch/bin/elasticsearch-plugin install org.codelibs:elasticsearch-dataformat:7.10.0
/usr/share/elasticsearch/bin/elasticsearch-plugin install org.codelibs:elasticsearch-minhash:7.10.0
Recognize / var/lib/elasticsearch/config
.
Added settings for accessing Fess.
/etc/elasticsearch/elasticsearch.yml
configsync.config_path: /var/lib/elasticsearch/config
systemctl daemon-reload
systemctl enable elasticsearch.service
systemctl enable fess.service
Start it and check if it can be accessed with a browser. If it is not started, start it from Elasticsearch.
systemctl start elasticsearch
systemctl start fess
Check if it can be accessed with http: // [server IP]: 8080 http: // [server IP]: 8080/admin is the admin login screen. ID: admin PASS: admin
If you cannot access it, check around the firewall.
See Last article.
Recommended Posts