Home > English, open-source, Tech Crunch > Building a Debian Lenny package for 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)

  1. No comments yet.
  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: