API Gateway --- Kong 설치 주의사항

52341 단어 운영 체제
시스템 (CentOS) 에 openresty 가 설치 되 어 있 으 면 마 운 트 해제 해 야 합 니 다. 그렇지 않 으 면 오류 가 발생 할 수 있 습 니 다.
Transaction check error:
  file /usr/local/openresty/nginx/html/index.html from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/websocket/client.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/websocket/server.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/bin/luajit from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/lauxlib.h from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/lua.h from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/lua.hpp from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/luaconf.h from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/luajit.h from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/include/luajit-2.1/lualib.h from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0 from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/luajit/lib/pkgconfig/luajit.pc from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/cjson.so from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/balancer.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/ocsp.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/re.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/semaphore.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/ssl.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/ngx/ssl/session.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/redis/parser.so from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/aes.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/base.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/base64.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/ctx.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/exit.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/hash.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/misc.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/regex.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/request.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/response.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/shdict.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/time.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/uri.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/var.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/core/worker.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/dns/resolver.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/limit/conn.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/limit/req.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/limit/traffic.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/lock.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/lrucache.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/lrucache/pureffi.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/md5.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/memcached.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/mysql.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/random.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/redis.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha1.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha224.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha256.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha384.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/sha512.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/string.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/upload.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/upstream/healthcheck.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/lualib/resty/websocket/protocol.lua from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/fastcgi.conf from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/fastcgi.conf.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/fastcgi_params from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/fastcgi_params.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/koi-utf from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/koi-win from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/mime.types from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/mime.types.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/nginx.conf from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/nginx.conf.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/scgi_params from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/scgi_params.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/uwsgi_params from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/uwsgi_params.default from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/conf/win-utf from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/html/50x.html from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64
  file /usr/local/openresty/nginx/sbin/nginx from install of kong-community-edition-0.11.2-1.noarch conflicts with file from package openresty-1.11.2.5-2.el7.centos.x86_64

    

직접 운행
[root@docker1 spy]# sudo yum install kong-community-edition-0.11.2.*.noarch.rpm --nogpgcheck
     :fastestmirror
     kong-community-edition-0.11.2.el7.noarch.rpm: kong-community-edition-0.11.2-1.noarch
kong-community-edition-0.11.2.el7.noarch.rpm     
        
-->       
--->     kong-community-edition.noarch.0.0.11.2-1      
-->         

      

===========================================================================================================================================================================
 Package                                                                                                                                                           
===========================================================================================================================================================================
    :
 kong-community-edition                     noarch                     0.11.2-1                        /kong-community-edition-0.11.2.el7.noarch                      40 M

    
===========================================================================================================================================================================
    1    

  :40 M
    :40 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
          : kong-community-edition-0.11.2-1.noarch                                                                                                                 1/1
           : kong-community-edition-0.11.2-1.noarch                                                                                                                 1/1

   :
  kong-community-edition.noarch 0:0.11.2-1

[root@docker1 ]# kong version
0.11.2

좋은 웹페이지 즐겨찾기