(编辑:jimmy 日期: 2024/11/16 浏览:2)
快速安装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