elasticsearch7.0ビルド可視化プラグイン学習3を

免責事項:この記事はブロガーオリジナル記事ですが、許可ブロガーなく再生してはなりません。https://blog.csdn.net/qq_29556507/article/details/89669575

私の環境はubuntu16.04メモリ2グラムであります

 

1.ノードをインストールします。

須藤はaptインストールnodejs-レガシー-y

2.ダウンロード

sudo git clone git://github.com/mobz/elasticsearch-head.git

sudoの解凍 elasticsearch-head.zip

3.インストールの作男

cd elasticsearch-head
sudo npm install -g grunt --registry=https://registry.npm.taobao.org
npm install

 

elasticsearchヘッドディレクトリでnode_modules /イサキイサキ何バイナリプログラム、あなたが実行する必要がない場合:

sudoのNPM作男をインストール--save 

 

4.設定ファイルelasticsearchヘッドGruntfile.jsを変更

接続ノード構成の変更を変更する前に

 

変更されました

 

 

HTTPを_siteを変更/ app.js変更:// localhostを:9200のESのネイティブIPポートへのフィールドとあなたのIPアドレスが同じである修正

 

5.プロファイルelasticsearchを変更 

 以下を追加しelasticsearch.ymlファイルを変更します。

# 是否支持跨域
http.cors.enabled: true

# *表示支持所有域名
http.cors.allow-origin: "*"

6.(バックグラウンドで実行されている)ヘッドプラグサービスを開始

/elasticsearch-head/node_modules/grunt/bin/grunt server &

 

おすすめ

転載: blog.csdn.net/qq_29556507/article/details/89669575
おすすめ