> CentOS > CentOS教程 >

centos 安装twemproxy

快速安装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




(责任编辑:IT)