This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:tms-search-service [2021/09/22 15:05] Виталий Журавлев |
en:tms-search-service [2023/03/01 15:18] (current) Денис Цыганов |
||
---|---|---|---|
Line 7: | Line 7: | ||
<code> | <code> | ||
- | wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | + | sudo echo "deb http://deb.packages.tvip.tv/ xenial main" >> /etc/apt/sources.list.d/tms.list |
- | sudo apt-get install apt-transport-https | + | sudo wget --quiet -O - http://deb.packages.tvip.tv/deploy/key.asc | apt-key add - |
- | echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list | + | |
sudo apt-get update | sudo apt-get update | ||
- | sudo apt-get install elasticsearch=7.9.3 | + | sudo apt-get install elasticsearch |
</code> | </code> | ||
Line 20: | Line 19: | ||
http.port: 9200 | http.port: 9200 | ||
xpack.security.enabled: true | xpack.security.enabled: true | ||
+ | indices.memory.index_buffer_size: "30%" | ||
</code> | </code> | ||
Line 37: | Line 37: | ||
<code> | <code> | ||
elasticsearch: | elasticsearch: | ||
- | host: host_with_elasticsearch | + | host: 127.0.0.1 |
port: 9200 | port: 9200 | ||
scheme: http | scheme: http | ||
Line 46: | Line 46: | ||
</code> | </code> | ||
+ | * //host// - ip address or domain name of server with elasticsearch\\ | ||
+ | * //username// - username from step 4.\\ | ||
+ | * //password// - password from step 4. \\ |