09/03
11
1. Update and Grab dependencies. Run these commands in order to get the files you need to install Sphinx.
2. Download Sphinx. You can download the latest code from their website.
4. Make and Install Sphinx Run the standard linux commands to install Sphinx.
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install libmysqlclient15-dev
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install libmysqlclient15-dev
2. Download Sphinx. You can download the latest code from their website.
tar xvzf sphinx-0.9.8.1.tar.gz
cd sphinx-0.9.8.1/
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql
cd sphinx-0.9.8.1/
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql
4. Make and Install Sphinx Run the standard linux commands to install Sphinx.
make
sudo make install
sudo make install
./configure --prefix=/usr/local/sphinx --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql --with-mmseg-includes=/usr/local/include/mmseg --with-mmseg-libs=/usr/local/lib --with-python --with-iconv
20款开源搜索引擎系统


