I have faced unavailability of beanstalk package in epel yum repository recently and got some answer from source and git repository installation but i got no luck in start services through git code after compilation. After some time invest, i got a solution on centos.org to build a solution.
In below steps, I will download rpm of beanstalkd and beanstalkd-debuginfo rpm .
beanstalkd is a basic, quick work-line service and beanstalkd-debuginfo rpm gives investigate data to software and analyze data that will help when creating applications that utilization this software or when investigating this software.
Here are the step i have followed in installing beanstalkd package in CentOs 7 Server and got successful services work.
STEP 1 : Download beanstalk and beanstalkd-debuginfo
Download beanstalkd and beanstalkd-debuginfo RPM through wget command like below.
# wget https://cbs.centos.org/kojifiles/packages/beanstalkd/1.10/1.el7/x86_64/beanstalkd-1.10-1.el7.x86_64.rpm
If you want to debug any application then you need to install debug package This package provides debug information for package beanstalkd, below are download command for beanstalkd-debuginfo .
# wget https://cbs.centos.org/kojifiles/packages/beanstalkd/1.10/1.el7/x86_64/beanstalkd-debuginfo-1.10-1.el7.x86_64.rpm
STEP 2 : Installing beanstalk and beanstalkd-debuginfo RPM .
Use below command for installing packages.
(1) For beanstalkd :
# rpm -ivh beanstalkd-1.10-1.el7.x86_64.rpm
OUTPUT :
[root@server2 ~]# rpm -ivh beanstalkd-1.10-1.el7.x86_64.rpm Verifying… ################################# [100%] Preparing… ################################# [100%] Updating / installing… 1:beanstalkd-1.10-1.el7 ################################# [100%]
(2) For beanstalkd-debuginfo :
rpm -ivh beanstalkd-debuginfo-1.10-1.el7.x86_64.rpm
OUTPUT :
[[email protected] ~]# rpm -ivh beanstalkd-debuginfo-1.10-1.el7.x86_64.rpm Verifying… ################################# [100%] Preparing… ################################# [100%] Updating / installing… 1:beanstalkd-debuginfo-1.10-1.el7 ################################# [100%]
STEP 3 : Enable and Start Services :
After boot the services should be enable , run below command.
#systemctl enable beanstalkd
Now run the beanstalkd services.
#systemctl start beanstalkd
OUTPUT :
● beanstalkd.service - Beanstalkd Fast Workqueue Service Loaded: loaded (/usr/lib/systemd/system/beanstalkd.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2020-04-11 13:42:45 IST; 5s ago Main PID: 2430 (beanstalkd) Tasks: 1 (limit: 5631) Memory: 172.0K CGroup: /system.slice/beanstalkd.service └─2430 /usr/bin/beanstalkd -l 0.0.0.0 -p 11300 -u beanstalkd Apr 11 13:42:45 server2.techtransit.org systemd[1]: Started Beanstalkd Fast Workqueue Service.
STEPS 4 : Verify Services
Run below command to check process is running.
#ps aux | grep beanstalkd
OUTPUT :
root 8772 0.0 0.0 4444 616 ? Ss 08:58 0:00 /usr/bin/beanstalkd -b /var/lib/beanstalkd
STEPS 5 : Version Check
# beanstalkd -v
OUTPUT :
beanstalkd 1.10
Reference URL :
Hope you enjoy the post , for any concern please comment here