Skip to content

Instantly share code, notes, and snippets.

@deanproctor
Created March 23, 2015 16:16
Show Gist options
  • Save deanproctor/3d2feb5c91d42a76ce0c to your computer and use it in GitHub Desktop.
Save deanproctor/3d2feb5c91d42a76ce0c to your computer and use it in GitHub Desktop.
Install solr-couchbase-plugin on Ubuntu 12.04
apt-get update
apt-get install -y software-properties-common python-software-properties
add-apt-repository -y ppa:webupd8team/java
apt-get update
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
apt-get install -y oracle-java7-installer openjdk-7-jdk ant1.7 git curl
git clone http://github.com/lucidworks/solr-couchbase-plugin
cd solr-couchbase-plugin
perl -pi -e "s/failonerror=\"true\" \/>//" build.xml
perl -pi -e "s/ignorewhitespace=\"true\"/ignorewhitespace=\"true\" \/>/" build.xml
ant run-solr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment