Last active
October 25, 2017 09:58
-
-
Save alvin2ye/b17e43f4812f27721f42f73346a00453 to your computer and use it in GitHub Desktop.
ubuntu 12.04 install coreseek-3.2.14
This file contains hidden or 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
install_folder=/tmp/install_coreseek_$(date +%s) | |
mkdir $install_folder | |
cd $install_folder | |
curl -O https://dn-agi-public3.qbox.me/20171025174818/coreseek-3.2.14-fix.tar.gz | |
tar xzvf coreseek-3.2.14-fix.tar.gz | |
cd coreseek-3.2.14 | |
cd mmseg-3.2.14 | |
./bootstrap | |
./configure --prefix=/opt/mmseg | |
make && 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 | |
make && make install | |
cd .. | |
ln -s /opt/coreseek/bin/indexer /usr/local/bin/indexer | |
ln -s /opt/coreseek/bin/indextool /usr/local/bin/indextool | |
ln -s /opt/coreseek/bin/search /usr/local/bin/search | |
ln -s /opt/coreseek/bin/searchd /usr/local/bin/searchd | |
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