前端之家收集整理的这篇文章主要介绍了
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:
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