ubuntu install sphinx

2022-06-14 18:04:53 浏览数 (2)

代码语言:javascript复制
cd /usr/local/src
wget http://sphinxsearch.com/files/sphinx-2.1.2-release.tar.gz
tar -xzvf sphinx-2.1.2-release.tar.gz
cd sphinx-2.1.2-release
./configure --prefix=/usr/local/sphinx --with-mysql --with-static-mysql 
make 
make install
# 添加到环境变量
echo export PATH=$PATH:/usr/local/sphinx/bin/ >> /etc/profile
source /etc/profile

0 人点赞