Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Last active December 17, 2015 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ajaxray/5579336 to your computer and use it in GitHub Desktop.
Save ajaxray/5579336 to your computer and use it in GitHub Desktop.
Installing Solr on Ubuntu in minimum steps

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