通过tomcat配置solr 4.10.3

1

2  war包在哪里: dist/solr..war  --> tomcat/webapp/ 启动tomcat就解压缩

3 关闭tomcat,删除war包;

4 几个jar包 example/lib/ext 下的jar包 --> tomcat/webapps/solr/WEB-INF/lib/

5 example/solr   复制到,一般和tomcat相同路径,solrhome

  [example] cp -r solr /usr/local/solr/solrhome 

6 solr配置solrhome :solr的web.xml  <env-entry> 的路径为solrhome

7 启动tomcat ,chkconfig iptables on 关闭: chkconfig iptables off 关闭

8 http访问solr

猜你喜欢

转载自www.cnblogs.com/wtjqs/p/9720086.html