How to Install and Configure Elasticsearch and Kibana on macOS with Homebrew
This step‑by‑step guide shows how to install JDK, set up Elasticsearch via Homebrew, verify its operation, optionally adjust the cluster name, install Kibana, and access the Kibana web UI for managing Elasticsearch data.
First ensure JDK 1.8.0_73 or newer is installed; verify with java -version.
Install Elasticsearch
Use Homebrew to install Elasticsearch: brew install elasticsearch. Start the service by running elasticsearch. For small‑scale applications the default out‑of‑the‑box configuration works without further changes.
Verify Elasticsearch
Open http://localhost:9200/?pretty in a browser; the JSON response displays the node name, cluster name (default elasticsearch) and version number (e.g., 5.2.0).
Configure Cluster (Optional)
If you need a custom cluster name, edit elasticsearch.yml and set the cluster.name property accordingly.
Install Kibana
Kibana provides a web UI for interacting with Elasticsearch. Install it via Homebrew: brew install kibana. Launch Kibana by executing the kibana command.
Access Kibana UI
Open http://localhost:5601 in a browser; you can now explore and manage your Elasticsearch indices through Kibana.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
JavaEdge
First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
