Hello World from OSS Silicon Valley
HowToUse/elasticsearch/6.7
_ Prerequisite
- Ubuntu installation (You can refer Overall/UbuntuServer)
- Java installation (You can refer Overall/Java)
_ Install&Setup
- 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
- Step.1
- xxx
_ Author
S.Yatsuzuka
[ back ]
Last-modified: 2019-08-25 (Sun) 02:46:17 (2007d)