Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Last active October 25, 2017 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alvin2ye/b17e43f4812f27721f42f73346a00453 to your computer and use it in GitHub Desktop.
Save alvin2ye/b17e43f4812f27721f42f73346a00453 to your computer and use it in GitHub Desktop.
ubuntu 12.04 install coreseek-3.2.14
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