1:cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
2: psql --version
psql (PostgreSQL) 8.4.7
3:whereis pg_config
pg_config
4:yum install postgresql84-devel
install compltely.
again check whereis pg_config
pg_config: /usr/bin/pg_config /usr/include/pg_config.h /usr/share/man/man1/pg_config.1.gz
5:cd /usr/local/
wget http://http://sphinxsearch.com/downloads/accept.php?file=sphinx-2.0.2-beta.tar.gz
6:tar -zxvf sphinx-2.tar.gz
7:cd sphinx-2
8:mkdir /usr/local/sphinx
9:./configure --without-mysql --with-pgsql /usr/bin/pg_config --prefix=/usr/local/sphinx
10: make
11: make install
12: cd /usr/local/sphinx/etc
cp sphinx-min.conf sphinx.conf
13: do the required changes in sphinx.conf
database pgsql
database user
database name
database password
port: 5432
14:run the sphinx searchd
/usr/local/etc/bin/indexer --all
searchd start
Showing posts with label indexer --all. Show all posts
Showing posts with label indexer --all. Show all posts
Friday, 23 December 2011
Friday, 9 December 2011
How to Install Sphinx 2.0.2 on CentOS-5.2 PostgreSQL
Follow the Steps you will finally install Sphinx successfully on your CentOS server.
1:yum install gcc
cd /usr/local
2:wget http://sphinxsearch.com/files/sphinx-2.0.2-1.beta.tar.gz
tar -zxvf sphinx-2.0.2-1.beta.tar.gz
3:whereis pg_config
4:yum install postgresql-devel
5: whereis pg_config
pg_config: /usr/bin/pg_config /usr/include/pg_config.h /usr/share/man/man1/pg_config.1.gz
6:cd sphinx-2.0.2-1.beta
7: ./configure --without-mysql --with-postgres /usr/bin/pg_config
8:yum install g++
9:make && make install
10:cp /usr/local/etc/sphinx-min.conf.in /usr/local/etc/sphinx.conf
11: cd /usr/local/etc/
vim sphinx.conf
12:do the changes as required
database pgsql
database user
database name
database password
port: 5432
13: save and quit.
1:yum install gcc
cd /usr/local
2:wget http://sphinxsearch.com/files/sphinx-2.0.2-1.beta.tar.gz
tar -zxvf sphinx-2.0.2-1.beta.tar.gz
3:whereis pg_config
4:yum install postgresql-devel
5: whereis pg_config
pg_config: /usr/bin/pg_config /usr/include/pg_config.h /usr/share/man/man1/pg_config.1.gz
6:cd sphinx-2.0.2-1.beta
7: ./configure --without-mysql --with-postgres /usr/bin/pg_config
8:yum install g++
9:make && make install
10:cp /usr/local/etc/sphinx-min.conf.in /usr/local/etc/sphinx.conf
11: cd /usr/local/etc/
vim sphinx.conf
12:do the changes as required
database pgsql
database user
database name
database password
port: 5432
13: save and quit.
14: /usr/local/etc/bin/indexer --all searchd startthats it.
Subscribe to:
Posts (Atom)