一、需求环境

1.openresty 版本大于 1.15.8.1
2.etcd  -- yum安装即可
3.luarocks  --源码安装
4.nodejs 版本大于10
5.Apache APISIX 版本1.0

提前添加环境以后直接使用
vim ~/.bash_profile
NODE_HOME=/app/sinova/node-v12.15.0-linux-x64
NODE_PATH=/app/sinova/node-v12.15.0-linux-x64/lib/node_modules
PATH=/app/sinova/openresty/bin:$NODE_HOME/bin:/app/sinova/openresty/luajit/bin:$PATH:$HOME/.local/bin:$HOME/bin

export PATH NODE_PATH

二、安装openresty
wget https://openresty.org/download/openresty-1.15.8.2.tar.gz
tar -zxvf openresty-1.15.8.2.tar.gz
cd openresty-1.15.8.2
./configure --prefix=/app/sinova/openresty \
--with-http_stub_status_module
--with-http_ssl_module
--with-http_realip_module
--with-http_v2_module
make && make install

三、安装luarocks–安装到openresty目录下
wget  http://luarocks.github.io/luarocks/releases/luarocks-3.3.1.tar.gz
tar -zxvf  luarocks-3.3.1
cd  luarocks-3.3.1
./configure --prefix=/app/sinova/openresty/luajit/ \
--with-lua=/app/sinova/openresty/luajit/
--lua-suffix=jit
--with-lua-include=/app/sinova/openresty/luajit/include/luajit-2.1
make build && make install

### 安装etcd
yum  install etcd
sudo systemctl start etcd  --启动

四、安装APISIX
wget http://www.apache.org/dist/incubator/apisix/1.0/apache-apisix-1.0-incubating-src.tar.gz
tar -zxvf apache-apisix-1.0-incubating-src.tar.gz
yum install git
cd apache-apisix-1.0-incubating
make deps
make init
make run  --启动

-----
$ make help
Makefile rules:

help:          Show Makefile rules.
    deps:          Installation dependencies
    utils:         Installation tools
    lint:          Lint Lua source code
    init:          Initialize the runtime environment
    run:           Start the apisix server
    stop:          Stop the apisix server
    clean:         Remove generated files
    reload:        Reload the apisix server
    install:       Install the apisix
    test:          Run the test case
    license-check: Check lua souce code for Apache License

五、安装(Dashboard)
git clone https://github.com/apache/incubator-apisix-dashboard.git
cd incubator-apisix-dashb
npm install yarn
yarn && yarn build:prod

cp -r incubator-apisix-dashb/dist/* apache-apisix-1.0-incubating-src
## Integration with APISIX Copy the compiled files under /dist directory to the apisix/dashboard directory, open http://127.0.0.1:9080/apisix/dashboard/ in the browser. Do not need to fill the user name and password, log in directly.

http://127.0.0.1:9080/apisix/dashboard/   --浏览器访问

传统企业海外专线解决方案通常需要数月的时间来进行站点网络部署申请、业务调测和现场配置,非常耗时耗力。

The dashboard allows any remote IP by default, and you can modify allow_admin in conf/config.yaml by yourself, to list the list of IPs allowed to access

国产微服务网关Apache APISIX安装相关推荐

  1. APISIX 极简入门(国产微服务网关)

    1. 概述 APISIX 是基于 OpenResty + etcd 实现的云原生.高性能.可扩展的微服务 API 网关.它是国人开源,目前已经进入 Apache 进行孵化,牛逼!!! OpenRest ...

  2. [转载]芋道 Soul 极简入门(国产微服务网关)

    摘要: 原创出处 http://www.iocoder.cn/Soul/install/ 「芋道源码」欢迎转载,保留摘要,谢谢! 由于原著写作时间时间有点久了:有部分类容需要更新,后去个人会再发布文章 ...

  3. API 网关 Apache APISIX 集成 Eureka 作为服务发现

    微服务架构中,大型复杂的系统按功能或者业务需求垂直切分成更小的子系统,这些子系统以独立部署的子进程存在,它们之间通过网络调用进行通信.这些独立部署的服务如何发现对方成为了首先要解决的问题,所以在微服务 ...

  4. 云原生微服务网关 Kong 和Kong 管理UI Konga快速安装攻略

    前言 在微服务架构中,由于系统和服务的细分,导致系统结构变得非常复杂, 为了跨平台,为了统一集中管理api,同时为了不暴露后置服务.甚至有时候需要对请求进行一些安全.负载均衡.限流.熔断.灰度等中间操 ...

  5. 网关 Apache APISIX 在 360 基础运维平台项目中的实践

    女主宣言 今天小编为大家分享一篇关于Apache APISIX的文章,文章从开发者的角度讲述了 Apache APISIX 网关在 360 基础运维平台的落地实践,希望能对大家有所帮助. PS:丰富的 ...

  6. 微服务网关Ocelot

    微服务网关是微服务架构中的核心组件,它是客户端请求的门户,它是调用具体服务端的桥梁.下面我们将使用开源项目Ocelot(https://github.com/geffzhang/Ocelot)搭建一款 ...

  7. SpringCloud之消息总线组件及微服务网关

    消息总线组件 Spring Cloud Bus 单个工程更新 有了配置中心,我们就可以吧配置文件放到git上来统一管理了,但是如果配置文件发生了变化,客户端 又如何更新呢? 1.在配置文件中增加自定义 ...

  8. Spring Cloud微服务网关Zuul过滤链和整合OAuth2+JWT入门实战

    一.Spring Cloud Zuul 过滤链 1.1 工作原理 Zuul的核心逻辑是由一系列的Filter来实现的,他们能够在进行HTTP请求或者相应的时候执行相关操作.Zuul Filter的主要 ...

  9. 百亿流量微服务网关的设计与实现

    百亿流量微服务网关的设计与实现 本文从百亿流量交易系统微服务网关(API Gateway)的现状和面临的问题出发,阐述微服务架构与 API 网关的关系,理顺流量网关与业务网关的脉络,分享 API 网关 ...

最新文章

  1. Java字符类型练习
  2. MongoDB下载地址
  3. iPhone程序中的加密处理
  4. 转 CentOS下php安装mcrypt扩展
  5. mysql 6.17_2020 6/17 mysql数据的增删改查
  6. Leetcode---Java
  7. c语言制作图片软件,大佬们,小菜鸟想问一问用vc编译器做简易画图软件
  8. transform与rigibody以及角色控制器的运动
  9. domcontentloaded ajax,Ajax优化(1) — DOMContentLoaded
  10. Linux中常用命令(初学者必备)
  11. lockdir便携式文件夹加密器(单文件绿色版)
  12. fan4801开关电源原理图_开关电源各模块原理实图讲解精编版
  13. python全栈工程师知识框架_全栈工程师的知识结构
  14. Photoshop设计精讲精练笔记(一)
  15. 【面试】Tomcat面试题
  16. 操作系统第6次实验报告:使用信号
  17. linux安装mysql教程
  18. 面试题——对称加密和非对称加密
  19. 全球主要的域名争议解决机构有哪些?
  20. 菜狗杯Misc一层一层一层地剥开我的♥wp

热门文章

  1. 新成立的Scala中心将重点关注教育和Scala社区
  2. yum安装zlib出错
  3. jQuery仿淘宝商城天猫鼠标移动过去,透明度降低
  4. 我在OSC的第一篇博文
  5. 红帽目录服务的数据导入导出
  6. kali 安装java jdk
  7. Windows10 yolox 安装
  8. MATLAB 结构型变量
  9. java设置access-allow_Java Web如何设置多个Access-Control-Allow-Origin
  10. css3中实现摘取金币_用css3实现抽奖转盘里的扇形图