Solr is a search platform which is built on Apache Lucene. It makes search easier and faster. Solr can be installed along with tomcat or jetty. This post explains the installation based on jetty.
First you should install java and jetty as mentioned in the link here.
We will install solr also in /opt. First download the latest version of solr from https://archive.apache.org/dist/lucene/solr/
I am going to download version 4.10.4. Once downloaded, uncompress it and copy the war file from dist directory to jetty webapps folder.
[root@test ~]#cd /opt
[root@test ~]# wget https://archive.apache.org/dist/lucene/solr/4.10.4/solr-4.10.4.tgz
[root@test ~]# tar -xzvf solr-4.10.4.tgz
[root@test ~]#cp solr-4.10.4/dist/solr-4.10.4.war /opt/jetty/webapps/solr.war
Now, a few more files need to be ...Read More