install elastic manaully in ubantu code example
Example 1: install elastic search ubuntu
sudo apt install elasticsearch
Example 2: ubuntu install elasticsearch terminal
sudo -i service elasticsearch start
sudo -i service elasticsearch stop
sudo apt install elasticsearch
sudo -i service elasticsearch start
sudo -i service elasticsearch stop