摘要: 一、Upstream1、创建Upstream: curl -i -X POST IPAddress:8001/upstreams -d 'name=upstream-test' -d 'slots=1000' 2、创建Targets目标地址并且关联Upstream: curl -i -X POST 阅读全文
posted @ 2022-10-19 13:14 吃吃吃大王 阅读(436) 评论(0) 推荐(0)
摘要: systemctl stop firewalld systemctl disable firewalld 1、安装docker-compose sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/d 阅读全文
posted @ 2022-10-18 11:50 吃吃吃大王 阅读(94) 评论(0) 推荐(0)
摘要: 转发自 https://blog.csdn.net/m0_67390788/article/details/123969932 grep -vE "#|^$" filename 或者 grep -v "#\|^$" filename 阅读全文
posted @ 2022-10-17 11:21 吃吃吃大王 阅读(117) 评论(0) 推荐(0)
摘要: tomcat下载地址:https://tomcat.apache.org/ 下载并解压到任意目录,我解压到了/usr/local/tomecat目录下 jdk下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index-jsp- 阅读全文
posted @ 2022-10-11 11:43 吃吃吃大王 阅读(113) 评论(0) 推荐(0)
摘要: yum install tigervnc tigervnc-server vi /etc/sysconfig/vncservers # VNCSERVERS="1:vncuser 2:john" # use the method for more user VNCSERVERS="0:root 1: 阅读全文
posted @ 2022-09-23 13:16 吃吃吃大王 阅读(95) 评论(0) 推荐(0)
摘要: volumeMounts: - mountPath: /app/file name: nfs-volume volumes: - name: nfs-volume nfs: path: /home/app/nfs_file server: nfs服务器IP地址 阅读全文
posted @ 2022-08-24 16:09 吃吃吃大王 阅读(158) 评论(0) 推荐(0)
摘要: 修改 /usr/lib/systemd/system/docker.service 没有的话通过find命令搜索 find / -name docker.service ExecStart=/usr/bin/dockerd --insecure-registry 仓库地址 systemctl dae 阅读全文
posted @ 2022-08-09 09:04 吃吃吃大王 阅读(677) 评论(0) 推荐(0)
摘要: docker安装方式: docker pull postgres:9.6 docker pull kong:latest docker pull pantsel/konga:latest #创建docker网络 docker network create kong-net #运行PG数据库 dock 阅读全文
posted @ 2022-07-31 17:26 吃吃吃大王 阅读(326) 评论(0) 推荐(0)
摘要: 默认位置在 /etc/kong/kong.conf proxy_access_log = /usr/local/kong/logs/access.log proxy_error_log = /usr/local/kong/logs/error.log admin_access_log = /usr/ 阅读全文
posted @ 2022-07-12 16:54 吃吃吃大王 阅读(187) 评论(0) 推荐(0)
摘要: 默认情况KONG网关的配置文件在 /usr/local/share/lua/5.1/kong/templates/nginx_kong.lua 添加log_format log_format main '{"@timestamp": "$time_local", ' '"remote_addr": 阅读全文
posted @ 2022-07-11 15:55 吃吃吃大王 阅读(256) 评论(0) 推荐(0)