I have Ubuntu 14.10
and now I want to install and try Apache Solr
. First of all, I visited official Apache Solr
page and downloaded a zip archive. Then I unzipped it in one folder called solr
, so that this manually created folder now contains these files:
contexts/
libs/
modules/
...
start.jar
Among those files I see start.jar
and, so, following one of the tutorials I tried this command (inside this very folder):
$ java -jar start.jar
But, as a result, I have this error message: WARNING. Nothing to start, exiting...
. I wonder what I'm doing wrong.
If you are running Windows, you can start Solr by running bin\solr. cmd instead. This will start Solr in the background, listening on port 8983. When you start Solr in the background, the script will wait to make sure Solr starts correctly before returning to the command line prompt.
According to http://lucene.apache.org/solr/quickstart.html the command to start Solr 5.2.1 is
bin/solr start -e cloud -noprompt
The reference to start.jar is from an older tutorial to a start.jar in the examples folder.
Add --module=http
parameter.
Like this: $ java -jar start.jar --module=http
bin/solr
does exactly that, except it shows complete disrespect for Linux Standard Base (LSB)
. I would not recommend to use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With