elasticsearch, ubuntu,

Setup Elasticsearch on Ubuntu Server

Shaukat Mahmood Ahmad Shaukat Mahmood Ahmad Follow Mar 10, 2019 · 1 min read
Setup Elasticsearch on Ubuntu Server
Share this

Elasticsearch is a open source search engine written in Java and based on Apache Lucene library. Elasticsearch is distributed search engine that supports full-text search with an HTTP web (REST) interface.

In this article I will explain how to install Elasticsearch on Ubuntu 16.04 LTS Server.

Following is step by step tutorial to setup Elasticsearch on Ubuntu 16.04 LTS Server.

Run the following command to add the key to the list of trusted keys.

$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

Add the Elasticsearch repository.

$ echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list

Update the package lists.

$ sudo apt-get update

Run following command to install Elasticsearch using apt package manager.

$ sudo apt-get install elasticsearch
Join Newsletter
Get the latest news right in your inbox. We never spam!
Shaukat Mahmood Ahmad
Written by Shaukat Mahmood Ahmad Follow
Hi, I am Shaukat Mahmood Ahmad, the author of SMA's blog and CTO / Co Founder at wizlinx.com