首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

MySQL+Sphinx+SphinxSE装配步骤(sphinx-0.9.8)

2013-03-01 
MySQL+Sphinx+SphinxSE安装步骤(sphinx-0.9.8)1、安装python支持(以下针对CentOS系统,其他Linux系统请使用

MySQL+Sphinx+SphinxSE安装步骤(sphinx-0.9.8)

1、安装python支持(以下针对CentOS系统,其他Linux系统请使用相应的方法安装)

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.26-rc.tar.gz/from/http://mirror.x10.com/mirror/mysql/tar zxvf mysql-5.1.26-rc.tar.gztar zxvf sphinx-0.9.8-rc2.tar.gzcd sphinx-0.9.8-rc2/patch -p1 < ../sphinx-0.98rc2.zhcn-support.patchpatch -p1 < ../fix-crash-in-excerpts.patchcp -rf mysqlse ../mysql-5.1.26-rc/storage/sphinxcd ../cd mysql-5.1.26-rc/sh BUILD/autorun.sh./configure --with-plugins=sphinx --prefix=/usr/local/mysql-search/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infilemake && make installcd ../cd sphinx-0.9.8-rc2/CPPFLAGS=-I/usr/include/python2.4LDFLAGS=-lpython2.4./configure --prefix=/usr/local/sphinx --with-mysql=/usr/local/mysql-searchmakemake installcd ../mv /usr/local/sphinx/etc/sphinx.conf /usr/local/sphinx/etc/sphinx.conf.old

?

?

热点排行