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
- Solr path:
/usr/share/solr/
- Config files:
/usr/share/solr/conf/
- Schema file:
/usr/share/solr/conf/schema.xml
- 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