Unable to setup Solr on Linux WebApp

Copper Contributor

Hi there,

 

I have trying to setup the Solr app on a Linux WebApp as a PaaS, but haven't gotten any success yet. There are many online discussions that talk about setting up the Solr on Windows WebApp, but not linux.

 

Here is what I have tried so far:

1 - Added Web.conf in wwwroot - this is similar to setting it up on Windows WebApp, but this hasn't worked.

2 -  Installing Solr as a service - I tried executing <solr_extraction_dir>/bin/install_solr_as_service.sh, but I get error that there is no user solr.

3 - Adding startup command "java -jar /home/site/wwwroot/server/start.jar" and I get following error.

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
java -jar $JETTY_HOME/start.jar --help # for more information

4 - Solr on port 80 - tried running Solr on port 80 using "solr start -p 80", but can't access the SOLR, using the webapp URL.

 

Any help with steps would be appreciated.

0 Replies