[Elastic Search] Linux(CentOS) ์๋ผ์คํฑ ์์น 7 ๋ฒ์ ๋ ์ค์น(elastic search 7.x install)
๊ธ ์์ฑ์: ๋ฅํด๋ฒ .
๋ฐ์ํ
์๊ตฌ ์ฌํญ
-
์์ ์ ํ๊ฒฝ์์ elastic search 7.x ๋๋ฅผ ์ค์น ํ ์ ์๋์ง ์๋ ๋งํฌ์์ ํ์ธ๋ค. https://www.elastic.co/kr/support/matrix
- Java 8 ์ด์ ๊ถ์ฅ
์ค์น
1. Download and install the public signing key:
$ rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
2. /etc/yum.repos.d/์ elasticsearch.repo ์์ฑ
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
3. yum install elasticsearch
sudo yum install elasticsearch
4. ์๋น์ค ๋ฑ๋ก ๋ฐ ์คํ
$ sudo systemctl enable elasticsearch.service
$ sudo service elasticsearch start
โป Elastic Search ๊ฒฝ๋ก
Install path: /usr/share/elasticsearch
config file path: /etc/elasticsearch
Init script path: /etc/init.d/elasticsearch
ํ ์คํธ
$ curl -XGET 127.0.0.1:9200
{
"name" : "localhost.localdomain",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "jojjGB_oRZu4e0sY0jQflw",
"version" : {
"number" : "7.3.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "de777fa",
"build_date" : "2019-07-24T18:30:11.767338Z",
"build_snapshot" : false,
"lucene_version" : "8.1.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
'curl: (7) : Failed connect to localhost:9200; ์ฐ๊ฒฐ์ด ๊ฑฐ๋ถ๋จ'์ด ์ถ๋ ฅ๋๋ ๊ฒฝ์ฐ.
/etc/elasticsearch/elasticsearch.yml ํ์ผ์์ ์๋ ์ค์ ์ ํ์ธํ๋ค. (์ฃผ์ ํด์ )
network.host: 127.0.0.1
http.port: 9200
์คํ ํ ์ด๋ ์ ๋ ๊ธฐ๋ค๋ ค์ผ elastic search๊ฐ ์ ์ ๋์ํ๋ฏ๋ก ์์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค๋ฉด ๊ธฐ๋ค๋ ธ๋ค๊ฐ ๋ค์ ๋ช ๋ น์ ๋ ๋ ค๋ณธ๋ค.
์ถ์ฒ
https://soye0n.tistory.com/172
๋ฐ์ํ
'Server > Elastic Search' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๋๊ธ
์ด ๊ธ ๊ณต์ ํ๊ธฐ
-
๊ตฌ๋
ํ๊ธฐ
๊ตฌ๋ ํ๊ธฐ
-
์นด์นด์คํก
์นด์นด์คํก
-
๋ผ์ธ
๋ผ์ธ
-
ํธ์ํฐ
ํธ์ํฐ
-
Facebook
Facebook
-
์นด์นด์ค์คํ ๋ฆฌ
์นด์นด์ค์คํ ๋ฆฌ
-
๋ฐด๋
๋ฐด๋
-
๋ค์ด๋ฒ ๋ธ๋ก๊ทธ
๋ค์ด๋ฒ ๋ธ๋ก๊ทธ
-
Pocket
Pocket
-
Evernote
Evernote
๋ค๋ฅธ ๊ธ
-
[Elastic Search] ์ฌ๋ฌ ๊ฐ์ Shard๋ก ์ธํด ๊ฒ์ ๊ฒฐ๊ณผ(Score)๊ฐ ์ ํํ์ง ์์ ๋
[Elastic Search] ์ฌ๋ฌ ๊ฐ์ Shard๋ก ์ธํด ๊ฒ์ ๊ฒฐ๊ณผ(Score)๊ฐ ์ ํํ์ง ์์ ๋
2019.08.27 -
[Elastic Search] ์ธ๋ถ์์ Elastic Search API ์ฌ์ฉํ๊ธฐ (Production mode)
[Elastic Search] ์ธ๋ถ์์ Elastic Search API ์ฌ์ฉํ๊ธฐ (Production mode)
2019.08.20