How To Install Elasticsearch on Ubuntu 16.04

How To Install Elasticsearch on Ubuntu 16.04

Introduction

Elasticsearch is a platform for distributed search and analysis of data in real time. Its popularity is due to its ease of use, powerful features, and scalability.

Elasticsearch supports RESTful operations. This means that you can use HTTP methods (GET, POST, PUT, DELETE, etc.) in combination with an HTTP URI (/collection/entry) to manipulate your data. The intuitive RESTful approach is both developer- and user-friendly, which is one of the reasons for Elasticsearch’s popularity.

Elasticsearch is a free and open source software with a solid company behind it: Elastic. This combination makes it suitable for use in anywhere from personal testing to corporate integration.

This article will introduce you to Elasticsearch and show you how to install, configure, secure, and start using it. (Digitalocean)

*** This is download and run an ElasticSearch without installation

Step One — Downloading and Installing Elasticsearch:

Run command:

sudo apt-get update

Find the latest 2.x version of Elasticsearch.

Install the latest 2.x version using Elasticsearch documentation

For example, to install Elasticsearch version 2.4.4, enter the following commands in the order shown:

curl -L -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.4/elasticsearch-2.4.4.tar.gz
tar -xvf elasticsearch-2.4.4.tar.gz
cd elasticsearch-2.4.4/bin
./elasticsearch

*** This is installed ElasticSearch using installation

Step 1:

sudo apt-get update

Step 2: Download Elasticsearch .deb package.

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.1/elasticsearch-2.3.1.deb

Step 3: Install using dpkg

sudo dpkg -i elasticsearch-2.3.1.deb

Step 4: Enable Elasticsearch running on boot

sudo systemctl enable elasticsearch.service

>> Readmore Overview (Magento Doc)

Comments are closed.