How to install sphinx
1. Download it at http://sphinxsearch.com/downloads/beta/
2. Untar
3. ./configure –prefix=/usr/local/sphinx
4. make
5. make install
6. Then start sphinx server by going at the path :-
/usr/local/sphinx/bin
./searchd
To stop it, call searchd –stop then just start it again with searchd.
4. How to configure sphinx for a database?
Edit the file /usr/local/sphinix/etc/sphinx.conf and make the below changes:-
sql_host = localhost
sql_user = silent_sgd
sql_pass = SilentGround1142011
sql_db = silent_sgd
sql_port = 3306 # optional, default is 3306
How to start sphinx service on server start up?
Edit the /etc/rc.local file and the below
searchd –config /usr/local/sphinx/etc/sphinx.conf
by-
We Specialize In cPanel Server Management
Affordable 24/7 Technical Support Company