Installing Elasticsearch
Let's first start with the installation procedure and set up Elasticsearch. These are the steps required to get started:
- Point your browser to the URL https://www.elastic.co/downloads.
- Click on the
Download
button in the Elasticsearch box to open up the web page and select the required operating system, as shown in the following screenshot:

Elasticsearch download button
- On the next page, select the desired operating system and download the related package. In our case, click on the
DEB
link to download the Debian package to install Elasticsearch in Ubuntu, as shown in the following screenshot:

Selecting the desired Elasticsearch package
- Once the download is complete, double click on the file to open the install function, or execute the following command to install it:
$ sudo gdebi elasticsearch-6.2.2.deb
The following is a snapshot of the output that is produced after the preceding command is run:

Execution of the installation command for Elasticsearch
Note
gdebi
is a Debian...