ElasticSearch
-
- Last edited 6 years ago by Sabine Gürtler
-
-
- This page is a draft but has an approved version
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))
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.