Maison  >  Article  >  Tutoriel système  >  Comment installer Twemproxy sous CentOS

Comment installer Twemproxy sous CentOS

WBOY
WBOYavant
2024-01-11 17:18:33598parcourir

快速安装twemproxy

installer 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

faire && faire installer

installer twempproxy

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

cd twemproxy

autoreconf -fvi

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

faire && faire installer

aide

/usr/local/twemproxy/sbin/casse-noix -h

fichier de configuration de test

/usr/local/twemproxy/sbin/casse-noix -t

démarrer le service

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

Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration:
Cet article est reproduit dans:. en cas de violation, veuillez contacter admin@php.cn Supprimer