Home  >  Article  >  System Tutorial  >  How to install Twemproxy under CentOS

How to install Twemproxy under CentOS

WBOY
WBOYforward
2024-01-11 17:18:33598browse

快速安装twemproxy

install autoconf

rpm -e --nodeps autoconf-2.63

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.gz

tar zxvf autoconf-2.64.tar.gz

cd autoconf-2.64

./configure --prefix=/usr

make && make install

install twempproxy

git clone https://github.com/twitter/twemproxy.git

cd twemproxy

autoreconf -fvi

CFLAGS="-ggdb3 -O0" autoreconf -fvi && ./configure --prefix=/usr/local/twemproxy --enable-debug=log

make && make install

help

/usr/local/twemproxy/sbin/nutcracker -h

test configfile

/usr/local/twemproxy/sbin/nutcracker -t

start service

/usr/local/twemproxy/sbin/nutcracker -d -c /usr/local/twemproxy/nutcracker.yml

The above is the detailed content of How to install Twemproxy under CentOS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete