github上的步驟:https://github.com/jprante/elasticsearch-jdbc
wget下載安裝包
1. # wget http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc/<version>/elasticsearch-jdbc-<version>-dist.zip
解壓安裝包
2. #
unzip elasticsearch-jdbc-<version>-dist.zip
其中的
換成版本 2.3.3 就好了。<version>
3.設置環境變量
# vi /etc/profile
輸入內容:export JDBC_IMPORTER_HOME=/elasticsearch-jdbc-2.3.3
4.使變量生效
# source /etc/profile