This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
elk [2020/09/11 14:30] val |
elk [2021/02/24 10:06] val удалено |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[https://www.elastic.co/downloads/elasticsearch|Download Elasticsearch]] | * [[https://www.elastic.co/downloads/elasticsearch|Download Elasticsearch]] | ||
- | * [[https://stackoverflow.com/questions/40766301/run-elastic-search-as-root-user|Run elastic search as root user | + | * [[https://stackoverflow.com/questions/40766301/run-elastic-search-as-root-user|Run elastic search as root user]] |
<code> | <code> | ||
# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.1-amd64.deb | # wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.1-amd64.deb | ||
Line 16: | Line 16: | ||
> ES_USER=elasticsearch | > ES_USER=elasticsearch | ||
> ES_GROUP=elasticsearch | > ES_GROUP=elasticsearch | ||
+ | |||
+ | # cat /etc/elasticsearch/elasticsearch.yml | ||
+ | 55a56 | ||
+ | > http.host: 0.0.0.0 | ||
+ | |||
chown elasticsearch:elasticsearch -R /usr/share/elasticsearch | chown elasticsearch:elasticsearch -R /usr/share/elasticsearch |