how to edit elasticsearch.yml if installed in debian code example
Example 1: install elastic search ubuntu
sudo apt install elasticsearch
Example 2: install elasticsearch ubuntu 18.04
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list