All pages
Powered by GitBook
1 of 1

Loading...

Installing Sphinx

Instructions for installing the standalone Sphinx search server on various operating systems, a prerequisite for using the SphinxSE storage engine.

In order to use the Sphinx Storage Engine, it is necessary to install the Sphinx daemon.

Many Linux distributions have Sphinx in their repositories. These can be used to install Sphinx instead of following the instructions below, but these are usually quite old versions and don't all include API's for easy integration. Ubuntu users can use the updated repository at sphinxsearch-rel21 (see instructions below).

Debian and Ubuntu

Ubuntu users can make use of the repository, as follows:

Alternatively, install as follows:

  • The Sphinx package and daemon are named sphinxsearch.

  • sudo apt-get install unixodbc libpq5 mariadb-client

  • sudo dpkg -i sphinxsearch*.deb

  • as required

  • You may need to check /etc/default/sphinxsearch to see that START=yes

  • Start with sudo service sphinxsearch start (and stop with sudo service sphinxsearch stop)

Red Hat and CentOS

  • The package name is sphinx and the daemon searchd.

  • sudo yum install postgresql-libs unixODBC

  • sudo rpm -Uhv sphinx*.rpm

Windows

  • Unzip and extract the downloaded zip file

  • Move the extracted directory to C:\Sphinx

  • as required

  • Install as a service:

Once Sphinx has been installed, it will need to be .

Full instructions, including details on compiling Sphinx yourself, are available at .

This page is licensed: CC BY-SA / Gnu FDL

sudo add-apt-repository ppa:builds/sphinxsearch-rel21
sudo apt-get update
sudo apt-get install sphinxsearch

Configure Sphinx as required

  • service searchd start

  • C:\Sphinx\bin> C:\Sphinx\bin\searchd --install --config C:\Sphinx\sphinx.conf.in --servicename SphinxSearch

    Configure Sphinx
    Configure Sphinx
    configured
    current.html