Инструменты пользователя

Инструменты сайта


elk

ELK

# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.1-amd64.deb

# dpkg -i elasticsearch-7.9.1-amd64.deb

# cat /etc/default/elasticsearch
9a10
> JAVA_HOME=/usr/share/elasticsearch/jdk/
52a54,58
>
> START_DAEMON=true
> ES_USER=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 /var/log/elasticsearch
chown elasticsearch:elasticsearch -R /var/lib/elasticsearch
chown elasticsearch:elasticsearch -R /etc/default/elasticsearch
chown elasticsearch:elasticsearch -R /etc/elasticsearch


systemctl enable elasticsearch
systemctl start elasticsearch
systemctl status elasticsearch


elk.txt · Последние изменения: 2020/09/11 15:44 — val