Created
May 21, 2019 11:45
-
-
Save prasvats/0e0db64f6665f34dc6d28c241799e939 to your computer and use it in GitHub Desktop.
Install 3 Node HA ElasticSearch Cluster and Kibana. Version: 5.6.14
This file contains 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
#Update apt repository | |
sudo apt-get update | |
# Download and install the public signing key | |
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
#Install apt repo sync | |
sudo apt-get install apt-transport-https | |
#Add elastic5.x to apt repository | |
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list | |
#Update apt repository | |
sudo apt-get update | |
#LC_TYPE Error | |
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc | |
echo "export LANG=en_US.UTF-8" >> ~/.bashrc | |
source ~/.bashrc | |
#Install Elasticsearch | |
sudo apt-get purge --auto-remove elasticsearch | |
sudo apt-cache policy elasticsearch | |
sudo updatedb | |
sudo apt-get install elasticsearch=5.6.14 --reinstall -y | |
sudo systemctl enable elasticsearch.service | |
#Install Kibana | |
sudo apt-get purge --auto-remove kibana | |
sudo apt-cache policy kibana | |
sudo updatedb | |
sudo apt-get install kibana=5.6.14 --reinstall -y | |
sudo systemctl enable kibana.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment