-
-
Save yezihack/2a7ee5a0df296fdab177a1ee0b742f45 to your computer and use it in GitHub Desktop.
install coreseek
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -sL https://raw.github.com/gist/1450030 | sudo bash | |
sudo apt-get install make gcc g++ automake libtool mysql-client libmysqlclient15-dev libxml2-dev libexpat1-dev | |
#下载 coreseek-3.2.14,里面已经包含 mmsegcd /tmp | |
wget https://dn-agi-public3.qbox.me/20160928135920/coreseek-3.2.14.tar.gz | |
tar xzvf coreseek-3.2.14.tar.gz | |
cd coreseek-3.2.14 | |
cd mmseg-3.2.14 | |
./bootstrap | |
./configure --prefix=/opt/mmseg | |
sudo make && sudo make install | |
cd .. | |
cd csft-3.2.14 | |
sh buildconf.sh | |
./configure --prefix=/opt/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/opt/mmseg/include/mmseg/ --with-mmseg-libs=/opt/mmseg/lib/ --with-mysql | |
sudo make && sudo make install | |
cd .. | |
sudo ln -s /opt/coreseek/bin/indexer /usr/local/bin/indexer | |
sudo ln -s /opt/coreseek/bin/indextool /usr/local/bin/indextool | |
sudo ln -s /opt/coreseek/bin/search /usr/local/bin/search | |
sudo ln -s /opt/coreseek/bin/searchd /usr/local/bin/searchd | |
sudo ln -s /opt/coreseek/bin/spelldump /usr/local/bin/spelldump | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment