###Install Oracle Java
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer####Check Java Version
java -version###Install Elasticsearch
http://www.elasticsearch.org/overview/elkdownloads/
dpkg -i elasticsearch-...####Config Changes
Edit the /etc/elasticsearch/elasticsearch.yml config file, uncomment network.bind_host and change to network.bind_host: localhost
Add script.disable_dynamic: true - this disables outside accesss to the server
####Start on server reboot
sudo update-rc.d elasticsearch defaults 95 10
sudo /etc/init.d/elasticsearch start