Skip to content
Verify Elasticsearch installation on Ubuntu VM
- Start Virtual Box, Choose the machine you prepared in earlier step and click on the “Start” button ( green color ).
- If asked for please enter password ‘abcd1234’
- Click on the Ubuntu on the top-left corner and look for terminal and click on the terminal
- Once the terminal is up and running it should look similar to following –
- Login as hduser user.
- su hduser
- password ‘abcd1234’
- Set the JAVA_HOME
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
- Start Elasticsearch –
- cd /home/hduser/elasticsearch-5.0.2/bin
- sudo ./elasticsearch 2>&1 > /home/hduser/elastic.log &
- You should see some messages ( it should not have any ERROR ) in the last you may something similar –
- Very the instance
- Open browser ( firefox )
- goto http://localhost:9200
- You should see following output