Installing Elasticsearch on mac
Go to the official website to downloadhttps://www.elastic.co/downloads/elasticsearch
I am using version 2.3.2, I downloaded the tar version and unzipped it.
Go to the es installation directory and
cd elasticsearch-2.3.2
Start es
bin/elasticsearch
This may report a logs folder permission issue error, as I solved it directly, without screenshots, by giving permissions to the logs folder.
sudo chown -R dalaoyang logs
Reboot es
On page accesshttp://localhost:9200/ The figure below
Install a visual plugin, elasticsearch-head
sudo bin/plugin install mobz/elasticsearch-head
After successful installation, restart es and visithttp://localhost:9200/_plugin/head/ as shown