当前位置: 首页 > 工具软件 > HTTPSQS > 使用案例 >

httpsqs java_HTTPSQS

胡修伟
2023-12-01

参考资料

http://zyan.cc/httpsqs/

安装

目的:安装HTTPSQS到服务器192.168.13.102,默认端口1218

1、拷贝安装文件

scp bzip2-1.0.6.tar.gz 192.168.13.102:/root/setup/

scp httpsqs-1.7.tar.gz 192.168.13.102:/root/setup/

2、解压文件

tar zxvf bzip2-1.0.6.tar.gz

tar zxvf httpsqs-1.7.tar.gz

3、安装

cd bzip2-1.0.6

make

make install

yum install libevent

yum install libevent-devel

yum install tokyocabinet

yum install tokyocabinet-devel

cd httpsqs-1.7

make

make install

3、运行

httpsqs -h

httpsqs -d -p 1218 -x /data0/queue

4、关闭CentOS的默认firewall:

systemctl stop firewalld.service #停止firewall

systemctl disable firewalld.service #禁止firewall开机启动

firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

 类似资料:

相关阅读

相关文章

相关问答