摘要: 当前g6实例(8核32G) 升级成同规格g7实例 规格名称 ecs.hfg6.2xlarge ecs.g7.2xlarge 处理器型号 8269CY 8369B 处理器主频/睿频 3.1 GHz/3.5 GHz -/3.5 GHz 内网带宽 2.5Gbps 5Gbps 内网收发包 80 万 PPS 阅读全文
posted @ 2023-05-17 12:05 sherlock-merlin 阅读(115) 评论(0) 推荐(0) 编辑
摘要: https://www.google.com/intl/zh-CN/chrome/thank-you.html?installdataindex=empty&standalone=1&statcb=0&defaultbrowser=0 阅读全文
posted @ 2023-05-16 17:38 sherlock-merlin 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 虚拟机启动不了,报IO ERROR,由于刚接触PVE,不知道怎么解决,网上都是转发的一篇文章,只有寥寥数语,说清理磁盘空间,可是如何清理却没有提及 最简单的临时解决方案,删掉1个快照文件,就能够释放一些磁盘空间用于启动虚拟机了 阅读全文
posted @ 2023-04-06 11:33 sherlock-merlin 阅读(1321) 评论(0) 推荐(0) 编辑
摘要: cd /etc/yum.repos.d/ mkdir bak mv CentOS-Base.repo ./bak/ wget http://mirrors.163.com/.help/CentOS7-Base-163.repo yum install epel-release sed -e 's!^ 阅读全文
posted @ 2023-03-31 19:11 sherlock-merlin 阅读(55) 评论(0) 推荐(0) 编辑
摘要: A机器免密登陆B机器 [root@ServerA ~]# ssh-copy-id ServerB /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" /usr/bin/ssh-co 阅读全文
posted @ 2023-03-31 09:46 sherlock-merlin 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters] "MaxCacheTtl"=dword:0000003c 保存为 .reg文 阅读全文
posted @ 2023-02-23 16:06 sherlock-merlin 阅读(291) 评论(0) 推荐(0) 编辑
摘要: DoH服务器列表: https://www.dnspod.cn/Products/Public.DNS 命令行怎么测试Doh? 最简单的方法是使用curl,如下命令: curl -H "accept: application/dns-json" "https://1.1.1.1/dns-query? 阅读全文
posted @ 2023-02-23 16:04 sherlock-merlin 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 写个脚本,每隔几秒开启/关闭网卡,循环往复,在交换机上找一会亮一会灭的端口。 CMD: @echo off CHCP 65001 for /l %%x in (1, 1, 100000) do ( timeout 1 netsh interface set interface 以太网 disable 阅读全文
posted @ 2022-12-19 17:48 sherlock-merlin 阅读(68) 评论(0) 推荐(0) 编辑
摘要: https://www.piis.cn/jiaocheng/1992.html 阅读全文
posted @ 2022-11-11 10:59 sherlock-merlin 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 修改文件: C:\Users\用户名.kettle\kettle.properties 在其中加入内容: KETTLE_EMPTY_STRING_DIFFERS_FROM_NULL 然后重启Kettle就可以了 参考链接:https://blog.csdn.net/dongdong9223/arti 阅读全文
posted @ 2022-10-10 12:11 sherlock-merlin 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 背景: 有固定公网IP,但是运营商屏蔽了80端口、443端口,因此无法在群晖上面直接申请Let's Encrypt证书。 至于为什么不使用群晖自己的域名和证书,因为运营商有时候会屏蔽群晖的二级域名。 宝塔申请下来证书后,点击下载证书,下载后解压,里面有几种证书格式,群晖用nginx对应的证书格式。 阅读全文
posted @ 2022-09-15 16:48 sherlock-merlin 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 这样操作后,笔记本的有线网卡IP地址变成了192.168.137.1(win10为192.168.0.1) 其他电脑用网线连接笔记本的网口,设置和笔记本有线网卡同一网段,网关设置成笔记本有线网卡的IP地址(192.168.137.1或192.168.0.1)即可上网 阅读全文
posted @ 2022-08-26 11:39 sherlock-merlin 阅读(1554) 评论(0) 推荐(0) 编辑
摘要: location ^~ /myqpp { rewrite ^/myapp/(.*)$ /$1 break; proxy_pass http://127.0.0.1:8080; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header H 阅读全文
posted @ 2022-08-24 12:32 sherlock-merlin 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 研究出两种方法: 1、使用chrome的启动参数: --custom-devtools-frontend="D:\\1.exe" 作用:指定第三方的调试工具,我们指定没有作用且无用户界面的程序就好了。 2、使用注册表,reg文件内容 Windows Registry Editor Version 5 阅读全文
posted @ 2022-08-23 17:55 sherlock-merlin 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 我还以为路由器的问题,用nslookup试了其他DNS服务商才发现是电信DNS(202.96.128.86、202.96.134.33)的问题,返回127.0.0.1给我,莫名其妙。 阅读全文
posted @ 2022-08-18 19:02 sherlock-merlin 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: 1、stat /lost+found/ 由于系统内某些文件基本上不会使用到,他们的修改日期一般即为系统安装日期 2、rpm -qi tar | grep Install 查询基础软件包的安装日期 阅读全文
posted @ 2022-08-10 10:22 sherlock-merlin 阅读(5991) 评论(0) 推荐(0) 编辑
摘要: 使用-i参数手动指定源即可,比如 pip install django -i https://mirrors.aliyun.com/pypi/simple/ 以下是国内常见的源 清华 https://pypi.tuna.tsinghua.edu.cn/simple/ 中科大 https://pypi 阅读全文
posted @ 2022-08-09 16:41 sherlock-merlin 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 最近有cookie共享的需求,需要用到袋里服务器,选用TinyProxy,简单易配置,缺点,支持的协议较少,只有htp和https,不支持Socks5。而且传输回客户端用的是http协议,袋里某些网站会被**影响。 最终方案:TinyProxy + Stunnel + Let's Encrypt 证 阅读全文
posted @ 2022-08-07 00:12 sherlock-merlin 阅读(631) 评论(0) 推荐(0) 编辑
摘要: [mysqld] port = 3306 socket = /data/mysql/mysql.sock #使用容量比较大的分区来保存mysql数据 datadir = /data/mysql default_storage_engine = InnoDB performance_schema_ma 阅读全文
posted @ 2022-08-04 09:41 sherlock-merlin 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 官方教程:https://docs.graylog.org/docs/docker docker run --name mongo -d mongo:4.2 docker run --name elasticsearch -e "http.host=0.0.0.0" -e "discovery.ty 阅读全文
posted @ 2022-08-02 10:45 sherlock-merlin 阅读(470) 评论(0) 推荐(0) 编辑