1.安装
# tar xzvf v1.10
# cd beanstalkd-1.10/
# make && make install
# beanstalkd -v
beanstalkd 1.10
 
2.启动
beanstalkd -z 10000000 -b /opt/logs/beanstalkd &
 
3.监控
telnet localhost 11300
stats
 
转:http://blog.163.com/haizai219@126/blog/static/4441255520151235847370/
 
yum 方式安装:
yum -y install beanstalkd
/usr/bin/beanstalkd -l 0.0.0.0 -p 11300 -b /var/lib/beanstalkd/binlog -F

-b 开启binlog,断电后重启会自动恢复任务。

配置文件:

/etc/sysconfig/beanstalkd

 参考网址:https://segmentfault.com/a/1190000002784775

 

 搭建服务器并使用phpdemo 

http://blog.csdn.net/johnny880730/article/details/50536179