如何为 Mac Os Lion 安装 Sphinx?
我想在 Mac OS X Lion 上安装最新稳定版本的 Sphinx (sphinxsearch.com)。这样做的正确方法是什么?
I want to install latest stable version of Sphinx (sphinxsearch.com) on Mac OS X Lion. What is a right way to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我刚刚检查过,它是在brew 上的,所以如果你有HomeBrew 就可以运行:
brew 安装 sphinx
。I just checked and it's on brew, so you can just run if you have HomeBrew:
brew install sphinx
.这是简短的指南,http://pat.github.com/ts/en/installing_sphinx.html它涉及thinking_sphinx,用于与rails 一起工作的ruby gem,但它还涵盖安装sphinx 服务器。
Here is short guide, http://pat.github.com/ts/en/installing_sphinx.html its regarding thinking_sphinx, ruby gem for workign with rails, but it covers also installing sphinx server.
从这些说明中不明显的是,主要的可执行文件可以在 /usr/local/bin/searchd 和 /usr/local/bin/indexer 中找到...安装后,当我找不到时,我有点困惑/usr/local/bin 中的任何sphinx。
What wasn't obvious from those instructions was that the main executables would be found in /usr/local/bin/searchd and /usr/local/bin/indexer... I was a bit puzzled after install when I couldn't find anything sphinx in /usr/local/bin.
您可以尝试简单安装。
- 打开你的终端。
- 执行以下命令: sudo easy_install sphinx
然后就可以了。
You can try the easy Install.
-Open your terminal.
-Execute the following command: sudo easy_install sphinx
Then it works.