系统相关
首页 > 系统相关> > beanstalkd在centos7下部署小记

beanstalkd在centos7下部署小记

作者:互联网

博客地址

Github

1. 下载源代码到本地

$ wget https://github.com/kr/beanstalkd/archive/v1.10.tar.gz

2. 解压安装

$ tar zxvf v1.10.tar.gz && rm -rf v1.10.tar.gz
$ mv beanstalkd-1.10/ /usr/local/beanstalkd
$ cd /usr/local/beanstalkd
$ make && make install

3. 加入服务以及开机启动

$ cp /usr/local/beanstalkd/adm/systemd/beanstalkd.service /usr/lib/systemd/system
$ systemctl enable beanstalkd.service
$ systemctl start beanstalkd.service

4. 手动启动并开启binlog

$ mkdir -p /data/beanstalkd
$ /usr/bin/beanstalkd -b /data/beanstalkd -u root &

参考资料:

https://blog.lzuer.net/2016/07/14/deploy-beanstalkd-on-centos7/

标签:tar,v1.10,gz,centos7,usr,beanstalkd,local,小记
来源: https://blog.csdn.net/m0_38092942/article/details/100282070