Install Sphinx on Ubuntu


apt-get update
apt-get install libmysql++-dev make gcc+ g++

Go to a directory of your choosing

Download The Sphinx Binary (latest as of this writing)
http://sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz

tar zvxf sphinx-0.9.8.1.tar.gz

cd sphinx-0.9.8.1

./configure

make

make install (you will need superuser rights for this last step)

The binaries will be install in /usr/local/bin

/usr/bin/install -c ‘indexer’ ‘/usr/local/bin/indexer’
/usr/bin/install -c ‘searchd’ ‘/usr/local/bin/searchd’
/usr/bin/install -c ‘search’ ‘/usr/local/bin/search’
/usr/bin/install -c ‘spelldump’ ‘/usr/local/bin/spelldump’

some config files will drop into /usr/local/etc

/usr/bin/install -c -m 644 ‘sphinx.conf.dist’ ‘/usr/local/etc/sphinx.conf.dist’
/usr/bin/install -c -m 644 ‘sphinx-min.conf.dist’ ‘/usr/local/etc/sphinx-min.conf.dist’

or

tar xvzf sphinx-0.9.8.1.tar.gz
cd sphinx-0.9.8.1/
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql

 Make and Install Sphinx Run the standard linux commands to install Sphinx.
make
sudo make install
Bookmark and Share
Advertisements
    • arasu
    • November 12th, 2009

    It’s very use full tips

    • Loan Rate >> How can I refinance my cc …
    • November 25th, 2009

    [… – sadhas.wordpress.com is other relavant source of tips on this issue,[… –

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: