新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
CentOS7下Solr6.6.0單機部署
簡單記錄centos 7下 Solr 6.6.0 單機部署過程。
安裝JDK
安裝JDK

yum install -y Java-1.8.0-openjdk
下載Solr
wget http://mirror.bit.edu.cn/apache/lucene/solr/6.6.0/solr-6.6.0.tgz
官方地址:http://www.apache.org/dyn/closer.lua/lucene/solr/6.6.0
安裝、配置Solr
解壓安裝包
tar -zxvf solr-6.6.0.tgz
cd /usr/solr-6.6.0
啟動Solr
bin/solr start -force
創(chuàng)建Core
bin/solr create -c test -force
修改數(shù)據(jù)目錄
vi server/solr/test/conf/solrconfig.xml
${solr.data.dir:/data/solr/test}
導(dǎo)入文檔
bin/post -c test example/exampledocs/*.xml
Solr管理界面
host:8983
搜索
host:8983/solr/test/select?q=video
異常處理
1.關(guān)于用戶權(quán)限,在非root權(quán)限下運行,注意權(quán)限的分配
文章標題:CentOS7下Solr6.6.0單機部署
網(wǎng)頁鏈接:http://www.dlmjj.cn/article/dphoijj.html


咨詢
建站咨詢
