Last active
February 3, 2018 23:35
-
-
Save donaldsteele/5bf9f268656cbc7f874984a88b53865b to your computer and use it in GitHub Desktop.
ubuntu install Elasticsearch
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
| apt-get update | |
| apt-get -y upgrade | |
| wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
| apt-get install apt-transport-https | |
| echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.list | |
| add-apt-repository ppa:webupd8team/java | |
| apt-get install -y elasticsearch oracle-java9-installer | |
| apt-get install -y oracle-java9-set-default | |
| systemctl daemon-reload | |
| systemctl enable elasticsearch.service | |
| systemctl start elasticsearch.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment