摘要: 转发自 https://blog.csdn.net/m0_67390788/article/details/123969932 grep -vE "#|^$" filename 或者 grep -v "#\|^$" filename 阅读全文
posted @ 2022-10-17 11:21 吃吃吃大王 阅读(103) 评论(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 吃吃吃大王 阅读(105) 评论(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 吃吃吃大王 阅读(82) 评论(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 吃吃吃大王 阅读(144) 评论(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 吃吃吃大王 阅读(673) 评论(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 吃吃吃大王 阅读(316) 评论(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 吃吃吃大王 阅读(164) 评论(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 吃吃吃大王 阅读(225) 评论(0) 推荐(0)
摘要: 跟nginx切割方法一样,细节略有不同,先写一个切割日志的脚本 vi cut_nginx_log.sh #!/bin/bash LOG_PATH="/home/logs" //日志路径 RECORD_TIME=$(date +%Y%m%d%H%M) //系统时间 PID=/usr/local/kon 阅读全文
posted @ 2022-07-07 10:30 吃吃吃大王 阅读(358) 评论(0) 推荐(0)
摘要: 一、RPM方式安装 https://blog.csdn.net/weixin_45192732/article/details/122497482 二、Docker部署RabbitMQ docker run -d --hostname my-rabbit01 --name rabbitmq -p 5 阅读全文
posted @ 2022-07-01 14:11 吃吃吃大王 阅读(41) 评论(0) 推荐(0)