-
Notifications
You must be signed in to change notification settings - Fork 41
Steps for setting up ElasticSearch on AWS
Aditya Bharadwaj edited this page Mar 31, 2017
·
4 revisions
- Checkout Part II of tutorial on running elasticsearch on AWS. (If you are using Amazon Linux Instance)
- Checkout How To Install and Configure Elasticsearch on Ubuntu 14.04 to learn how to install elasticsearch on ubuntu instances.
-
Installing OpenJDK
sudo apt-get update sudo apt-get install openjdk-7-jre
-
Installing Java 8
sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update sudo apt-get -y install oracle-java8-installer
-
Downloading and Installing Elasticsearch
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.0.deb sudo dpkg -i elasticsearch-5.3.0.deb sudo update-rc.d elasticsearch defaults
-
Configurations
sudo vim /etc/elasticsearch/elasticsearch.yml
Change
node.name
andcluster.name
. -
Start
sudo service elasticsearch start