ucmq

安装ucmq

1 安装libevent ucmq需求>2.0.10

$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz  
$ tar zxvf libevent-2.0.21-stable.tar.gz   
$ cd libevent-2.0.21-stable  
$ ./configure --prefix=/usr/local/libevent  
$ make   
$ sudo make install  

2 安装ucmq

$ git clone git://github.com/ucopensource/ucmq.git  
$ cd ucmq  
$ ./configure --with-libevent=/usr/local/libevent --prefix=/usr/local/ucmq  
$ make   
$ sudo make install 

3 配置启动关闭ucmq
ucmq目录/usr/local/ucmq/
启动UCMQ /usr/local/ucmq/bin/ucmq –c /usr/local/ucmq/conf/ucmq.ini –d
关闭UCMQ killall ucmq 或者 curl http://0.0.0.0:8803/exec?cmd=kill

Tags:

星期二, 十二月 16th, 2014 服务器 没有评论
1LMooBmUE153Wnd3zDryWvDyXxQudbFxDr