Created
September 15, 2014 17:45
-
-
Save smali-kazmi/b6e8a59fa5a92290c1bc to your computer and use it in GitHub Desktop.
Install Elasticsearch plugin (elasticsearch-river-jdbc) for Ubuntu on Vagrant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/share/elasticsearch | |
sudo ./bin/plugin --install jdbc --url http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/1.1.0.2/elasticsearch-river-jdbc-1.1.0.2-plugin.zip | |
sudo curl -o mysql-connector-java-5.1.28.zip -L 'http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.28.zip/from/http://cdn.mysql.com/' | |
sudo unzip mysql-connector-java-5.1.28.zip -d mysql-connector | |
sudo cp mysql-connector/mysql-connector-java-5.1.28/mysql-connector-java-5.1.28-bin.jar ./plugins/jdbc/ | |
sudo /etc/init.d/elasticsearch restart | |
#Create new index using example commands on https://github.com/jprante/elasticsearch-river-jdbc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment