1 2 3 4 5 ··· 10 下一页
摘要: windows 系统:win11 python: Python 3.11.0 (目前位置必须这个版本) 操作工具 CMD ,绝对不能用powershell 1.创建虚拟环境 python -m venv GameEnv 2.激活虚拟环境 GameEnv\Scripts\activate.bat 成功 阅读全文
posted @ 2025-12-12 11:09 adao 阅读(199) 评论(0) 推荐(0)
摘要: 查看日志发现报错如下 tail -f /var/log/mongodb/mongod.log 含义: MongoDB 在启动时,发现用于本地通信的 Unix Domain Socket 文件 /tmp/mongodb-27017.sock 已经存在。它尝试删除(unlink)这个残留文件,但被操作系 阅读全文
posted @ 2025-12-11 10:25 adao 阅读(14) 评论(0) 推荐(0)
摘要: 1Update the system and install dependencies. First, update the package list and install curl and gnupg $ sudo apt update $ sudo apt install curl gnupg 阅读全文
posted @ 2025-12-10 17:31 adao 阅读(20) 评论(0) 推荐(0)
摘要: 2024.3 的版本 安装完成后,启动报错: [0.007s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (val 阅读全文
posted @ 2025-07-16 22:08 adao 阅读(1706) 评论(0) 推荐(0)
摘要: failure: java.lang.IndexOutOfBoundsException: srcIndex: 0 这是因为Netty有引用计数器的原因,自从Netty 4开始,对象的生命周期由它们的引用计数(reference counts)管理,而不是由垃圾收集器(garbage collect 阅读全文
posted @ 2022-04-06 10:37 adao 阅读(267) 评论(0) 推荐(0)
摘要: windows https://www.apachelounge.com/download/ CentOS下Yum直接安装: yum install httpd-tools Ubuntu下也差不多: apt-get install apache2-utils -n参数用来设置模拟请求的总次数 -c参 阅读全文
posted @ 2021-08-18 13:47 adao 阅读(181) 评论(0) 推荐(0)
摘要: 首先登录互踢,就是同一账号同时只能在一处登录,所以实现方式就是没登录一次就更新一次token,确保之前的token失效 这里有两种方式 1.修改源码,将生成机制修改 下面屏蔽的代码就是修改的代码,这个在网上挺多的 参考:Spring Security OAuth2 实现登录互踢 - 云+社区 - 腾 阅读全文
posted @ 2021-08-15 16:33 adao 阅读(2903) 评论(0) 推荐(0)
摘要: Spring Security OAuth2使用Redis作为token存储 授权application.yml 服务器保存token到Redis server: port: 8080 spring: redis: host: 127.0.0.1 port: 6379 password: 123 d 阅读全文
posted @ 2021-08-15 16:19 adao 阅读(3691) 评论(0) 推荐(0)
摘要: 检查文件内容 windows下,每一行的结尾是\n\r, 而在linux下文件的结尾是\n, 那么你在windows下编辑过的文件在linux下打开看的时候每一行的结尾就会多出来一个字符\r, 用cat -A urfile时你可以看到这个\r字符被显示为^M # cat -A nginx_chk.s 阅读全文
posted @ 2021-08-05 09:35 adao 阅读(792) 评论(0) 推荐(0)
摘要: 主服务器不做任何操作 从服务器修改配置 确保如果主从服务器是不通的地址那么确保 bind 127.0.0.1 屏蔽状态 # bind 192.168.1.100 10.0.0.1# bind 127.0.0.1 ::1 修改端口(主服务器 6379) port 6380 添加主服务配置 # slav 阅读全文
posted @ 2020-12-17 22:27 adao 阅读(682) 评论(0) 推荐(0)
1 2 3 4 5 ··· 10 下一页