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.

Revisions

  1. NoUseFreak created this gist May 6, 2013.
    10 changes: 10 additions & 0 deletions install-solr.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    - 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/