Hello World from OSS Silicon Valley


HowToUse/elasticsearch/6.7


#contents

*Prerequisite [#jcb342d5]
-Ubuntu installation (You can refer [[Overall/UbuntuServer]])
-Java installation (You can refer [[Overall/Java]])

*Install&Setup [#m1fd6686]
:Step.1|
Open port in firewall.

 $ sudo ufw allow 9200
 $ sudo ufw allow 9300

:Step.2|
Install elasticsearch

 $ wget -q0 - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
 $ sudo apt-get install apt-transport-https
 $ echo "dev https://artifacts.elastic.co/packages/6.7/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.7.list
 $ sudo apt-get update && sudo apt-get install elasticsearch
 $ sudo dpkg -l | grep elasticsearch

:Step.3|
Set service launch

 $ sudo systemctl start elasticsearch.service
 $ sudo systemctl enable elasticsearch.service

:Step.4|
Check accessibility

 $ curl -XGET http://localhost:9200


*HowToUse [#dd36e8b9]
:Step.1|
xxx

*Author [#md569368]
S.Yatsuzuka


#back(back,center,0)