摘要: 来自:https://www.aabcc.top/archives/m7NPfx1D 方法1 github开源项目:https://github.com/DaoCloud/public-image-mirror 将jellyfin/jellyfin:10.9.2换成你需要的镜像名和版本 docker 阅读全文
posted @ 2024-06-20 09:10 没脚的丛林鸟 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1.reg文件内容,编辑好之后,双击1.reg文件即可 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\SublimeText3] @="Edit with Sublime Text3" "Icon"="D:\\soft 阅读全文
posted @ 2024-05-29 09:34 没脚的丛林鸟 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 读取json格式文件 import json with open('1.txt', 'r', encoding='utf-8') as f1: lines1 = f1.readlines() for x1 in lines1: data1 = json.loads(x1) 阅读全文
posted @ 2024-04-03 21:24 没脚的丛林鸟 阅读(1) 评论(0) 推荐(0) 编辑
摘要: cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak cp /etc/pam.d/sshd /etc/pam.d/sshd.bak systemctl status sshd systemctl stop sshd cd /usr/src/test/ ap 阅读全文
posted @ 2024-03-27 15:58 没脚的丛林鸟 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 用户访问限制 mysql> create user 'root'@'172.13.13.241' identified by '1111'; Query OK, 0 rows affected (0.00 sec) mysql> create user 'root'@'172.18.%.%' ide 阅读全文
posted @ 2024-03-11 17:08 没脚的丛林鸟 阅读(1) 评论(0) 推荐(0) 编辑
摘要: split -b 100M out.log out.log. 阅读全文
posted @ 2024-03-05 16:37 没脚的丛林鸟 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 实现方式 通过环境变量的方式实现,docker-compose.yaml文件中image段指定的镜像通过变量方式引入,以下是示例: docker-compose.yaml文件内容如下: version: '3' services: svc-new-pro: image: ${SVC_NEW_PRO} 阅读全文
posted @ 2024-02-25 21:27 没脚的丛林鸟 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 目录前言生成证书的方式部署过程获取dnspod域名解析id和Key注册账号+生成证书更新证书失败?不要慌,有方法!别走,还有其他内容你也需要了解 前言 使用acme.sh原由:因为项目使用到的子域名比较多,公司没有购买泛域名证书,证书到期后一个个替换太麻烦了,a56爆大奖在线娱乐使用acme.sh来生成泛域名证书, 阅读全文
posted @ 2024-01-09 15:10 没脚的丛林鸟 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 有效期检查 openssl x509 -enddate -noout -in xxx.pem 阅读全文
posted @ 2023-12-18 15:55 没脚的丛林鸟 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 444状态码说明 444是Nginx中特殊的状态码,代表的含义是:Nginx关闭连接而不向客户端发送响应,可以用来抵挡ddos攻击 配置 #user nobody; #worker_processes 1; #error_log logs/error.log; #error_log logs/err 阅读全文
posted @ 2023-12-14 16:34 没脚的丛林鸟 阅读(197) 评论(0) 推荐(0) 编辑