Archive

Posts Tagged ‘sphinxsearch’

Building a Debian Lenny package for Sphinxsearch

See the second part of http://sphinxsearch.com/wiki/doku.php?id=sphinx_on_debian_gnu_linux for the original post:

$ cd
$ mkdir src
$ cd src
$ sudo grep deb-src /etc/apt/sources.list > /etc/apt/sources.list.d/wheezy.list
$ sudo vim wheezy.list
  (change squeeze to wheezy and remove security line)
$ sudo apt-get update
$ mkdir sphinxsearch
$ cd sphinxsearch
$ apt-get source sphinxsearch
$ apt-get build-dep sphinxsearch
$ cd sphinxsearch-2.0.3/
$ debuild
$ cd ..
$ dpkg -i sphinxsearch_2.0.3-1_amd64.deb

You can then start it with

$ sudo vim /etc/default/sphinxsearch
$ START=yes
$ /etc/init.d/sphinxsearch start (this generates an error but don't worry for now, just keep moving)

There are a few requirements for Sphinx to work when you start it the first time (it has to have indexing files), which you can comply with by using the indexer binary (see This tutorial on HowtoForge for more info)

Follow

Get every new post delivered to your Inbox.

Join 64 other followers

%d bloggers like this: