编辑如何解决Ubuntu 10.04上多核Solr的安装问题?
我已经写了快HOWTO上越来越多打算:http://charlesleifer.com/blog/solr-ubuntu-revisited/
继从以下两个站点的说明,我已经安装了Tomcat 6和Solr 1.4。
- http://gist.github.com/204638
- https://wiki.fourkitchens.com/display/TECH/Solr+1.4+on+Ubuntu+9.10+and+CentOS+5
我已经成功地得到它,并与多核支持运行9.04的服务器上运行,但在10.04我似乎无法得到它的工作。
我能为localhost达到:XXXX/Solr的/在10.04盒子,看到一个链接到Solr管理,但下面的链接带我到一个404页面的输出如下:
/solr/admin/
HTTP Status 404 - missing core name in path
The requested resource (missing core name in path) is not available
我也无法访问/ Solr的/ site1的/我将特殊 - 它同样会返回一个404
<!-- from /var/solr/solr.xml, site dirs exist -->
<cores adminPath="/admin/cores">
<core name="site1" instanceDir="site1" />
<core name="site2" instanceDir="site2" />
</cores>
<!-- from /etc/tomcat6/Catalina/localhost/solr.xml -->
<Context docBase="/var/solr/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/var/solr" override="true" />
</Context>
Bah!配置失败。得到它修复。 – coleifer 2010-05-15 02:54:55
我有一篇博客文章,详细介绍如何一步一步做到这一点:http://charlesleifer.com/blog/solr-ubuntu-revisited/ – coleifer 2012-07-13 18:39:08