Skip to content

Instantly share code, notes, and snippets.

@apueee
Forked from ajaxray/install_solr_ubuntu.md
Created June 28, 2013 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apueee/5886198 to your computer and use it in GitHub Desktop.
Save apueee/5886198 to your computer and use it in GitHub Desktop.

Open tarminal and Run the following commands -

sudo apt-get install openjdk-7-jdk
sudo apt-get install solr-tomcat
sudo service tomcat6 start

Done! if nothing exceptional happened, Solr is installed and running under tomcat server. You can check it at http://localhost:8080/solr

Paths

  • Solr path: /usr/share/solr/
  • Config files: /usr/share/solr/conf/
  • Schema file: /usr/share/solr/conf/schema.xml

Notes

  • I've used Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-virtual x86_64) on Amazon EC2 for these testing
  • Run sudo apt-get update first if needed
  • Taken helps from here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment