๋กœ์ผ“๐Ÿพ
article thumbnail

 

์„œ๋ฒ„์— ElasticSearch๋ฅผ ๊ตฌ์ถ•ํ–ˆ์œผ๋ฉด ๋‚ด๋ถ€ ๋ง๊ณ  ์™ธ๋ถ€์—์„œ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.

 

๋”ฐ๋ผ์„œ ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” ์™ธ๋ถ€ ์ ‘๊ทผ์— ๋Œ€ํ•ด ์•Œ์•„๋ด…๋‹ˆ๋‹ค. 

 

์„œ๋ฒ„๋Š” CentOS7์ด๊ณ , ElasticSearch์€ 7.13.4๋ฒ„์ „์ž…๋‹ˆ๋‹ค.

 

๋‹น์—ฐํžˆ ElasticSearch๋Š” ์ •์ƒ ์„ค์น˜๋˜์–ด์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

 

[ElasticSearch] ์„œ๋ฒ„ ๋‚ด ElasticSearch ์„ค์น˜ํ•˜๊ธฐ

์„œ๋ฒ„๋Š” CentOS7 ๊ธฐ์ค€์ž…๋‹ˆ๋‹ค. Elastic Search๋Š” JVM์—์„œ ๋Œ์•„๊ฐ€๊ธฐ ๋•Œ๋ฌธ์— 1.8 ์ด์ƒ์˜ JDK๊ฐ€ ์„ค์น˜๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. JDK๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋˜์—ˆ๋‹ค ๊ฐ€์ •ํ•˜๊ฒŒ ์ง„ํ–‰ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. [STEP1] Elastic Search repo ํŒŒ์ผ ์ƒ์„ฑ $..

kingofbackend.tistory.com

 

[STEP1] ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด์ค๋‹ˆ๋‹ค.

$ vi /home/es/elasticsearch-7.13.4/config/elasticsearch.yml

 

[STEP2] ์•„๋ž˜ ๋นจ๊ฐ„์ƒ‰ ๋ฐ‘์ค„ ์นœ ๊ณณ์˜ ์ฃผ์„์„ ํ’€์–ด์ฃผ๊ณ  0.0.0.0์œผ๋กœ ์ˆ˜์ •ํ•ด์ค๋‹ˆ๋‹ค.

 

[STEP3] ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ๋นจ๊ฐ„์ƒ‰ ๋ฐ‘์ค„ ์นœ ๊ณณ์˜ ์ฃผ์„์„ ํ’€๊ณ  ์•„๋ž˜์™€ ๊ฐ™์ด ์ˆ˜์ •ํ•ด์ค๋‹ˆ๋‹ค.

 

 

[STEP4] ์ดํ›„ ElasticSearch:ํฌํŠธ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ์ž˜ ์‹คํ–‰๋˜๋Š”๊ฑธ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

* ์ฐธ๊ณ  : ๋งŒ์•ฝ ์ด๋ ‡๊ฒŒ ํ–ˆ๋Š”๋ฐ ์•ˆ๋˜์‹œ๋Š” ๋ถ„๋“ค์€ ์„œ๋ฒ„์—์„œ ์™ธ๋ถ€ํฌํŠธ๋ฅผ ํ—ˆ์šฉํ–ˆ๋Š”์ง€ ํ™•์ธํ•˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค.

profile on loading

Loading...