LoginSignup
1
2

More than 5 years have passed since last update.

Elasticsearch-headの導入方法 (OS: Windows 7)

Last updated at Posted at 2017-07-25

背景

ElasticSearchのプラグインであるelasticsearch-headを以下のように導入しようとしたところ、エラー発生

コマンド:elasticsearch-plugin.bat install mobz/elastic-search-head

es_plugin_error.png

ERROR: Unknown plugin mobz/elasticsearch-head (不明のプラグイン:mobz/elasticsearch-head)

方法

参考:https://github.com/mobz/elasticsearch-head

  1. コマンドプロンプトに git clone https://github.com/mobz/elasticsearch-head.git と入力し、elasticsearch-headフォルダをダウンロード
    参考資料にはgit://github.com/mobz/elasticsearch-head.gitと記載があるが、エラーが起きる場合は上記を使用。
  2. elasticsearch-headのフォルダに入る cd elasticsearch-head
  3. インストール npm install
  4. 動かす npm run start

動いた

localhost:9100より確認可能

localhost9100.png

バッチファイル

いちいち入力するのが面倒なのでバッチファイルを書いた
bat:es-head.bat
cd "Desktop/elasticsearch-head"
npm run start

gitによるダウンロードでエラー

  • 考えられる原因:proxyを設定していない
  • 解決方法:コマンドプロンプトから以下を設定
    • git config --global http.proxy http://***.***.***.***:port番号
    • git config --global https.proxy http://***.***.***.***:port番号
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2