安装步骤
参考:
https://github.com/twitter/twemproxy
$ git clone git@github.com:twitter/twemproxy.git
$ cd twemproxy
$ autoreconf -fvi
$ ./configure --enable-debug=full
$ make
$ src/nutcracker -h
autoreconf -fvi && ./configureneedsautomakeandlibtoolto be installed
版本过低访问aliyun镜像
mirrors.aliyun.com
有一个仓库epel
上述执行完后发现多了一个autoconf268
接下来继续执行:
$ ./configure --enable-debug=full
$ make
进入到src目录
cd src
查看到会出现nutcracker可执行程序
返回到上一层级
查看
新开一个窗口
cd twemproxy
cd src
cp nutcracker /usr/bin
回到初始操作shell页
启动
service twemproxy start
观察执行