linux install beanstalkd

Posted 01coding.com

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux install beanstalkd相关的知识,希望对你有一定的参考价值。

you can instal it via git and then copy systemd script:

Step 0. Install git

yum install git

Step 1. Clone repository

git clone git://github.com/kr/beanstalkd.git
cd beanstalkd
make
cp beanstalkd /usr/bin/beanstalkd
mkdir /var/lib/beanstalkd

Step 2. Make startup script

Create file /etc/systemd/system/beanstalkd.service with this content:

[Unit]
Description=Beanstalkd is a simple, fast work queue

[Service]
User=root
ExecStart=/usr/bin/beanstalkd -b /var/lib/beanstalkd

[Install]
WantedBy=multi-user.target

Step 3. Finally, run

systemctl enable beanstalkd and systemctl start beanstalkd

Step 4. Check

ps ax | grep beanstalkd

以上是关于linux install beanstalkd的主要内容,如果未能解决你的问题,请参考以下文章

使用Beanstalkd实现队列

Beanstalkd工作队列

beanstalkd

如何使用 PHP 设置 Beanstalkd

Laravel 队列与 beanstalkd 和 redis 重复

Beanstalkd一个高性能分布式内存队列系统