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-https
Add repo key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
Add 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.list
Elasticsearch инсталација
sudo apt-get update && sudo apt-get install elasticsearch
TIP
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
.
Подешавања
Open /etc/elasticsearch/elasticsearch.yml
and adjust/uncomment the following values:
network.host: 0.0.0.0
transport.host: 0.0.0.0
Optional to increase the maximum context size to index:
http.max_content_length: 400mb
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.