centos7下安装kong
参考:https://www.cnblogs.com/duanxz/p/10364783.html 1、已经安装好postgresql,可以参考这个博客 https://www.cnblogs.com/stulzq/p/7766409.html 2、碰到的问题 2.1 如果报错错误: 函数 to_regclass(unknown) 不存在 (12) 参考 https://www.lijiaocn.com/%E9%97%AE%E9%A2%98/2018/09/29/kong-usage-problem-and-solution.html, postgresql版本升级就可以。sudo yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm#sudo yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpmkong migrations bootstrap 2.2 kong migrations up -c /etc/kong/kong.conf