Beanstalkd – Simple, Fast Queue – Installation

Manual Installation from Github Repository

# create download and build directory
mkdir -p ~/build/beanstalkd
cd  ~/build/beanstalkd
# download repository - alternatively use the latest stable zip archive from
git clone git://
cd beanstalkd
# build and install
sudo make install
# link binary - original debian package init.d script uses hard coded /usr/bin/beanstalkd
sudo ln -s /usr/local/bin/beanstalkd /usr/bin/beanstalkd
# download default properties
cd  ~/build/beanstalkd
wget -O beanstalkd.default
sudo cp beanstalkd.default /etc/default/beanstalkd
sudo chown 0:0 /etc/default/beanstalkd
# download init.d script
wget -O beanstalkd.init.d
sudo cp beanstalkd.init.d /etc/init.d/beanstalkd
sudo chown 0:0 /etc/init.d/beanstalkd
sudo chmod u+x /etc/init.d/beanstalkd
#create journal path before usage, otherwise beanstalkd will not start at all
sudo mkdir -p /var/lib/beanstalkd
#create log path
sudo mkdir -p /var/log/beanstalkd
# start beanstalkd
sudo /etc/init.d/beanstalkd start
#sudo /usr/local/bin/beanstalkd -l -p 11300 -b /var/lib/beanstalkd -V
# check beanstalkd status
sudo /etc/init.d/beanstalkd status