Setting up Elastic Stack
In this section, we will install all four components of Elastic Stack on two popular operating systems - Microsoft Windows and Ubuntu. As a pre-requisite for installation of Elasticsearch or Logstash, Java should be installed. In case you have Java installed you can skip the Installation of Java section.
Installation of Java
In this section, JDK needs to be installed for accessing Elasticsearch. Oracle Java 8 (Oracle JDK version 1.8.0_73 onwards) should be installed, as it is the recommended version for Elasticsearch 5.0.0 onwards.
Installation of Java on Ubuntu 14.04
Install Java 8 using terminal and apt package in the following manner:
- Add Oracle Java PPA (Personal Package Archive) to apt repository list:
sudo add-apt-repository ...
Get Mastering Elastic Stack now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.