h1. sphinx:centos "home":../index.html > "recipes":index.html > "sphinx":sphinx.html > centos h2. Tasks * "sphinx:centos:install":#sphinx:centos:install * "sphinx:centos:setup":#sphinx:centos:setup h2. Task documentation h3(#sphinx:centos:install). sphinx:centos:install Install sphinx. *sphinx_build_options*: Sphinx build options.
set :sphinx_build_options, {
  :url => "http://www.sphinxsearch.com/downloads/sphinx-0.9.7.tar.gz",
  :configure_options => "--with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql 
    --prefix=#{sphinx_prefix}"
}
*sphinx_prefix*: Sphinx install prefix. _Defaults to "/usr/local/sphinx"_ h3(#sphinx:centos:setup). sphinx:centos:setup Setup sphinx for application. *sphinx_prefix*: Sphinx install prefix. _Defaults to "/usr/local/sphinx"_ *sphinx_pid_path*: Directory to sphinx pid. _Defaults to "[shared_path]/pids/searchd.pid"_ *sphinx_conf_path*: Path to sphinx.conf. _Defaults to "[shared_path]/config/sphinx.conf"_