摘要: 1、找到pip.ini 2、记事本修改 [global] timeout = 6000 index-url = https://pypi.tuna.tsinghua.edu.cn/simple trusted-host = https://pypi.tuna.tsinghua.edu.cn 阅读全文
posted @ 2025-09-27 10:43 SiSensor 阅读(49) 评论(0) 推荐(0)
摘要: 配置--Docker Engine-- { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false, "registry-mirrors": [ "https://do 阅读全文
posted @ 2025-07-03 17:40 SiSensor 阅读(31) 评论(0) 推荐(0)
摘要: 1、配置网站目录 直接选用默认apache,找到工作目录phpstudy_pro\WWW\ 创建一个文件夹phpstudy_pro\WWW\pikachu,将源码解压后复制到该目录里面,其他尽量不要修改。 2、配置数据库 先在phpstudy中开启mysql服务,使用默认5.7版本就行了,然后配置p 阅读全文
posted @ 2025-05-20 22:09 SiSensor 阅读(211) 评论(0) 推荐(0)
摘要: Google 开源了 Gemma 大模型,有 7B 和 2B 两个版本,7B 模型的能力已经是开源模型中的领先水平。Gemma 可以轻松的在本地部署运行,如果你的显存在 8G 以上,可以体验 7B 版本,8G 以下的话可以试试 2B 版本。 部署过程如下: 1、使用 ollama 运行 Gemma 阅读全文
posted @ 2024-09-25 19:19 SiSensor 阅读(397) 评论(0) 推荐(0)
摘要: 显示和查找资源 列出所有 namespace 中的所有 service $ kubectl get services 列出所有 namespace 中的所有 pod $ kubectl get pods --all-namespaces 列出所有 pod 并显示详细信息 $ kubectl get 阅读全文
posted @ 2024-09-25 19:09 SiSensor 阅读(138) 评论(0) 推荐(0)
摘要: macos物理机 1、如何在Mac上查看文件完整路径 终端命令行输入【defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder】按回车即可成功。 macos的虚拟机问题 1、关于Mac OS虚拟 阅读全文
posted @ 2023-08-28 15:51 SiSensor 阅读(100) 评论(0) 推荐(0)
摘要: ### 1. #CentOS下查看最后登录的用户信息 tail /var/log/messages tail /var/log/secure ### 2. *查看所有登陆记录,过滤IP和用户。 who /var/log/wtmp |grep 10.0.1.30 |grep root ![](http 阅读全文
posted @ 2023-07-05 12:47 SiSensor 阅读(216) 评论(0) 推荐(0)
摘要: 1、管理员运行cmd ![](https://img2023.cnblogs.com/blog/2052933/202306/2052933-20230619101423899-1356585366.png) 2、输入 `reg.exe add "HKCU\Software\Classes\CLSI 阅读全文
posted @ 2023-06-19 10:15 SiSensor 阅读(290) 评论(0) 推荐(0)
摘要: 1、注册表中密码信息 计算机\HKEY_CURRENT_USER\Software\PremiumSoft\Navicat\Servers\localhost ![](https://img2023.cnblogs.com/blog/2052933/202306/2052933-2023060710 阅读全文
posted @ 2023-06-07 10:40 SiSensor 阅读(146) 评论(0) 推荐(0)
摘要: CentOS7用firewall防火墙替代了原来的iptables,所以我们应该使用firewall的一些命令。 1.关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止f 阅读全文
posted @ 2023-06-06 13:16 SiSensor 阅读(234) 评论(0) 推荐(0)