会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青木流水
博客园
首页
新随笔
联系
订阅
管理
2024年7月23日
Arthas调试JVM参数的使用
摘要: 一、对于JVM介绍 1.JVM区域 JVM区域总体分两类,heap区和非heap区。heap区又分:Eden Space(伊甸园)、Survivor Space(幸存者区)、Tenured Gen(老年代-养老区)。 非heap区又分:Code Cache(代码缓存区)、Perm Gen(永久代)、
阅读全文
posted @ 2024-07-23 15:54 青木流水
阅读(375)
评论(0)
推荐(0)
2023年12月6日
CPU飙高问题代码排查
摘要: 1: top2: ps H -eo pid,tid,%cpu |grep 进程ID3:printf '0X%x\n' 线程TID4:jstack 进程ID|grep 16进制线程TID -A 20
阅读全文
posted @ 2023-12-06 16:34 青木流水
阅读(76)
评论(0)
推荐(0)
2023年11月13日
cas5.3 通过接口登录,登录后可跳到任意子系统,
摘要: Map<String, Object> map = (Map) new MyBeanMap(systemUser); PrincipalFactory principalFactory = new DefaultPrincipalFactory(); Principal principal = pr
阅读全文
posted @ 2023-11-13 14:22 青木流水
阅读(131)
评论(0)
推荐(0)
2023年3月2日
启动、关闭web应用脚本
摘要: #!/usr/bin/env bash INPUT=$2 #接收第二个参数(jar文件) FILE_PATH=`readlink -f ${INPUT}` #获取jar文件的绝对路径 SERVICE=${INPUT##*/} SERVICE_NAME=${SERVICE%.*} DAYTIME=$(
阅读全文
posted @ 2023-03-02 10:35 青木流水
阅读(47)
评论(0)
推荐(0)
2023年1月12日
常用正则表达式
摘要: 一、js 正则表达式 1、密码强度,至少包含大小写字母、特殊字符、数字三种及以上,长度8~20位 var reg = /(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_!@#$%^&*`~()-+=]+$)(?![a-z0-9]+$)(?![a-z\W_!@#$%&*~(
阅读全文
posted @ 2023-01-12 12:28 青木流水
阅读(30)
评论(0)
推荐(0)
2022年6月21日
修改nginx的http响应头server,以及真实ip模块、ssl模块、压缩模块的安装
摘要: 修改nginx的http响应头server字段修改源码 src/http/ngx_http_header_filter_module.c修改前:static u_char ngx_http_server_string[] = "Server: nginx" CRLF;static u_char ng
阅读全文
posted @ 2022-06-21 08:25 青木流水
阅读(625)
评论(0)
推荐(0)
2022年1月12日
linux开放或限制端口和ip访问
摘要: #Step1:删除原有的3306端口访问规则firewall-cmd --permanent --remove-port=3306/tcp #Step2:添加富规则firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source
阅读全文
posted @ 2022-01-12 15:01 青木流水
阅读(1221)
评论(0)
推荐(0)
2020年7月10日
部署Nginx反向代理服务 使用openssl自生成证书并配置https
摘要: 生成证书: 1.首先使用openssl执行如下命令生成一个key: openssl genrsa -des3 -out nginx.key 1024 然后他会要求你输入这个key文件的密码。不推荐输入。因为以后要给nginx使用。每次reload nginx配置时候都要你验证这个PAM密码的。 由于
阅读全文
posted @ 2020-07-10 17:01 青木流水
阅读(752)
评论(0)
推荐(0)
2014年12月11日
获取html字符串中第一张图片的路径以及获取html字符串中的文字内容(去掉标签)
摘要: /** * 获取html字符串中第一张图片的路径 * @param htmlcontent * @return */ public static String getImgFromHtml(String htmlcontent){ if(htmlcontent!=null){ Stri...
阅读全文
posted @ 2014-12-11 10:02 青木流水
阅读(828)
评论(0)
推荐(0)
2014年9月19日
spring mvc中应用@ResponseBody的配置
摘要: 在spring的配置文件中添加json转换器即可
阅读全文
posted @ 2014-09-19 11:19 青木流水
阅读(509)
评论(0)
推荐(0)
下一页
公告