I have installed JDK 1.7 in order to run solr.
I downloaded solr and tried the following command

tar xzf solr-4.2.1-src.tgz 

There was no change here though. But what is the next step to install ? I tried extracting it but i am unsure on the steps.

After this in one of the documentation it is said to run start.jar which i again fail !! Tried with the following one

java -jar start.jar 

ERROR is -

Unable to access jarfile start.jar 

By the way i was following this documentation, Click

Any help, Appreciated !!!

1 Answer

Download the zip version:

cd /tmp wget 

Next unzip the package:

unzip solr-4.2.1.zip 

Move newly created directory to /opt

sudo mv solr-4.2.1 /opt/ 

Then enter the newly created directory

cd /opt/solr-4.2.1/example/ 

There you will find an start.jar file, launch it:

java -jar start.jar 

Follow this tutorial:

3