上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: ALTER TABLE config_info ADD COLUMN encrypted_data_key text NOT NULL COMMENT "秘钥"; ALTER TABLE config_info_beta ADD COLUMN encrypted_data_key text NOT 阅读全文
posted @ 2022-12-05 15:27 yanglei.xyz 阅读(478) 评论(0) 推荐(0)
摘要: 安装openresty cd /usr/local mkdir openresty cd openresty wget https://openresty.org/download/openresty-1.21.4.1.tar.gz tar -xvf openresty-1.21.4.1.tar.g 阅读全文
posted @ 2022-12-01 11:53 yanglei.xyz 阅读(257) 评论(0) 推荐(0)
摘要: 1、安装GoAccess yum install goaccess 2、带参数启动 goaccess /data/nginx/logs/access.log -o /data/nginx/html/report.html -p /etc/goaccess/goaccess.conf --real-t 阅读全文
posted @ 2022-12-01 11:26 yanglei.xyz 阅读(141) 评论(0) 推荐(0)
摘要: 网上很多教程说是这样做: if ($request_method = HEAD) { access_log off; } 试了之后是不行的,正确的做法如下: http { map $request_method $loggable { HEAD 0; OPTIONS 0; default 1; } 阅读全文
posted @ 2022-11-25 09:52 yanglei.xyz 阅读(275) 评论(0) 推荐(0)
摘要: 安装 brew install redis 常用命令 #启动redis服务 brew services start redis #关闭redis服务 brew services stop redis #重启redis服务 brew services restart redis #开机启动redis命 阅读全文
posted @ 2022-11-11 16:57 yanglei.xyz 阅读(300) 评论(0) 推荐(0)
摘要: /bin/bash -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2022-11-11 16:41 yanglei.xyz 阅读(55) 评论(0) 推荐(0)
摘要: 现象:nacos 2.1版本在发布配置文件时报错:发布失败。请检查参数是否正确 原因:2.0版本的sql脚本在2.1的时候做了调整 解决:官网2.1链接(下载下来,打开conf里面的nacos-mysql.sql,复制导入msyql即可): https://github.rc1844.workers 阅读全文
posted @ 2022-08-01 09:57 yanglei.xyz 阅读(1664) 评论(0) 推荐(0)
摘要: wget https://github.91chi.fun/https://github.com//docker/compose/releases/download/v2.7.0/docker-compose-linux-x86_64 mv docker-compose-linux-x86_64 / 阅读全文
posted @ 2022-07-20 15:02 yanglei.xyz 阅读(76) 评论(1) 推荐(0)
摘要: /** * 将数据转换为树型结构 * * @param sources sources * @return {@link List<DemoData>} */ public static List<DemoData> transToTree(List<DemoData> sources) { if 阅读全文
posted @ 2022-07-14 16:38 yanglei.xyz 阅读(1627) 评论(0) 推荐(0)
摘要: 报错内容: java.lang.IllegalStateException: Channel closed; cannot ack/nack 可能1,rabbitmq的配置文件需要设置 spring: rabbitmq: listener: direct: #手动确认 acknowledge-mod 阅读全文
posted @ 2022-06-07 15:33 yanglei.xyz 阅读(1362) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 13 下一页