Hi!! Here are initial steps for Elastic Search
Step 1 — Installing Java
First, you will need a Java Runtime Environment (JRE) on your Droplet because Elasticsearch is written in the Java programming language. Elasticsearch requires Java 7 or higher.
First update the list of available packages.
$sudo apt-get update
Then install OpenJDK
$sudo apt-get install openjdk-7-jre
To verify your JRE is installed and can be used, run the command:
$java – version
java version “1.7.0_79”
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
Installing Java 8
Step 2 — Downloading and Installing Elasticsearch
$sudo dpkg -i elasticsearch-1.7.2.deb
Elasticsearch being installed in /usr/share/elasticsearch/
Its configuration files placed in /etc/elasticsearch
Its init script added in /etc/init.d/elasticsearch.
To make sure Elasticsearch starts and stops automatically with the Droplet, add its init script to the default runlevels with the command:
$sudo update-rc.d elasticsearch defaults
Step 3 — Configuring Elastic.
The Elasticsearch configuration files are in the /etc/elasticsearch directory. There are two files:
elasticsearch.yml — Configures the Elasticsearch server settings. This is where all options, except those for logging, are stored.
logging.yml — Provides configuration for logging. In the beginning, you don’t have to edit this file. You can leave all default logging options. You can find the resulting logs in /var/log/elasticsearch by default.
To start editing the main elasticsearch.yml configuration file:
$sudo nano /etc/elasticsearch/elasticsearch.yml