首页 > 代码库 > 安装beanstalkd - centos

安装beanstalkd - centos

安装:

wget https://github.com/kr/beanstalkd/archive/v1.9.tar.gz
mv v1.9 beanstalkd_v1.9
mv beanstalkd_v1.9 beanstalkd_v1.9.tar.gz
tar -zxvf beanstalkd_v1.9.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 52428800 &
ps ax|grep beanstalkd