摘要: 配置 JAVA_OPTS=" -server -Xmx${Xmx} -Xms${Xms} -Xmn256m -XX:PermSize=128m -Xss256k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+C MSParallelRemar 阅读全文
posted @ 2025-04-27 11:25 BigOrang 阅读(14) 评论(0) 推荐(0)
摘要: 示例代码 package com.example.demo; public class ClassLoaderExample { public static void main(String[] args) { // 1.8及以下ClassLoaderExample sun.misc.Launche 阅读全文
posted @ 2025-04-19 18:24 BigOrang 阅读(31) 评论(0) 推荐(0)
摘要: windows 有时候 netstat 可能无法正确显示占用端口的进程 netstat -ano| findstr '30020' Caused by: java.net.BindException: Address already in use: bind netstat -ano| findst 阅读全文
posted @ 2025-04-03 17:30 BigOrang 阅读(274) 评论(0) 推荐(0)
摘要: vmware Docker 设置代理到宿主机的代理软件 dockerhub被墙,很多镜像源无法使用,如果有可用的代理,可以参考以下配置 目录添加配置重启Docker端口不通代理软件需要打开 allow lan代理软件版本如果是windows则关闭防火墙 添加配置 获取宿主机的ip 在windows上 阅读全文
posted @ 2024-08-30 11:23 BigOrang 阅读(444) 评论(0) 推荐(0)
摘要: cloudflare https://dash.cloudflare.com/ 腾讯云域名列表 https://console.cloud.tencent.com/domain/all-domain/all 先进入 腾讯云列表,点击自己已购买的域名 新购买的域名,必须等待状态为正常以后才能进行下一步 阅读全文
posted @ 2024-08-29 16:29 BigOrang 阅读(3398) 评论(0) 推荐(0)
摘要: nginx 代理eureka后css/js/fonts无法访问,页面没有样式 server { listen 80; server_name your_domain.com; location /eureka { proxy_pass http://eureka_server_ip:8761; pr 阅读全文
posted @ 2024-07-24 18:10 BigOrang 阅读(67) 评论(0) 推荐(0)
摘要: docker run 以后查看日志,提示报错,服务不能正常启动. # docker logs -f 6413 standard_init_linux.go:211: exec user process caused "no such file or directory" standard_init_ 阅读全文
posted @ 2024-07-22 16:58 BigOrang 阅读(74) 评论(0) 推荐(0)
摘要: /** * @description 对HttpServletRequest 请求的数据进行转义,防止xss攻击 * URL: home.html?mothod=space&pid=335511 */ public class XssHttpServletRequestWrapper extends 阅读全文
posted @ 2024-07-05 10:37 BigOrang 阅读(6) 评论(0) 推荐(0)
摘要: SHOW PROFILE [type [, type] ... ] [FOR QUERY n] [LIMIT row_count [OFFSET offset]] type: { ALL | BLOCK IO | CONTEXT SWITCHES | CPU | IPC | MEMORY | PAG 阅读全文
posted @ 2024-06-21 17:55 BigOrang 阅读(14) 评论(0) 推荐(0)
摘要: 要重启所有 Docker 容器但不重启 MySQL 容器,可以使用以下命令: docker ps --format '{{.Names}}' | grep -v 'mysql' | xargs docker restart 解释 首先,列出所有正在运行的容器的名称,过滤掉 MySQL 容器: doc 阅读全文
posted @ 2024-06-14 13:57 BigOrang 阅读(16) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示