No categories assigned
Elasticsearch on Linux
-
- Last edited 4 years ago by MLR
-
< Setup:Installation Guide | System Preparation | Linux
Revision as of 12:31, 25 June 2020 by Mlink-rodrigue (talk | contribs)
Contents
Elasticsearch is a prerequisite for the operation of Advanced Search. The steps listed here are optional and only required if you plan to use them in your BlueSpice installation. |
Adding the package sources
Elasticsearch is not included in the package manager on Debian. However, the manufacturer provides a repository for the software. Add it with the following commands to your Debian installation. Prerequisite is that you have installed the program "gnupg" (apt install gnupg
).
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -; \ echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" > /etc/apt/sources.list.d/elastic-6.x.list
Installing Elasticsearch
The subsequent installation of Elasticsearch will guide you through these commands.
apt update; \ apt install elasticsearch; \ apt clean
Installing ingest-attachment
For the advanced search in BlueSpice you need the plugin "ingest-attachment" for Elasticsearch. This Install it with the following command:
/usr/share/elasticsearch/bin/elasticsearch-plugin install -b ingest-attachment
Start Elasticsearch and add it to startup
Add the Elasticsearch to startup and then start the service:
systemctl enable elasticsearch; \ service elasticsearch start
Next step
If you have completed all steps successfully, you can proceed to the next step "Node.js".