2. Install and Configure Elasticsearch
To be able to work with Zephyr Data Center, you need to install and configure Elasticsearch -- a search and analytics engine -- on a separate node. Depending on the number of concurrent users who will work with the Data Center, you may need to set up one Elasticsearch node or a cluster of nodes (see Recommended Configurations).
To install Elasticsearch on Windows (on a single node or cluster nodes):
Download Elasticsearch 8.6.2 (the ZIP archive).
Unzip the downloaded file.
Configure the
{elasticsearch}\config\elasticsearch.yml
file:For more details on the configuration, refer to:
Start the service by running the
{elasticsearch}\bin\elasticsearch.bat
file.
To install Elasticsearch on Linux (on a single node or on cluster nodes):
Download Elasticsearch 8.6.2 (the RPM archive), or run the following command in the Linux command prompt:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.6.2-x86_64.rpm
In the Linux command prompt, run the following commands to install Elasticsearch:
sudo rpm -ivh elasticsearch-8.6.2-x86_64.rpm
sudo yum localinstall elasticsearch-8.6.2-x86_64.rpm
Configure the
etc\elasticsearch\elasticsearch.yml
file:For more details on the configuration, refer to:
Start Elasticsearch. The way you start and stop it depends on whether your system uses SysV init or systemd.
If SysV init is used, you start and stop Elasticsearch by running the
service
command:sudo -i service elasticsearch start
sudo -i service elasticsearch stop
If systemd is used, you run the following commands:
sudo systemctl start elasticsearch.service
sudo systemctl stop elasticsearch.service
Run the following command to verify Elasticsearch is working properly:
curl -XGET '192.168.11.146:9200/_cat/health?v&pretty'