![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kong
CGD_ProgramLife
软件方面需要学习的东西是无穷无尽的。
如果你想要成功,那么你需要学懂的知识使很多的。
明确自己的学习方向(web),then 朝着它的方向冲刺
展开
-
/usr/local/share/lua/5.1/kong/cmd/start.lua:34: [postgres错误]当前的数据库模式与这个版本的版本不匹配。请运行“kong migrations
/usr/local/share/lua/5.1/kong/cmd/start.lua:34: [postgres error] the current database schema does not match this version of Kong. Please run `kong migrations up` to update/initialize the database sche...原创 2018-05-30 14:59:26 · 5077 阅读 · 0 评论 -
Centos7 kong.yml 修改配置文件
改配置文件kong.yml ①找到配置文件的位置 我的再etc/kong/kong.yml,你如果找不到。我在这里说一种方法,你输入find / -name kong.yml,就会看见你的配置文件的位置了。 ②修改配置文件(从96行开始,其他的不变。)如果你和我的配置一模一样,但是之后还是无法运行显示Could not parse configurat...原创 2018-05-31 15:21:38 · 1971 阅读 · 0 评论 -
Centos7 安装Kong
一.安装Kong 1st. 下载rpm wget https://github.com/Mashape/kong/releases/download/0.8.2/kong-0.8.2.el6.noarch.rpm2nd. 安装 yum install epel-release yum install kong-0.8.2.el6.noarch.rpm二. 安装数据库 k...原创 2018-05-31 16:20:43 · 2364 阅读 · 1 评论 -
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:57: nginx: [emerg] bind() to *.*.*.*:8001 failed
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:57: nginx: [emerg] bind() to *.*.*.*:8001 failed (99: Cannotassign requested address你需要告诉你的Linux允许进程绑定到非本地地址。只需添加以下行的/etc/sysctl.conf 文件: #允许进程绑定到非本...原创 2018-05-31 16:21:32 · 2466 阅读 · 0 评论 -
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:57: nginx: [emerg] bind() to 0.0.0.0:8000 failed
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:57: nginx: [emerg] bind() to 0.0.0.0:8000 failed (98: Address already in use)这个的意思就是说明我们的地址已经被使用了那么我们输入netstat -ano | grep 80 查看端口号的使用情况 结果发现我们的8001...原创 2018-06-11 10:33:07 · 1571 阅读 · 0 评论