This buildout is a provisioning setup for the Open Source Search Engine Web-Wrapper Apache Solr/Lucene.
To use Solr you need a Java Runtime Environment. In order to run this buildout Python 2.4+ is required, as additional Python Services as Supervisor a Python 2.6+ is recommended.
# Install Java Runtime Environment to run jetty/solr
zypper install java-1_7_0-ibm
# install GIT to use this buildout in version control
zypper install git git-core
sudo apt-get install
sudo apt-get install git
git clone https://github.com/loechel/solr.buildout.git
cd solr.buildout
python bootstrap.py
If the Checkout from GitHub fails due to proxy / ssl issues, set git flag to ignore ssl checks:
git config --global http.sslVerify false
This buildout need a set of login and password for Supervisor. As you should never have usernames and passwords in version control, you have to create a secrets.cfg file that contains those required secrets.
cp secrets.cfg.tmpl secrets.cfg
This buildout contains 3 major cfg-files:
- buildout.cfg
- master.cfg
- slave.cfg
you could run
# run for buildout.cfg
./bin/buildout
# run for master/slave.cfg
./bin/buildout -c master.cfg
# or
./bin/buildout -c slave.cfg