linux安装xunsearch

首先要确保ubuntu安装了gcc g++ make

sudo apt-get install make gcc g++ 

然后安装zlib,用来解压的:

apt-get install zlib1g-dev 

然后就可以下载和执行sh安装程序了:

wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2
tar -xjf xunsearch-full-latest.tar.bz2
cd xunsearch-full-1.3.0/
sh setup.sh

开启xunsearch
$prefix/bin/xs-ctl.sh start
绑定全部IP,适合SDK/服务端 不同服务器的情况
$prefix/bin/xs-ctl.sh -b inet start
停止服务器,若启动时指定了-b inet此处也必须指定
$prefix/bin/xs-ctl.sh stop
posted @ 2015-03-02 21:30  FookLook  阅读(453)  评论(0编辑  收藏  举报