This article mainly for their own detours and do the supplement, to small white (for example, I) to say some of the blog is still advanced, specifically to this add some things.
Main steps Reference http://blog.csdn.net/ywheel1989/article/details/60519151
Problems
1, to me such what preparation is not small white speaking, the first step Brew command is not through. So this is not the step of the classmate move https://brew.sh/
2, after the JDK version of the problem, Bo Master originally JDK is 1.7, so change the environment variable, need to open a terminal again to run to effectively
3. Start Stop command
Brew Services Start Elasticsearch
Brew Services Stop Elasticsearch
I found that the benefits of brew to start a service should be managed uniformly and even shut down and started uniformly. Don't know what the great God thinks about brew start-up service?
4, Curl -xput localhost:9200/_bulk --data-binary @shakespeare. JSON command to write data, if https:// Www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json This ctrl+s save the file locally, CD to this directory and run this command
Install Elk under Mac