自用
搭建coreseek(sphinx+mmseg3)社工库
环境:Centos6.6 x64 + Nginx1.8 (或Apache2.x)
版本:Coreseek-4.1
功能演示:http://www.wendangwang.com/
[第一步] 先安装mmseg3
安装支持库 yum install -y make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel php-devel //如果后面编译时缺少,再重装一次
提前安装PHP支持
yum remove php php-bcmath php-cli php-common php-devel php-fpm php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pdo php-pear php-pecl-igbinary php-xml php-xmlrpc //如安装先卸载
rpm -Uvh http://www.wendangwang.com/yum/el6/latest.rpm
yum install -y php54w php54w-bcmath php54w-cli php54w-common php54w-devel php54w-fpm
php54w-gd php54w-mbstring php54w-mcrypt php54w-mysql php54w-odbc php54w-pdo php54w-pear php54w-pecl-igbinary php54w-xml php54w-xmlrpc php54w-opcache php54w-intl php54w-pecl-memcache
cd /opt
wget http://www.wendangwang.com/uploads/csft/4.0/coreseek-4.1-beta.tar.gz
tar zxvf coreseek-4.1-beta.tar.gz
cd coreseek-4.1-beta/mmseg-3.2.14
./bootstrap
./configure --prefix=/usr/local/mmseg3
make && make install
遇到的问题: