How to install Elasticsearch on Ubuntu Server 18.04
Eleasticsearch is a powerful search engine, based on the Lucene library, that provides a distributed, multitenant-capable, full-text search engine. With an HTTP web interface and schema-free JSON documents, Elasticsearch might well be ideal solution for the visualization of your company data.
I’m going to walk you through the process of installing Elasticsearch on Ubuntu 18.04.
All you will need is a running instance of Ubuntu Server 18.04 and a user account with sudo privileges.
The first thing to do is update and upgrade your server. Do note that, should the kernel be updated in the process, a restart of the server will be required. Because of this, run the update/upgrade process during a time when an update is possible.
To run the update/upgrade process, log into your Ubuntu server and issue the following command:
sudo apt-get upgrade -y
Elasticsearch depends on Java. Issue the follow commands to install the dependency: