How to install Elasticsearch and Kibana on Mac OS X Nanhe Kumar
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=52JiLlWjRB4
Open terminal and run bellow command. • java -version • output will be something like this. • java version 1.8.0_201 • Java(TM) SE Runtime Environment (build 1.8.0_201-b09) • Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) • echo $JAVA_HOME • output will be something like bellow. • /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home • Install Elasticsearch on Mac OS X • You can download Kibana for Mac OS X from the following Elasticsearch website: • Open terminal type bellow commands . • curl -L -O https://artifacts.elastic.co/download... • tar -xvf elasticsearch-6.6.1.tar.gz • Once you have downloaded the ZIP file, unzip the tar package to your choice of location. Starting and stopping Elasticsearch You can start Elasticsearch using the binary scripts in the bin folder. To start Elasticsearch instance, execute the following commands: • cd elasticsearch-6.6.1.tar • ./bin/elasticsearch • If Elasticsearch is started successfully, you will see the started message at the end of the messages in the console as shown here: • [2017-01-26T20:20:35,919][INFO ][o.e.h.HttpServer] [elasticsearch1] publish_address {127.0.0.1:9200}, bound_addresses {[fe80::1]:9200}, {[::1]:9200}, {127.0.0.1:9200} • [2017-01-26T20:20:35,919][INFO ][o.e.n.Node] [elasticsearch1] started • As you can see from the preceding log message, we have Elasticsearch • running at http://127.0.0.1:9200. We just started Elasticsearch as a singlenode cluster. • • Since you started Elasticsearch using the command prompt. To stop, you can just terminate the process by pressing Ctrl + C. If you stop Elasticsearch successfully, you should see a message in the console similar to what shownas follows: • [2017-01-26T20:22:34,092][INFO ][o.e.n.Node] [elasticsearch1] stopping ... • [2017-01-26T20:22:34,104][INFO ][o.e.n.Node] [elasticsearch1] stopped • [2017-01-26T20:22:34,104][INFO ][o.e.n.Node] [elasticsearch1] closing ... • [2017-01-26T20:22:34,110][INFO ][o.e.n.Node] [elasticsearch1] closed • You can see from the preceding console log that Elasticsearch has been • successfully stopped. • Install Kibana on Mac OS X • You can download Kibana for Mac OS X from the following Elasticsearch website: • Open terminal type bellow commands . • curl -L -O https://artifacts.elastic.co/download... • Once you have downloaded the ZIP file, unzip the tar package to yourchoice of location. • tar -xvf kibana-5.1.2-darwin-x86_64.tar.gz • Starting and stopping Kibana • cd kibana-6.6.1-darwin-x86_64 • ./bin/kibana • • [21:56:30.709] [info][listening] Server running at http://localhost:5601 • [21:56:30.710] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow • [21:56:35.717] [info][status][plugin:[email protected]] Status changed from yellow to yellow - No existing Kibana index found • [21:56:36.177] [info][status][plugin:[email protected]] Status changed from yellow to green - Kibana index ready • [21:56:36.177] [info][status][ui settings] Status changed from yellow to green - • As you can see the from the above log message, we have Kibana running at http://127.0.0.1:5601. Since you started Kibana using the command prompt. To stop Kibana, you can just terminate the process by pressing Ctrl + C. You can also start Kibana and detach it from your session by running: • ./bin/kibana disown • The output of this command is the process id as shown below: • [1] 2455 • To stop Kibana, you can use the process id to stop it. You can use kill -9 • command as shown below: • kill -9 2455
#############################
