How to install Sphinx
From OpenCATS
Two methods;
the Sphinx package from the original CATS files, and manually using the latest Sphinx
Using the Sphinx package
Download the Sphinx package and untar in a local directory on your cats server;
wget http://www.opencats.org/downloads/sphinx_for_cats.tar.gz tar -xvf sphinx_for_cats.tar.gz
run the script (as a normal user)
chmod 755 install.sh ./install.sh
Manually using the latest Sphinx
Download the Sphinx package and untar in a local directory on your cats server;
wget http://www.opencats.org/downloads/sphinx_for_cats.tar.gz tar -xvf sphinx_for_cats.tar.gz
before running the provided script, download and install the latest sphinx (currently 0.9.8.1);
wget http://sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz
install sphinx
tar -zxvf sphinx-0.9.8.1.tar.gz cd sphinx-0.9.8.1 ./configure --prefix=/var/www/html/cats/sphinx make make install
(note the extensive dependencies required for building sphinx). Some are detailed in the Sphinx install packages Set Sphinx to install to the cats directory when installed;
Then run the install script, and if it's installed to the cats subdirectory, you won't need to provide it the path to sphinx
./install.sh
No customisations need to be installed for this to then work - but you do need to follow the instructions in the Sphinx_for_cats readme to ensure you have searchd loaded as a service.
Taking advantage of the capabilities of the latest sphinx package...to be completed
