摘要: 容器中iptables报错: iptables -L -n modprobe: can't change directory to '/lib/modules': No such file or directory iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. 阅读全文
posted @ 2022-04-12 16:38 redcat8850 阅读(8221) 评论(0) 推荐(0) 编辑
摘要: CentOS8无法更新,提示:No URLs in mirrorlist 阅读全文
posted @ 2022-02-03 15:22 redcat8850 阅读(1658) 评论(0) 推荐(0) 编辑
摘要: 无意中看到Github上很多readme.md用了漂亮又有趣的表情符号,想着是怎么实现。开始我还以为是什么emoji的插件,查着查着才知道,原来unicode字符集已经加入了emoji表情图标。于是就有了下文,毕竟在文章中插入酷酷的表情符号更具阅读性。 ☝️emoji是什么 绘文字(日语:絵文字/え 阅读全文
posted @ 2021-12-22 01:59 redcat8850 阅读(2372) 评论(0) 推荐(2) 编辑
摘要: 由于用户使用Python脚本的时候可能没有运行环境,所以需要打包。记录下碰到的问题。 安装 # 安装 pip install --upgrade pyinstaller # 安装最新开发版 pip install https://github.com/pyinstaller/pyinstaller/ 阅读全文
posted @ 2021-12-22 01:52 redcat8850 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 工作思路 dnsmasq 为局域网中客户端提供DHCP服务和DNS解析缓存,在客户机数量多(成百上千)的时候缓存的意义重大。将DNS转发给Clash,由Clash来防止防止DNS被污染。 Clash 支持各种代理协议,支持各种分流规则,拥有防止DNS污染的解决途径。 DNS污染对Clash的影响 浅 阅读全文
posted @ 2021-12-22 01:45 redcat8850 阅读(501) 评论(0) 推荐(0) 编辑