Reputation: 2588
I am trying to install Solr 4.6 with Drupal 7. For some reason, I am not able to. Probably, I am trying to install it on a remote server (my website server).
Apache Solr search
and Apache Solr framework
modules in admin/modulesI am stuck after this. I know I have to access my server at this address ~/srv/www/solr/example
through command prompt (Terminal) to start the Apache Service but how can I do that?
Plus, on the site, it's written that I can access the Solr admin interface by visiting
http://localhost:8983/solr/admin
, but how can I do that when my site is located on a remote server?
Please help.
Thanks.
Upvotes: 1
Views: 499
Reputation: 1526
I believe you have solr 4.6 (rather than 4.2) from the link you presented but the steps are the same for both.
Although Solr can run in any Java Servlet Container of your choice, the example index includes a small installation of Jetty.
To launch Jetty with the Solr WAR, and the example configs, just run the start.jar ...
user:~$ cd ~/srv/www/solr/example
user:~/srv/www/solr/example$ java -jar start.jar
At that point the server should be listening on 0.0.0.0:8983.
You can then access this server using http://remote.ip.or.hostname:8983/solr/admin
(ex. http://8.8.8.8:8983/solr/admin
)
You may want to consult the tutorial in the docs for further information.
Upvotes: 1