2015
01-02
01-02
sphinx使用及其简单配置
一、sphinx使用进入你要创建文档的目录,例如要创建在目录/home/wwwroot/doc下cd/home/wwwroot/doc开始使用向导创建你的文档项目sphinx-quickstart程序会提示输入一些选项,如输入根目录,大部分使用默认选项,直接按回车即可。Entertherootpathfordocumentation.>Rootpathforthedocumentation[.]://输入跟目录,直接回车YouhavetwooptionsforplacingthebuilddirectoryforSphinxoutput.Either,youuse...
继续阅读 >
Linux环境为:CentOS5.5、Ubuntu12.041、软件下载sphinx-2.1.3coreseek-4.12、安装sphinxtarzxvfsphinx-2.1.3.tar.gz//解压sphinx包cdsphinx-2.1.3./configure--prefix=/usr/local/sphinx--with-mysql=/usr/local/mysql/--prefix:指定sphinx的安装路径--with-mysql:指定mysql安装路径sudomake&&makeinstall编译并安装安装成功之后,sphinx会形成三个命令:indexer创建索引命令searchd启动进程命令s...