Skip to content

Instantly share code, notes, and snippets.

@ChillarAnand
Created March 16, 2016 13:58
Show Gist options
  • Select an option

  • Save ChillarAnand/7eae2eef737a445da5d7 to your computer and use it in GitHub Desktop.

Select an option

Save ChillarAnand/7eae2eef737a445da5d7 to your computer and use it in GitHub Desktop.
solr setup
# Ubuntu installation instructions.
1. Download solr from http://www.apache.org/dyn/closer.cgi/lucene/solr/5.2.1 and unzip it.
2. Install open jdk
$sudo apt-get install openjdk-7-jdk
3. Create a virtualenv
$pip install virtualenvwrapper
$export WORKON_HOME=~/Envs
$mkdir -p $WORKON_HOME
$source /usr/local/bin/virtualenvwrapper.sh
$mkvirtualenv search
4. Install packages in vritualenv
$pip install django==1.7.7
$pip install django-haystack==2.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment