Coreseek Server Configuration
Download coreseek in http://www.coreseek.cn/uploads/csft/4.0/coreseek-4.1-beta.tar.gz
Before installing coreseek be sure are done installing mysql and start normally.
$ tar xzvf coreseek-4.1-beta.tar.gz
$ cd coreseek-4.1-beta
$ yum install gcc* c++* autoconf automake zlib* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel*
$ cd mmseg-3.2.14
$ ./bootstrap #Warning message can be ignore, error must be solve.
$ ./bootstrap #Warning message can be ignore, error must be solve.
$ ./configure --prefix=/usr/local/mmseg3
$ make && make install
$ cd ..
## Install CoreSeek
$ cd csft-3.2.14 或者 cd csft-4.0.1 或者 cd csft-4.1
$ sh buildconf.sh #Warning message can be ignore, error must be solve.
$ make && make install
$ cd ..
## Install CoreSeek
$ cd csft-3.2.14 或者 cd csft-4.0.1 或者 cd csft-4.1
$ sh buildconf.sh #Warning message can be ignore, error must be solve.
$ ./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql --with-mysql-includes=/usr/local/mysql/include --with-mysql-libs=/usr/local/mysql/lib
$ make && make install
$ cd ..
##Test mmseg Participle,coreseek search(Must be setting system language to zh_CN.UTF-8,confirm that are showing chinese word.)
$ cd testpack
$ cat var/test/test.xml #This will be showing in chinese.
$ /usr/local/mmseg3/bin/mmseg -d /usr/local/mmseg3/etc var/test/test.xml
$ /usr/local/coreseek/bin/indexer -c etc/csft.conf --all
$ /usr/local/coreseek/bin/search -c etc/csft.conf ##Web search
$ /usr/local/coreseek/bin/indexer -c etc/csft.conf --all
$ /usr/local/coreseek/bin/search -c etc/csft.conf ##Web search
No comments:
Post a Comment