sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version
sudo apt-get update && sudo apt-get install elasticsearch
sudo chmod -R 777 /usr/local/elasticsearch/
adduser elasticsearch
sudo -u elasticsearch /usr/local/elasticsearch/bin/elasticsearch -d
adduser elasticsearch
sudo -u elasticsearch /usr/local/elasticsearch/bin/elasticsearch -d
curl -X GET 'http://localhost:9200'
sudo vi /usr/local/elasticsearch/elasticsearch.yml
network.bind_host: localhost
https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/
sudo service elasticsearch restart
Комментариев нет :
Отправить комментарий