sphinxsearchHow do I install Sphinx Search?
- Download the latest version of Sphinx Search from sphinxsearch.com.
- Extract the downloaded package and
cd
into its directory:
tar -xzvf sphinx-2.2.11-release.tar.gz
cd sphinx-2.2.11-release
- Run
./configure
with the desired options:
./configure --prefix=/usr/local/sphinx --with-mysql
- Compile and install Sphinx Search:
make
make install
- Create a configuration file:
cp /usr/local/sphinx/etc/sphinx.conf.dist /usr/local/sphinx/etc/sphinx.conf
- Start the searchd daemon:
/usr/local/sphinx/bin/searchd --config /usr/local/sphinx/etc/sphinx.conf
- Now you can connect to the searchd daemon and issue queries:
/usr/local/sphinx/bin/search --config /usr/local/sphinx/etc/sphinx.conf "test"
Output example
Sphinx 2.2.11-id64-release (rel22-r5006)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/usr/local/sphinx/etc/sphinx.conf'...
index 'test1': query 'test ': returned 0 matches of 0 total in 0.000 sec
More of Sphinxsearch
- How do I configure SphinxSearch using YAML?
- How do I install SphinxSearch version 2.2?
- How do Sphinx Search and Solr compare for software development?
- How do I update SphinxSearch on Ubuntu?
- How do I install and configure Sphinxsearch on Ubuntu?
- How do I install Sphinxsearch on Ubuntu?
- How do I install SphinxSearch on Ubuntu 20.04?
- How do I access and use the SphinxSearch source code?
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I use the word count ranker in SphinxSearch?
See more codes...