![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kong
Kong
大熊程序猿
不积跬步无以至千里不积小流无以成江海
展开
-
centOS7 配置自定义开机启动服务
【代码】centOS7 配置自定义开机启动服务。原创 2022-11-25 23:32:21 · 297 阅读 · 0 评论 -
centOS7 kong 整合Consul
一、搭建Consul集群二、新建项目SaaS.Consul.Sample,注册服务查看consul dns服务是否正常:dig @192.168.1.117 -p 8600 SaaSConsulSample.service.consul SRVdig @192.168.1.117 -p 8600 SaaSConsulSample.service.dc1.consul SRV三、配置kong DNS解析:dns_resolvernano /etc/kong/kon..原创 2021-04-10 00:30:14 · 386 阅读 · 0 评论 -
centOS7 kong使用konga配置Services&Routes
一、新建.net core 项目,访问路由:http://192.168.1.103:901/api/home二、配置Services三、配置Routes四、windows 配置host192.168.1.118 a.bbc.com浏览器访问:原创 2020-11-15 21:33:57 · 611 阅读 · 0 评论 -
centOS7 安装kong-1.5.1+konga
#########################安装PostgreSQL##############################安装repository RPMyum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm#安装Postgresql9.6相关服务yum install postgresql96-server pos.原创 2020-11-14 22:53:19 · 653 阅读 · 0 评论 -
centOS7 Kong & Prometheus & Grafana 实时监控
#在kong上安装插件prometheus:http://192.168.1.118:9001/#!/plugins/add#打开kong的metrics支持http://192.168.1.118:8001/metrics#添加白名单curl -XPOST http://192.168.1.118:8001/services/prometheusEndpoint/plugins -d name=ip-restriction -d config.whitelist=190.168.原创 2020-11-07 20:52:28 · 638 阅读 · 0 评论 -
centOS7 安装postgresql12-server
#安装repository RPMyum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm#安装客户端包yum install postgresql12#可选的服务端安装包yum install postgresql12-server#可选的初始化数据库时候自动启动/usr/pgsql-12/bin/postgres...原创 2020-11-07 11:57:13 · 537 阅读 · 0 评论 -
centOS7 安装kong-0.14
一、安装PostgreSQL#安装repository RPMyum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm#安装客户端包yum install postgresql12#可选的服务端安装包yum install postgresql12-server#可选的初始化数据库时候自动启动/usr/pgsql-12/原创 2020-11-07 13:20:53 · 226 阅读 · 0 评论 -
centOS7 kong配置APIs
一、新建项目:WebApi901部属到103服务器:dotnet WebApi901.dll --urls="http://*:901"浏览器访问:http://192.168.1.103:901/api/home二、kong dashboard 配置三、windows 上访问配置host192.168.1.118 api2.demo.com浏览器输入:http://api2.demo.com:8000/identityService/home...原创 2020-11-07 14:40:29 · 198 阅读 · 0 评论 -
centOS7 kong配置 Services
添加Service 名称为: api2.demowindows 添加host:192.168.1.118 api2.demo.com浏览器输入:http://api2.demo.com:8000/identityService/homehttp://api2.demo.com:8000/identityService/home2示意图原创 2020-11-07 15:21:37 · 148 阅读 · 0 评论