kong 安装过程

Kong 安装过程

  1. Centos 6.5   参数https://getkong.org/install/source 英文]实施过程:
  2. 1.下载对应的openresty 版本
    2.copy到你workspace下,tar -zxvf openresty-<VERSION>.tar.gz
    3.cd openresty-<VERSION>
    4. ./configure \ --with-pcre-jit \ --with-ipv6 \ --with-http_realip_module \ --with-http_ssl_module \ --with-http_stub_status_module \ --with-http_v2_module
       
    过程种会中会出现,系统中pcre Lib,
        执行  yum install -y zlib zlib-devel openssl openssl-devel pcre pcre-devel  ,  yum install -y gcc gcc-c++ 
    5. 重复 4 的操作。sudo gmake && sudo gmake install  
    6. echo 'export PATH="$PATH:/usr/local/openresty/bin"' >> ~/.bashrc
  3. 1.下载对应的luarocks-<VERSION> 地址:http://luarocks.github.io/luarocks/releases/
    2. copy到你workspace下,tar -zxvf luarocks-<VERSION>
    3. cd luarocks-<VERSION> 
    4. ./configure \ --lua-suffix=jit \ --with-lua=/usr/local/openresty/luajit \ --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1
    make build && sudo make install 
  4.  install kong 
    luarocks install kong 0.11.1-0 --local  

    重新运行一下命令,有可能是你的网络不稳定导致,我这里就是这样。
      
  5. 安装  PostgreSQL 9.4+  地址:https://www.postgresql.org/ftp/source/   Cassandra 3.x.x    http://cassandra.apache.org/download/

转载于:https://www.cnblogs.com/liys/p/7773762.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值