Install Elastic Search

sudo wget
sha1sum elasticsearch-5.6.2.deb sudo dpkg -i elasticsearch-5.6.2.deb
sudo update-rc.d elasticsearch defaults 95 10


Remove previous versions of ElasticSearch:

  sudo apt-get --purge autoremove elasticsearch Remove the ElasticSearch directories: sudo rm -rf /var/lib/elasticsearch/ sudo rm -rf /etc/elasticsearch


Install Kibana 


sha1sum kibana-5.6.2-amd64.deb

sudo dpkg -i kibana-5.6.2-amd64.deb


Install Logstash

wget -qO - | sudo apt-key add -

sudo apt-get install apt-transport-https

echo "deb stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list