Requirements
Fess can be available in these environments.
OS: Windows/Unix with Java environment
Java: Java 11
(RPM or DEB) Elasticsearch: 7.10.X
If Java is not installed in your environment, see we want to Fess from AdoptOpenJDK site to install JDK. Embedded Elasticsearch is not recommended for production use.
Download
Download the latest Fess package from the release site, https://github.com/codelibs/fess/releases.
Installation
Using ZIP package
Unzip the downloaded fess-<version>.zip. For UNIX environment, run the following command:
Using RPM package
You need to install elasticsearch RPM package before Fess installation. Download elasticsearch RPM package from elasticsearch site https://www.elastic.co/downloads/elasticsearch, and then install the package.
To access from Fess, the following configuration needs to be added to /etc/elasticsearch/elasticsearch.yml
Next, install Fess RPM package.
Fess provides elasticsearch plugins to extend elasticsearch’s features for Fess. Install the following plugins to plugins directory in elasticsearch.
Note that these plugins depends on elasticsearch version.
To register them as a service, run the following commands if using chkconfig,
For systemd based system(e.g. CentOS 7),
Using Your Elasticsearch Cluster On ZIP package
Fess is able to connect to your existing elasticsearch cluster. For the details to configure elasticsearch for Fess, please see steps in Using RPM package.
To connect to elasticsearch cluster from Fess, use JVM options in a launch script file. For Windows environment, the following settings are put into fess-<version>\bin\fess.in.bat. fess.dictionary.path needs to be set to a path of configsync.config_path in elasticsearch.yml.
For Elasticsearch RPM/DEB package, they are in fess-<version>/bin/fess.in.sh.