User Tools

Site Tools


en:tms-search-service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:tms-search-service [2021/09/22 12:01] – created Виталий Журавлевen:tms-search-service [2025/04/02 13:36] (current) – Денис Цыганов
Line 1: Line 1:
- +The documentation for configuring the TMS Search Service is available at the following [[https://docs.tvip.tv/ru/tms/usage/search.html|link]].
- +
-====== TMS Search Service ====== +
- +
- +
-1. Installing elasticsearch on Ubuntu  +
- +
-<code> +
-wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - +
-sudo apt-get install apt-transport-https +
-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 install elasticsearch=7.9.3 +
-</code> +
- +
-2. Editing configuration file of elasticsearch - **/etc/elasticsearch/elasticsearch.yml** Add this options in configure file: +
-<code> +
-discovery.type: single-node +
-network.host: 0.0.0.0 +
-http.port: 9200 +
-xpack.security.enabled: true +
-</code> +
- +
-3. Run and enablind elasticserch service: +
-<code> +
-sudo systemctl enable elasticsearch +
-sudo systemctl start  elasticsearch +
-</code> +
- +
-4. Add user +
-<code> +
-/usr/share/elasticsearch/bin/elasticsearch-users  useradd tms -r superuser -p your_password +
-</code> +
- +
-5. Update configuration file  manager-tvip-tms-search **/opt/tvip-tms/manager/manager-tvip-tms-search/application-prod.yml** +
- +
-<code> +
-elasticsearch: +
-  host: host_with_elasticsearch +
-  port: 9200 +
-  scheme: http +
-  username: tms +
-  password: your_password +
-  refresh-interval: 60s +
-  number-of-shards: 1 +
-</code> +
en/tms-search-service.1632312119.txt.gz · Last modified: by Виталий Журавлев

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki