Last active
December 21, 2015 07:08
-
-
Save pawel2105/6268555 to your computer and use it in GitHub Desktop.
How to install Sphinx 0.9.8 on Ubuntu or OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -O http://sphinxsearch.com/files/sphinx-0.9.8-rc2.tar.gz | |
tar -zxvf sphinx-0.9.8-rc2.tar.gz | |
cd sphinx-0.9.8-rc2 | |
./configure | |
make | |
sudo make install | |
bundle exec rake thinking_sphinx:configure | |
bundle exec rake thinking_sphinx:index | |
bundle exec rake thinking_sphinx:start | |
development: | |
port: 3312 | |
pid_file: log/searchd.pid | |
config_file: <%= Rails.root.join('config', 'development.sphinx.conf') %> | |
searchd_file_path: db/sphinx/development | |
max_matches: 30000 | |
query_log_file: log/searchd.query.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment