安装:

wget https://github.com/kr/beanstalkd/archive/v1.9.tar.gz
mv v1. beanstalkd_v1.
mv beanstalkd_v1. beanstalkd_v1..tar.gz
tar -zxvf beanstalkd_v1..tar.gz
cd beanstalkd-1.9/ mkdir /usr/local/beanstalkd
make install PERFIX=/usr/local/beanstalkd
beanstalkd -v

运行:

mkdir /home/wwwdata/beanstalkd
chown www-data /home/wwwdata/beanstalkd/
beanstalkd -b /home/wwwdata/beanstalkd -u www-data -n -s &
ps ax|grep beanstalkd
05-27 01:47