Last active
December 1, 2016 06:34
-
-
Save lmduc/cb120e13e01d4996f5ed0966380294a2 to your computer and use it in GitHub Desktop.
Install on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Install Java 8 | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections | |
sudo apt-get install oracle-java8-installer -y | |
### Download and install the Public Signing Key | |
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
### Setup Repository | |
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list | |
### Install Elasticsearch | |
sudo apt-get update && sudo apt-get install elasticsearch=2.4.2 -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment