上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 90 下一页
摘要: 查看防火墙状态 systemctl status firewalld 如果防火墙处于停止状态,则启动它: systemctl start firewalld 并设置防火墙开机自启: systemctl enable firewalld 查看当前开放的端口 firewall-cmd --list-po 阅读全文
posted @ 2024-07-21 10:24 牛奔 阅读(418) 评论(0) 推荐(0)
摘要: gin使用fvbock/endless gin 正常使用注册路由时: package main import "github.com/gin-gonic/gin" func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) 阅读全文
posted @ 2024-06-18 20:13 牛奔 阅读(260) 评论(0) 推荐(0)
摘要: 环境变量配置 在 macOS 上,如果你使用的是 zsh 作为默认的 shell,那么 /bin/zsh 的环境变量通常可以在以下文件中配置: ~/.zshrc ~/.zprofile ~/.zshenv 这些文件的作用如下: ~/.zshrc: 这是 zsh 的主要配置文件。 它在每次打开新的 z 阅读全文
posted @ 2024-06-15 19:32 牛奔 阅读(3199) 评论(0) 推荐(0)
摘要: 什么是COCO数据集? MS COCO的全称是Microsoft Common Objects in Context,起源于微软于2014年出资标注的Microsoft COCO数据集,与ImageNet竞赛一样,被视为是计算机视觉领域最受关注和最权威的比赛之一。 COCO数据集是一个可用于图像检测 阅读全文
posted @ 2024-06-11 22:47 牛奔 阅读(2814) 评论(0) 推荐(1)
摘要: 前言 k8s 集群 node节点报错:The connection to the server localhost:8080 was refused - did you specify the right host or port? 通过 kubectl get nodes 查看集群的情况,出现了报 阅读全文
posted @ 2024-05-29 11:17 牛奔 阅读(1891) 评论(2) 推荐(0)
摘要: 解决 需要加一行 try_files $uri $uri/ /index.html;,其中 /index.html 是你自己的目录中的入口文件 server { listen [::]:80 default_server; #root /var/www/html; # Add index.php t 阅读全文
posted @ 2024-05-28 09:47 牛奔 阅读(652) 评论(0) 推荐(0)
摘要: 解决 server { listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You 阅读全文
posted @ 2024-05-28 09:40 牛奔 阅读(506) 评论(0) 推荐(0)
摘要: 前言 运行 python 报错:ModuleNotFoundError: No module named '_bz2' when building python 解决 安装在 Ubuntu/Debian 上: sudo apt-get install libbz2-dev 安装在 Fedora 上: 阅读全文
posted @ 2024-05-28 09:10 牛奔 阅读(1156) 评论(0) 推荐(0)
摘要: 前言 运行 python 报错:ModuleNotFoundError: No module named '_sqlite3' 解决 重新编译安装 python ./configure --enable-loadable-sqlite-extensions make make install 阅读全文
posted @ 2024-05-28 09:03 牛奔 阅读(333) 评论(0) 推荐(0)
摘要: 前言 运行 python 报错:ModuleNotFoundError: No module named '_ctypes' when using Value from module multiprocessing 这个错误是由于缺少 Python 的 ctypes 模块导致的。ctypes 模块是 阅读全文
posted @ 2024-05-28 09:00 牛奔 阅读(1148) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 90 下一页