{"id":495,"date":"2018-08-08T20:19:48","date_gmt":"2018-08-08T11:19:48","guid":{"rendered":"http:\/\/dong1lkim.oboki.net\/?p=495"},"modified":"2019-09-01T22:21:34","modified_gmt":"2019-09-01T13:21:34","slug":"elasticsearch-elasticsearch-6-%eb%b2%84%ec%a0%84%ec%97%90%ec%84%9c-head-plugin-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/oboki.net\/workspace\/data-engineering\/elasticsearch\/elasticsearch-elasticsearch-6-%eb%b2%84%ec%a0%84%ec%97%90%ec%84%9c-head-plugin-%ec%84%a4%ec%b9%98\/","title":{"rendered":"[ElasticSearch] ElasticSearch 6 \ubc84\uc804\uc5d0\uc11c Head Plugin \uc124\uce58"},"content":{"rendered":"<h1>ElasticSearch Plugin Head Installation<\/h1>\n<blockquote><p>\n  head plugin \uc744 \uc774\uc6a9\ud574\uc11c cluster \uc0c1\ud0dc, index \uc815\ubcf4, \uac04\ub2e8\ud55c \ucffc\ub9ac \uc218\ud589 \ub4f1\uc758 \uae30\ub2a5\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4.\n<\/p><\/blockquote>\n<p>elasticsearch 6 \ubc84\uc804\uc5d0\uc11c\ub294 plugin installer\ub97c \uc774\uc6a9\ud55c \uc124\uce58\uac00 \ubd88\uac00\ub2a5\ud558\uc5ec \uad73\uc774 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ubcc4\ub3c4 \uc6f9 \uc11c\ube44\uc2a4\uac00 \ud544\uc694\ud558\ub2e4. nodejs \ub97c \ud1b5\ud574\uc11c \uc6f9\uc11c\ube44\uc2a4\ub97c \ud558\uace0, \uc6f9 \uc18c\uc2a4\ub294 github \uc5d0\uc11c \ubcc4\ub3c4\ub85c \ub0b4\ub824\ubc1b\ub294\ub2e4.<\/p>\n<blockquote><p>\n  elasticsearch 6 \ubc84\uc804\ubd80\ud130\ub294 X-PACK, Kibana \ud655\uc7a5\uc744 \ud1b5\ud574 \uc778\ub371\uc2a4 \ubaa8\ub2c8\ud130\ub9c1,\uad00\ub9ac, \ucffc\ub9ac\uac00 \uac00\ub2a5\ud558\ub2e4.\n<\/p><\/blockquote>\n<h2>nodejs \ubc14\uc774\ub108\ub9ac \uc900\ube44<\/h2>\n<p>\ub2e4\uc74c URL\uc5d0\uc11c nodejs \ubc14\uc774\ub108\ub9ac \ub2e4\uc6b4\ub85c\ub4dc.<br \/>\n<a href=\"https:\/\/nodejs.org\/ko\/download\/\"><a href=\"https:\/\/nodejs.org\/ko\/download\/\">https:\/\/nodejs.org\/ko\/download\/<\/a><\/a><\/p>\n<h2>nodejs \uc124\uce58<\/h2>\n<pre><code class=\"bash\">tar -xvf node-v8.11.2-linux-x64.tar.xz -C \/app\/node\n<\/code><\/pre>\n<h2>grunt \uc124\uce58<\/h2>\n<pre><code class=\"bash\">npm install -g grunt\n<\/code><\/pre>\n<h2>head web source \ub2e4\uc6b4\ub85c\ub4dc<\/h2>\n<pre><code class=\"bash\">wget https:\/\/github.com\/mobz\/elasticsearch-head\/archive\/master.zip\nunzip master.zip\nmv .\/elasticsearch-head-master\/* \/app\/head\/.\n<\/code><\/pre>\n<h2>head install<\/h2>\n<pre><code class=\"bash\">cd \/app\/head\/\nnpm install\n<\/code><\/pre>\n<h2>\uc811\uc18d host \uc815\ubcf4 \uc218\uc815<\/h2>\n<p><code>vi Gruntfile.js<\/code><\/p>\n<pre><code class=\"json\">    connect: {\n      server: {\n        options: {\n          hostname: 'node5.big',\n          port: 9100,\n          base: '.',\n          keepalive: true\n        }\n      }\n    }\n<\/code><\/pre>\n<h2>elasticsearch.yml \uc218\uc815<\/h2>\n<p>head \uac00 \uc811\uadfc\ud560 elasticsearch cluster\uc758 <code>elasticsearch.yml<\/code>\uc5d0 \ub2e4\uc74c \ub0b4\uc6a9\uc744 \ucd94\uac00\ud55c\ub2e4.<\/p>\n<pre><code class=\"yml\">http.cors.enabled: true\nhttp.cors.allow-origin: \"*\"\n<\/code><\/pre>\n<h2>head \uc6f9 \uc11c\ube44\uc2a4 \uc2e4\ud589<\/h2>\n<pre><code class=\"bash\">npm run start --prefix \/app\/head &amp;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ElasticSearch Plugin Head Installation head plugin \uc744 \uc774\uc6a9\ud574\uc11c cluster \uc0c1\ud0dc, index \uc815\ubcf4, \uac04\ub2e8\ud55c \ucffc\ub9ac \uc218\ud589 \ub4f1\uc758 \uae30\ub2a5\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. elasticsearch 6 \ubc84\uc804\uc5d0\uc11c\ub294 plugin installer\ub97c \uc774\uc6a9\ud55c \uc124\uce58\uac00 \ubd88\uac00\ub2a5\ud558\uc5ec \uad73\uc774 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ubcc4\ub3c4 \uc6f9 \uc11c\ube44\uc2a4\uac00 \ud544\uc694\ud558\ub2e4. nodejs \ub97c \ud1b5\ud574\uc11c \uc6f9\uc11c\ube44\uc2a4\ub97c \ud558\uace0, \uc6f9 \uc18c\uc2a4\ub294 github \uc5d0\uc11c \ubcc4\ub3c4\ub85c \ub0b4\ub824\ubc1b\ub294\ub2e4. elasticsearch 6 \ubc84\uc804\ubd80\ud130\ub294 X-PACK, Kibana \ud655\uc7a5\uc744 \ud1b5\ud574 \uc778\ub371\uc2a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[25,146,50],"class_list":["post-495","post","type-post","status-publish","format-standard","hentry","category-elasticsearch","tag-elasticsearch","tag-plugin","tag-50"],"_links":{"self":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":3,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":1256,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/495\/revisions\/1256"}],"wp:attachment":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}