Elasticsearch6.3.0 헤드 플러그인 설치

1019 단어
    
Elasticsearch6.0  head    
https://blog.csdn.net/qq_36663951/article/details/80665943
elasticsearch-head      npm install,     Head  phantomjs    
https://blog.csdn.net/u012878005/article/details/80067263

#     , head      es  
http.cors.enabled: true  
http.cors.allow-origin: "*"


wget  https://github.com/mobz/elasticsearch-head/archive/master.zip
apt-get install -y  zip
yum install -y unzip zip

wget https://npm.taobao.org/mirrors/node/latest/node-v10.6.0-linux-x64.tar.gz
tar -zxvf node-v10.6.0-linux-x64.tar.gz


NODE_HOME=/home/ubuntu/node-v4.4.7-linux-x64
SPARK_HOME=/home/ubuntu/spark-2.3.1-bin-hadoop2.7
JAVA_HOME=/opt/es/jdk1.8.0_171
CLASSPATH=$JAVA_HOME/lib.tools.jar
PATH=$PATH:$JAVA_HOME/bin:$SPARK_HOME/bin:$NODE_HOME/bin
export PATH JAVA_HOME CLASSPATH SPARK_HOME  NODE_HOME


cd /opt/elasticsearch-head-master
npm install -g grunt-cli  //      node_modules   
grunt -version

vi Gruntfile.js

 elasticsearch-head-master   

npm install(        )
grunt server


좋은 웹페이지 즐겨찾기