diff --git a/vagrant/centos.sh b/vagrant/centos.sh index 599ab65..6cda85f 100755 --- a/vagrant/centos.sh +++ b/vagrant/centos.sh @@ -19,7 +19,7 @@ fi yum -y groupinstall "Development tools" -yum install -y git unzip mercurial libev-devel gettext libxml2-devel libxslt-devel openssl-devel libffi-devel libjpeg-turbo-devel zlib-devel freetype-devel postgresql-devel python-devel postgresql-server +yum install -y git unzip mercurial libev-devel gettext libxml2-devel libxslt-devel openssl-devel libffi-devel libjpeg-turbo-devel zlib-devel freetype-devel postgresql-devel python-devel postgresql-server java ### Install Virtualenvwrapper which pip2.7 > /dev/null || diff --git a/vagrant/provision.sh b/vagrant/provision.sh index 0b55f9b..4aee534 100755 --- a/vagrant/provision.sh +++ b/vagrant/provision.sh @@ -2,6 +2,16 @@ set -x +### Install solr + +curl http://archive.apache.org/dist/lucene/solr/4.10.2/solr-4.10.2.tgz > solr-4.10.2.tgz +tar xf solr-4.10.2.tgz +mv solr-4.10.2 /etc/solr-4.10.2 +rm -r solr-4.10.2.tgz +cp /etc/solr-4.10.2/example/solr/collection1/conf/lang/stopwords_en.txt /etc/solr-4.10.2/example/solr/collection1/conf/stopwords_en.txt +chown vagrant:vagrant /etc/solr-4.10.2 + +### Configure Colab export VIRTUALENVWRAPPER_PYTHON="/usr/bin/python2.7" set +e diff --git a/vagrant/ubuntu.sh b/vagrant/ubuntu.sh index 2f5cfd5..cf860e9 100755 --- a/vagrant/ubuntu.sh +++ b/vagrant/ubuntu.sh @@ -5,7 +5,7 @@ set -ex ### Install dependencies apt-get update -apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev postgresql virtualenvwrapper python-pip -y +apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev postgresql virtualenvwrapper python-pip java -y ### Create conf directory -- libgit2 0.21.2