Skip to content

Instantly share code, notes, and snippets.

@NoUseFreak
Created May 6, 2013 20:57
Show Gist options
  • Save NoUseFreak/5528128 to your computer and use it in GitHub Desktop.
Save NoUseFreak/5528128 to your computer and use it in GitHub Desktop.
Install solr on a mac.
  • Make sure you have homebrew installed.
  • Install solr.
    brew install solr
  • Make a data folder and copy the example multicore instance. mkdir /var/solr && cp /usr/local/Cellar/solr/4.2.1/libexec/example/multicore /var/solr/multicore
  • Set the permissions correct.
    sudo chown -R `whoami` /usr/local/Cellar/solr/ /var/solr
  • Start solr. solr /var/solr/multicore
  • Access solr at http://localhost:8983/solr/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment