摘要: windows 指定任意 exe 为服务 sc.exe create ToolBox binPath= "D:\code\dotnet\ToolBox\ToolBox\bin\Debug\net8.0\ToolBox.exe" sc.exe description ToolBox "提供本地 Web 阅读全文
posted @ 2026-06-28 19:57 whmmm 阅读(7) 评论(0) 推荐(0)
摘要: windows 查询端口占用 netstat -ano | findstr ":80" netstat -ano | findstr ":6379" 阅读全文
posted @ 2025-09-09 10:54 whmmm 阅读(14) 评论(0) 推荐(0)
摘要: 01. nodejs 20 运行老项目 npm i 报错问题 npm install --legacy-peer-deps 加上 --legacy-peer-deps 参数 阅读全文
posted @ 2025-08-18 15:32 whmmm 阅读(24) 评论(0) 推荐(0)
摘要: 当然可以!以下是完整的 Spring MVC 请求-响应执行流程,涵盖了包括 HandlerInterceptor、RequestBodyAdvice、ResponseBodyAdvice、异常处理等组件的完整生命周期。 ✅ Spring MVC 执行流程总览图(重点组件标注) + + | Disp 阅读全文
posted @ 2025-06-18 13:42 whmmm 阅读(290) 评论(0) 推荐(0)
摘要: 既然你已经有了 fullchain.pem(包含证书链)和 privkey.pem(私钥),并希望使用 openssl 本地检查 SSL 是否生效(即是否匹配、有效等),可以用以下方式检查: 检查网站 echo | openssl s_client -servername xichangnccq.c 阅读全文
posted @ 2025-06-17 15:59 whmmm 阅读(1090) 评论(0) 推荐(0)
摘要: 当前目录查找文件 # 查找 *exportfile.xls 文件 find . -name "*exportfile.xls" 阅读全文
posted @ 2025-03-28 17:32 whmmm 阅读(554) 评论(0) 推荐(0)
摘要: 1. k3s agent 客户端修改 # vim /etc/systemd/system/k3s-agent.service ExecStart=/usr/local/bin/k3s \ agent --kubelet-arg eviction-hard=imagefs.available<6Gi, 阅读全文
posted @ 2025-03-20 14:04 whmmm 阅读(169) 评论(0) 推荐(0)
摘要: ls 相关 列出文件 ls -alh --time-style=+"%Y-%m-%d %H:%M:%S" 阅读全文
posted @ 2025-02-13 10:06 whmmm 阅读(25) 评论(0) 推荐(0)
摘要: 添加 WAF 后 NGINX 的 IP 访问限制可能不生效,通常是因为 WAF 修改了请求头或代理了请求,导致 NGINX 无法正确识别客户端真实 IP。以下是排查和解决的思路: 1. 确认是否启用了代理模式 如果 WAF 运行在代理模式下,客户端请求经过 WAF,再转发到 NGINX,这样 rem 阅读全文
posted @ 2025-02-07 09:21 whmmm 阅读(228) 评论(0) 推荐(0)
摘要: 可以使用以下几种常见命令来查询 Linux 系统中的 CPU 信息: 1. lscpu 获取详细的 CPU 架构信息。 lscpu 2. 查看 /proc/cpuinfo 文件 输出包含每个核心的详细信息。 cat /proc/cpuinfo 只列出核心数量和型号: grep "model name 阅读全文
posted @ 2025-02-06 18:08 whmmm 阅读(719) 评论(0) 推荐(0)
//增加一段JS脚本,为目录生成使用