2 Apache Solr 3.6.x installation.

-Go to /usr/local directory by the command:
cd /usr/local
-Download Solr 3.6.1 by the command:
wget http://www.apache.org/dist/lucene/solr/3.6.1/apache-solr-3.6.1.tgz
-Extract the apache-solr-3.6.1.tgz file by the command:
tar xvzf apache-solr-3.6.1.tgz
-Change to the sub directory apache-solr-3.6.0/dist by the following command:
cd apache-solr-3.6.1/dist
-Copy file apache-solr-3.6.1/dist/apache-solr-3.6.1.war into tomcat webapps by the command:
cp apache-solr-3.6.1/dist/apache-solr-3.6.1.war /var/lib/tomcat6/webapps/
-Restart tomcat6 by the command
/etc/init.d/tomcat6 restart
-Test solr installation
Open browser and try to access the url in the following format:
Example: http://localhost:8080/solr