基于nginx与zookeeper的API Gateway实现笔记 - 环境搭建

为了简化操作,采用操作系统为CentOS 8。
首先需要编译出libzookeeper,在官网下载最新的zookeeper源码,或者github上clone一个,地址为:https://github.com/apache/zookeeper
本地安装工具ant,在zookeeper源码根目录执行ant compile_jute
跳转目录到'./zookeeper-client/zookeeper-client-c'中,执行autoreconf -if(需要依赖工具autoconf, automake 和 libtool)
执行完毕后执行./configure && make && make install

posted @ 2019-12-16 15:25  Ant°  阅读(947)  评论(0编辑  收藏  举报