Hello,

I am trying to install Solr 6.0.0 and have been successful with the default
installation, following the instructions provided on the Apache Solr
website. However, I do not want Solr running on port 8983, I want it to run
on port 80. I started a new Ubuntu 14.04 VM, installed open JDK 8, then
installed Solr with the following commands:

Command: tar xzf solr-6.0.0.tgz solr-6.0.0/bin/install_solr_service.sh
--strip-components=2
Response: None, which is good.

Command: ./install_solr_service.sh solr-6.0.0.tgz -p 80
Response: Misplaced or Unknown flag -p

So I tried...
Command: ./install_solr_service.sh solr-6.0.0.tgz -i /opt -d /var/solr -u
solr -s solr -p 80
Response: A dump of the log, which is INFO only with no errors or warnings,
at the top of which is "Solr process 4831 from /var/solr/solr-80.pid not
found"

If I look in the /var/solr directory I find a file called solr-80.pid, but
nothing else. What did I miss? Previous versions of Solr, which I deployed
with Tomcat instead of Jetty, allowed me to control this in the server.xml
file in /etc/tomcat7/, but obviously this no longer applies. I like the ease
of the installation script; I just want to be able to control the port
assignment. Any help is appreciated! Thanks!

-Teague

PS - Please resist the urge to ask me why I want it on port 80. I am well
aware of the security implications, etc., but regardless I still need to
make this operational on port 80. Cheers!

Reply via email to