Heim  >  Artikel  >  System-Tutorial  >  So installieren Sie Twemproxy unter CentOS

So installieren Sie Twemproxy unter CentOS

WBOY
WBOYnach vorne
2024-01-11 17:18:33598Durchsuche

快速安装twemproxy

Autoconf installieren

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

twempproxy installieren

Git-Klon 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

Hilfe

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

Konfigurationsdatei testen

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

Service starten

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

Das obige ist der detaillierte Inhalt vonSo installieren Sie Twemproxy unter CentOS. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!

Stellungnahme:
Dieser Artikel ist reproduziert unter:jb51.net. Bei Verstößen wenden Sie sich bitte an admin@php.cn löschen