Try local file search using Fess on CentOS8

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

JDK installation

dnf install java-11-openjdk-devel

Elasticsearch installation

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

Install Fess

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

Elasticsearch settings

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

Automatic start registration

systemctl daemon-reload
systemctl enable elasticsearch.service
systemctl enable fess.service

Verification

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.

Crawl local files

See Last article.

Recommended Posts

Try local file search using Fess on CentOS7
Try local file search using Fess on CentOS8
Try OpenLiteSpeed on CentOS8
Try RabbitMQ + PHP on CentOS
Try using Redmine on Mac docker
Try putting CentOS 8 on Raspberry Pi 3
Using a local network on iOS 14
Try DPDK20 SDK on CentOS7 (2) Control DPDK driver
Try using the service on Android Oreo
Try using Firebase Cloud Functions on Android (Java)
HelloWorld using OpenJDK on CentOS8 after brain death
Try similar search of Image Search using Java SDK [Search]
Try communication using gRPC on Android + Java server
Try using libGDX
Try using Maven
Try using powermock-mockito2-2.0.2
Try using GraalVM
Try using jmockit 1.48
Try using sql-migrate
OpenVPN on CentOS 8
Try using SwiftLint
Try using Log4j 2.0
Try Image Search's similar search using Java SDK [Registration]
Try to implement using Rakuten product search API (easy)
Try image classification using TensorFlow Lite on Android (JAVA)
I installed CentOS 8 on Windows 10 using VirtualBox and Vagrant
Try using the query attribute of Ruby on Rails
I installed Squid on CentOS in my local environment