No categories assigned

ElasticSearch

< Setup:Installation Manual‎ | Services and system configuration
Revision as of 16:39, 20 September 2019 by Fbaeckmann (talk | contribs) (Text replacement - "[[Setup:Installation Manual" to "[[Setup:Installation Guide")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Linux

There is an official repo from the manufacturer: Documentation on manufacturer's website

Summary:

$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
$ apt-get install apt-transport-https
$ echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" > /etc/apt/sources.list.d/elastic-6.x.list
$ apt-get update && apt-get install elasticsearch
$ /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
$ systemctl enable elasticsearch

Then please execute "service elasticsearch start". It takes about 10 seconds to start, then the service should appear on port 9200 under "netstat -tulpn".

Activating the ElasticSearch in BlueSpice

Go to the directory <installpath-bluespice>/settings.d. Open the file 020-BlueSpiceExtendedSearch.php in a text editor.

In the second line is a code to activate the extension:

return; // Disabled. Needs Tomcat

You can either add a comment character (#) to the beginning of this line or delete the line completely, save the file and exit it.

Open a command line and change to the <installpath-bluespice> folder. Execute the following command:

php maintenance/update.php (Linux)
php maintenance\update.php (Windows))


Hint.jpg
In Windows, make sure that the environment variables are set correctly to access the php command.



Hint.jpg
Note that you must update the file system permissions after running update.php.


When the script is finished with the "Done" message, the web service is successfully installed.

Attachments

Discussions