[shell]在线安装 Coreseek-3.2.14 版的shell脚本

来源:互联网 发布:序列密码算法 编辑:程序博客网 时间:2024/06/06 02:04

在线安装 Coreseek-3.2.14 版的shell脚本


#~ file: sphinx.sh#~ power by yagas60@21cn.com#~ blog: http://blog.csdn.net/yagas#~ 下载Coreseek数据库索引系统echo "download coreseek-3.2.14..."wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz -O /tmp/coreseek-3.2.14.tar.gztar -xzvf /tmp/coreseek-3.2.14.tar.gz -C /tmp#~ 安装必要的开发包yum -y install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel#~ 安装mmseg分词引擎cd /tmp/coreseek-3.2.14/mmseg-3.2.14aclocallibtoolize --forceautomake --add-missingautoconfautoheadermake clean./configure --prefix=/usr/local/mmsegmakemake installln -s /usr/local/mmseg/bin/mmseg /usr/local/bin/mmseg#~ 安装sphinx系统cd /tmp/coreseek-3.2.14/csft-3.2.14sh buildconf.sh./configure --prefix=/usr/local/coreseek --without-python --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg/lib/ --without-mysqlmakemake installln -s /usr/local/coreseek/bin/indexer /usr/local/bin/indexerln -s /usr/local/coreseek/bin/searchd /usr/local/bin/searchd