1、查看sql插件github
https://github.com/NLPchina/elasticsearch-sql
2、安裝
1、cd elasticsearch #進入目錄 2、./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.3.0/elasticsearch-sql-5.4.3.0.zip
3、下載SQL的Server
wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip
4、解壓編譯安裝
unzip es-sql-site-standalone.zip cd site-server/ npm install express --save
5、修改啟動端口,然后啟動server
1、修改SQL的Server的端口 vi site_configuration.json 2、啟動服務 node node-server.js &
6、訪問前端

6、訪問前端
[6, Fǎngwèn qiánduān]
6, front-end access
