elasticsearch-jdbc-2.3.3 安装

来源:互联网 发布:淘宝宝贝详情模板下载 编辑:程序博客网 时间:2024/06/05 19:34

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

其中的<version>换成版本 2.3.3 就好了。

3.设置环境变量

# vi /etc/profile

输入内容:export JDBC_IMPORTER_HOME=/elasticsearch-jdbc-2.3.3

4.使变量生效

# source /etc/profile







原创粉丝点击