安装coreseek全文检索服务器
来源:互联网 发布:sql库存汇总 编辑:程序博客网 时间:2024/05/05 05:11
==安装coreseek全文检索服务器==
root:
groupadd xmp
useradd -g xmp -d /home/coreseek -m -s /bin/bash coreseek
passwd coreseek
coreseek:
cd ~
mkdir localfile; cd localfile
wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
tar zxvf coreseek-3.2.14.tar.gz
cd coreseek-3.2.14
##ubuntu-10.04安装前环境测试##
apt-get install make gcc g++ automake libtool mysql-client libmysqlclient15-dev libxml2-dev libexpat1-dev
##安装mmseg
$ cd mmseg-3.2.14
$ ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap #输出的warning信息可以忽略,如果出现error则需要解决
$ ./configure --prefix=/usr/local/mmseg3
$ make && make install #install may su to root and #chown -R coreseek:xmp mmseg3/
$ /usr/local/mmseg3/bin/mmseg -d /usr/local/mmseg3/etc src/t1.txt #测试
$ cd ..
##安装coreseek
$ cd csft-3.2.14
$ sh buildconf.sh #输出的warning信息可以忽略,如果出现error则需要解决
$ ./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --
with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql ##如果提示mysql问题,可以查看MySQL数据源安装说明
$ make && make install #install may su to root and #chown -R coreseek:xmp coreseek/
$ cd ..
##测试
cd testpack
/usr/local/coreseek/bin/indexer -c etc/csft.conf
/usr/local/coreseek/bin/indexer -c etc/csft.conf --all
/usr/local/coreseek/bin/indexer -c etc/csft.conf xml
/usr/local/coreseek/bin/search -c etc/csft.conf
/usr/local/coreseek/bin/search -c etc/csft.conf -a Twittter和Opera都提供了搜索服务
/usr/local/coreseek/bin/searchd -c etc/csft.conf
##如要停止搜索服务,请使用/usr/local/coreseek/bin/searchd -c etc/csft.conf --stop
##如要已启动服务,要更新索引,请使用/usr/local/coreseek/bin/indexer -c etc/csft.conf --all --rotate
##编辑mysql数据源的配置文件,并用该配置文件启动searchd服务
参考:http://www.coreseek.cn/products-install/install_on_bsd_linux/
root:
groupadd xmp
useradd -g xmp -d /home/coreseek -m -s /bin/bash coreseek
passwd coreseek
coreseek:
cd ~
mkdir localfile; cd localfile
wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
tar zxvf coreseek-3.2.14.tar.gz
cd coreseek-3.2.14
##ubuntu-10.04安装前环境测试##
apt-get install make gcc g++ automake libtool mysql-client libmysqlclient15-dev libxml2-dev libexpat1-dev
##安装mmseg
$ cd mmseg-3.2.14
$ ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap #输出的warning信息可以忽略,如果出现error则需要解决
$ ./configure --prefix=/usr/local/mmseg3
$ make && make install #install may su to root and #chown -R coreseek:xmp mmseg3/
$ /usr/local/mmseg3/bin/mmseg -d /usr/local/mmseg3/etc src/t1.txt #测试
$ cd ..
##安装coreseek
$ cd csft-3.2.14
$ sh buildconf.sh #输出的warning信息可以忽略,如果出现error则需要解决
$ ./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --
with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql ##如果提示mysql问题,可以查看MySQL数据源安装说明
$ make && make install #install may su to root and #chown -R coreseek:xmp coreseek/
$ cd ..
##测试
cd testpack
/usr/local/coreseek/bin/indexer -c etc/csft.conf
/usr/local/coreseek/bin/indexer -c etc/csft.conf --all
/usr/local/coreseek/bin/indexer -c etc/csft.conf xml
/usr/local/coreseek/bin/search -c etc/csft.conf
/usr/local/coreseek/bin/search -c etc/csft.conf -a Twittter和Opera都提供了搜索服务
/usr/local/coreseek/bin/searchd -c etc/csft.conf
##如要停止搜索服务,请使用/usr/local/coreseek/bin/searchd -c etc/csft.conf --stop
##如要已启动服务,要更新索引,请使用/usr/local/coreseek/bin/indexer -c etc/csft.conf --all --rotate
##编辑mysql数据源的配置文件,并用该配置文件启动searchd服务
参考:http://www.coreseek.cn/products-install/install_on_bsd_linux/
- 安装coreseek全文检索服务器
- Sphinx全文检索引擎和Coreseek全文检索服务器简介
- coreseek(sphinx)全文检索
- coreseek全文检索
- windows下全文检索引擎sphinx/coreseek的安装配置
- mongodb 中文全文检索 Coreseek
- (Linux)sphinx检索Coreseek中文全文检索引擎安装和使用
- Coreseek(Sphinx)全文检索 ImageMagick
- coreseek全文检索如何配置增量索引
- Coreseek支持中文utf8全文检索
- 中文全文检索之coreseek(一)
- Coreseek/sphinx全文检索的了解
- [ 笔记 ] coreseek/sphinx 全文检索简介
- Yii运用coreseek进行全文检索
- 在Ubuntu8.10下为PHP安装coreseek全文检索引擎支持的详细步骤
- 全文检索程序coreseek安装配置及注意的问题(平台ubuntu12.04)
- CoreSeek(全文检索引擎 Sphinx 中文版)安装使用指南(CentOS6.5)
- CoreSeek(全文检索引擎 Sphinx 中文版)安装使用指南(CentOS6.5)
- class Property Get、Property Let 使用说明
- prj0019
- 归去来兮辞
- JS与PHP向函数传递可变参数的区别
- EF框架的简单概述
- 安装coreseek全文检索服务器
- C标准库常见函数
- XLST学习笔记
- SAP Client
- 多重继承
- 每5分钟监控web服务器状态
- 迷宫寻找路径
- NeatUpload 网络上传大文件的web.config配置问题
- 实现无线上网共享,组无线局域网