Elasticsearch: installation on Linux Mint

wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
sudo apt-get update && sudo apt-get install elasticsearch
curl -X GET 'http://localhost:9200'
# Configure Elasticsearch to automatically start during bootup
sudo update-rc.d elasticsearch defaults 95 10
 
# Install plugin Elasticsearch HQ
sudo /usr/share/elasticsearch/bin/plugin install royrusso/elasticsearch-HQ
 
# Open browser
localhost:9200/_plugin/hq/