Sha256: 9557e6622e5793136655b3241eac77e9ab36d389547137858e1d633d5cf43d4b

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

h1. sphinx:centos

 "home":../index.html > "recipes":index.html >  "sphinx":sphinx.html  >  centos  


h2. Tasks

* "sphinx:centos:install":#sphinx:centos:install 
* "sphinx:centos:iptables":#sphinx:centos:iptables 
* "sphinx:centos:setup":#sphinx:centos:setup 


h2. Task documentation

h3(#sphinx:centos:install). sphinx:centos:install

Install sphinx.

*sphinx_build_options*: Sphinx build options.

<pre>
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}"
}
</pre>

*sphinx_prefix*: Sphinx install prefix. _Defaults to "/usr/local/sphinx"_



h3(#sphinx:centos:iptables). sphinx:centos:iptables

Install sphinx firewall rule.

*sphinx_port*: Sphinx port. _Defaults to 3312_

@set :sphinx_port, 3312@



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"_

*sphinx_index_path*: Path to sphinx indexes. _Defaults to "[shared_path]/var/index"_



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capitate-0.2.7 docs/recipes/sphinx-centos.txt