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 "Python".