Requirements
Fess can be available in these environments.
OS: Windows/Unix with Java environment
Java: Java 8 update 131 or later
(RPM or DEB) Elasticsearch: 6.8.X
If Java is not installed in your environment, see we want to Fess from Oracle 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),
To change a cluster name for elasticsearch, modify the following value in fess_config.properties.
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 Elasticsearch RPM/DEB package, they are in fess-<version>/bin/fess.in.sh.
If you change a cluster name of Elasticsearch, modify the following setting in fess_config.properties.
Using an Elasticsearch cluster in a Windows environment.
Download and unzip the Elasticsearch zip version.
Install the following plugins to plugins directory in elasticsearch.
Note that these plugins depends on elasticsearch version.
To access from Fess, the following configuration needs to be added to <elasticsearch-<version>\config\elasticsearch.yml
Unzip the downloaded fess-<version>.zip.
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.