博文

install sphinx and scws

图片
Installation preparation: notice:Before installing Sphinx and scws, the current system version has the following information 1.centos7.0_x86_64 2.php7.1.6 stable 3.mysql5.7.18 4.nginx1.12.1 5.sphinx 2.2.1-1 6.scws-1.2.3 Install Sphinx:  1.download  sphinx-2.2.1-1.rhel6.x86_64.rpm    http ://sphinxsearch.com/downloads/release / 2.Install dependency packs   $   yum install postgresql-libs unixODBC 3.install sphinx with rpm pack   $   rpm -Uhv sphinx-2.2.1-1.rhel6.x86_64.rpm 4.edit sphinx.conf $ cp /etc/sphinx/sphinx.conf.dist /etc/sphinx/sphinx.conf 5.run demo sql $ mysql -u test  < /usr/share/doc/sphinx-2.2.11/example.sql 6.make index $ /bin/indexer --all --rotate 7.start service sphinx searchd $ service searchd start After the above steps, the software is installed Install Sphinx for PHP Extension: 1.download php 7.1.6 extension for sphinx tar pack(sphinx-339e123.tar.g...