nstall elasticsearch ubuntu 18.04 code example
Example 1: install elasticsearch ubuntu 18.04
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
Example 2: install elasticsearch ubuntu 18.04
sudo apt update
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt update