Difference between revisions of "Setup:Installation Guide/System Preparation/Linux/Elasticsearch"

[quality revision][quality revision]
m (Text replacement - "[[en:{{PAGENAME}}]]" to "[[en:{{FULLPAGENAME}}]]")
 
icon for optional
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[edit | edit source]

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[edit | edit source]

The subsequent installation of Elasticsearch will guide you through these commands.

apt update; \
apt install elasticsearch; \
apt clean

Installing ingest-attachment[edit | edit source]

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[edit | edit source]

Add the Elasticsearch to startup and then start the service:

systemctl enable elasticsearch; \
service elasticsearch start

Next step[edit | edit source]

If you have completed all steps successfully, you can proceed to the next step "Node.js".


Attachments

Discussions