开发者

I have problems with installing sphinx search

开发者 https://www.devze.com 2023-03-26 07:32 出处:网络
I\'m trying to install sphinx on my CentOs server. First I tried to install it using the开发者_运维问答 rpm server. I had some issues with starting the daemon so I decided to re install it.

I'm trying to install sphinx on my CentOs server. First I tried to install it using the开发者_运维问答 rpm server. I had some issues with starting the daemon so I decided to re install it. After I uninstalled the rpm package I tried to reinstall using the tar file.

My commands were as following:

wget http://sphinxsearch.com/files/sphinx-2.0.1-beta.tar.gz
tar –xvzf sphinx-2.0.1-beta.tar.gz
./configure --prefix=/usr/local/sphinx
make
make install

After that I configured the sphinx.conf file and uploaded it back to /usr/local/sphinx/etc and tried to run the indexer..

sudo -u sphinx indexer --all

But I keep getting

sudo: indexer: command not found

What did I do wrong?

Thanks a lot.


Try running it from /usr/local/sphinx/. Type this at the command line:

sudo /usr/local/sphinx/bin/indexer --all

If that works, then you've compiled and installed it correctly, but you need to figure out where to put your sphinx binaries on your system so that you can call them directly from the command line like you initially tried.

0

精彩评论

暂无评论...
验证码 换一张
取 消