Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
- echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
- sudo apt-get update
- apt-get install openjdk-8-jre apt-transport-https -y
- apt-get install elasticsearch -y
- nano /etc/elasticsearch/elasticsearch.yml
- sudo /bin/systemctl daemon-reload
- sudo /bin/systemctl enable elasticsearch.service
- sudo systemctl start elasticsearch.service
- curl -X GET "localhost:9200/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement