摘要: 本安装过程是基于http://www.cnblogs.com/AndreMouche/archive/2011/07/06/2099390.html安装solr的基础上展开的。1.只要将example/multicore拷贝到某个目录,以此目录作为solr.home:这里我将该文件拷贝到了/var/lib/tomcat6/下:sudo cp -R software/apache-solr-1.4.1/example/multicore/ /var/lib/tomcat6/2.然后设置”solr.home=/path/to/multicore”:根据上次部署的solr情况,找到 /var/lib 阅读全文
posted @ 2011-07-31 18:08 AndreMouche 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 安装php-solr扩展下载安装:libxml2 2.6.31或以上版本libcurl 7.18.0或以上版本到php官网下载solr:http://pecl.php.net/package/solr然后:/usr/local/php5/bin/phpize./configure --with-php-config=/usr/local/php5/bin/php-configsudo makesudo make testsudo make install安装完后会有类似这样的提示:Installing shared extensions: /usr/local/lib/php/extensio 阅读全文
posted @ 2011-07-31 18:05 AndreMouche 阅读(3698) 评论(0) 推荐(0) 编辑