Skip to content

Instantly share code, notes, and snippets.

@ETetzlaff
Forked from djonsson/install_elasticsearch_osx.md
Last active February 22, 2016 17:50
Show Gist options
  • Save ETetzlaff/1bf729bbed38d13a67ef to your computer and use it in GitHub Desktop.
Save ETetzlaff/1bf729bbed38d13a67ef to your computer and use it in GitHub Desktop.
OS X installation instructions for Elasticsearch + Kibana + Marvel

What is this?

Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask

Prerequisites

If you already have Java installed on your system, skip steps Install Cask and Install Java

If you already have Java and Homebrew installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update

Install Homebrew

  • $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Cask

  • $ brew tap caskroom/cask
  • $ brew install brew-cask

Install Java

  • $ brew cask install java

Install Elasticsearch and Kibana

  • $ brew install elasticsearch
  • $ brew install kibana

Install Kibana / Marvel

  • $ cd /usr/local/Cellar/elasticsearch/<whatever version you have>
  • $ bin/plugin install license
  • $ bin/plugin install marvel-agent
  • $ cd /usr/local/Cellar/kibana/<whatever version you have>
  • $ brew services start elasticsearch
  • $ bin/kibana plugin --install elasticsearch/marvel/latest
  • $ bin/kibana plugin --install elastic/sense
  • $ brew services start kibana

Access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment