Install Elasticsearch 9
TIP
Да ли сте преуморни од комплексних поставки, подешавања, резервних копија и ажурирања? Дозволите нам да вам помогнемо око тога! 🚀
Најлакши и најчешће најјефтинији начин да имплементирате Zаmmad је наш сервис у облаку. Уверите се преко бесплатне пробне инстанце!
This guide shows a simple standard installation of Elasticsearch 9. The intention is to get you up and running quickly. However, in case you need a more advanced configuration or face any issues, have a look at the official Elasticsearch installation documentation. Adapt it wherever needed in case your use-case differs.
Инсталација
Download and Add the Public Signing Key
Install required tools:
sudo apt-get install apt-transport-httpsAdd repo key:
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | \
gpg --dearmor | sudo tee /usr/share/keyrings/elasticsearch-keyring.gpg \
&& sudo chmod 644 /usr/share/keyrings/elasticsearch-keyring.gpgAdd the Repository
echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/9.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-9.x.listElasticsearch инсталација
sudo apt-get update && sudo apt-get install elasticsearchTIP
Make sure to check the output and to copy the password of the built-in superuser. Otherwise, you have to recreate it by running /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic.
Подешавања
Optionally, check and configure Elasticsearch’s configuration file which you can find under /etc/elasticsearch/elasticsearch.yml.
We recommend to adjust the maximum context size which should get indexed by Elasticsearch. Adjust it to a reasonable size like in the example:
http.max_content_length: 400mbAdditional configuration is out of scope of this documentation. In case your scenario needs additional configuration, have a look at Elastic’s configuration reference.
Start and Enable Elasticsearch
sudo systemctl enable elasticsearch.service --nowСледећи кораци
Go on with the installation of Zammad. After the installation of Zammad is completed, you can connect Zammad with Elasticsearch.