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

时间: 2024-10-14 00:11:29

linux install beanstalkd的相关文章

Unable to mount a ntfs partition after replace windows after Linux install?

*/--> Unable to mount a ntfs partition after replace windows after Linux install? Today, I replaced Win7 with Win8.1, the outcome of this action is that the grub fails, and I had to use the LiveUSB to repair the boot grub. The easy way to do this is

CentOS Linux Install Core Development

How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development tools:Open termianl or login over ssh session and ty

Ubuntu Linux: Install RT2870 Chipset Based USB Wireless Adapter(转)

This blog post listed Linux Compatible USB wireless adapters. It seems that many new Linux users frequently have problems learning how to install RT2870 driver under Linux. I also received email requesting installation instructions for the same devic

linux install tomcat

折腾了好久,按照官网的安装流程安装了不止3次,发现还是不能成功,最终发现是linux机器本身的问题,因为我用的公司的virtual machine,可能是机器本身在一次迁移的过程当中出现了问题,导致了我的悲剧.最终的解决方案是重新setup了virtual machine,并且一路顺畅,安装成功. This artical shows you how to install, configure Tomcat in linux machine. Noted that all of steps ar

Linux - Install metasploit on CentOS

For a security research, we need to put metasploit-framework on the remote machine. OS Details: [[email protected] centos]$ uname -a Linux localhost.localdomain 2.6.32-042stab104.1 #1 SMP Thu Jan 29 12:58:41 MSK 2015 i686 i686 i386 GNU/Linux [[email 

linux install wineQQ

Linux上没有QQ太麻烦了,查了一下讲wineQQ安装上去了,亲测可以使用滴---就是版本低,安装步骤如下: 一.安装Wine 1.添加PPA sudo add-apt-repository ppa:ubuntu-wine/ppa 2.更新列表 sudo apt-get update 3.安装Wine sudo apt-get install wine1.7 二.下载wineQQ 下载地址:https://pan.baidu.com/s/1hr5Z4I4 三.install wineQQ su

linux install SVN (CentOS_6.6)

一.环境准备 system:CentOS_6.6 IP:192.168.30.129 安装yum: rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 二.安装SVN [email protected]/0 # yum -y install subversion Loaded plugins: fastestmirror, security Setting up Install Pr

Linux install Google

{ // 安装谷歌// wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb// dpkg -i google-chrome-stable_current_amd64.deb// apt-get -f install //安装依赖// dpkg -i google-chrome-stable_current_amd64.deb //安装依赖有再来// vim /opt/google/chrom

linux install mysql

sudo apt-get install mysql-server #此处会输入root的密码,设置的密码要记住 sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev 检查是否安装成功: sudo netstat -tap | grep mysql mysql 的socket处于 listen 状态则表示安装成功 登陆mysql数据库可以通过如下命令: mysql -u root -p -u 表示选择登