2023年1月17日

oracle sessionkill掉后连接未释放,需要OS层杀死的进程

摘要: select spid from gv$process where (inst_id,addr) in (select inst_id,addr from gv$process where pid<>1 and pname is nullminusselect inst_id,paddr from 阅读全文

posted @ 2023-01-17 11:53 抡砖 阅读(43) 评论(0) 推荐(0)

2022年11月16日

mysql服务停止失败无法启动

摘要: taskkill/f /t /im mysqld.exe 阅读全文

posted @ 2022-11-16 13:52 抡砖 阅读(43) 评论(0) 推荐(0)

2022年11月14日

nginx服务转发

摘要: location /path { proxy_pass http://127.0.0.1:8080; } 阅读全文

posted @ 2022-11-14 16:44 抡砖 阅读(14) 评论(0) 推荐(0)

nginx SSL证书配置

摘要: #SSL-INFO-START#SSL证书 #公钥+私钥ssl_certificate ssl/fullchain.pem; #私钥ssl_certificate_key ssl/privkey.pem;#兼容性 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #密码套件s 阅读全文

posted @ 2022-11-14 16:40 抡砖 阅读(77) 评论(0) 推荐(0)

2022年11月7日

linux杀死进程

摘要: ps -ef | grep flask | grep -v grep | awk '{print $2}' | xargs kill -9 命令分析: 命令作用 ps -ef | grep flask 找到所有 flask 进程 grep -v grep 过滤包含 grep 的进程行 awk '{p 阅读全文

posted @ 2022-11-07 11:18 抡砖 阅读(21) 评论(0) 推荐(0)

mysql8.0密码caching_sha2_password

摘要: alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 阅读全文

posted @ 2022-11-07 08:52 抡砖 阅读(32) 评论(0) 推荐(0)

2022年9月20日

redis启动脚本

摘要: @echo off title redis-server set ENV_HOME="D:\redis\Redis-x64-5.0.14.1" color 07 d: cd %ENV_HOME% redis-server.exe redis.windows.conf 连接: redis-cli.ex 阅读全文

posted @ 2022-09-20 08:47 抡砖 阅读(32) 评论(0) 推荐(0)

2022年9月19日

springboot拦截器

摘要: package com.module.interceptor; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Configuration; imp 阅读全文

posted @ 2022-09-19 11:28 抡砖 阅读(28) 评论(0) 推荐(0)

nginx访问域名对应文件目录

摘要: server { listen 80; server_name ~^(.+)?.test.lunzhuan.cn$; set $www_root $1; root data/web/test.lunzhuan.cn/$www_root;} 阅读全文

posted @ 2022-09-19 10:38 抡砖 阅读(75) 评论(0) 推荐(0)

导航