1 2 3 4 5 ··· 85 下一页
摘要: 文件操作命令 find find 用于在指定目录下查找文件或子目录,如果不指定查找目录,则在当前目录下查找 命令格式:find path -option [-print] [ -exec/-ok command {} \ ]; 「print」:将匹配的文件输出到标准输出 「exec」:对匹配的文件作 阅读全文
posted @ 2021-07-24 15:06 牛奔 阅读(1099) 评论(1) 推荐(1) 编辑
摘要: 前言 k8s 集群中,使用 kubelet 报错,如下: The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port? 排查思路 1. 检查环境是否正常 1.1 确认 阅读全文
posted @ 2025-02-07 10:53 牛奔 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 前言 git push origin master git push 时报错: error: src refspec master does not match anyerror: failed to push some refs to 'https://gitee.com 这个错误可能是由不同原因 阅读全文
posted @ 2025-02-05 09:17 牛奔 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 前言 当你使用 Vue CLI 或其他构建工具构建 Vue 2 项目时,它会生成一个 dist 文件夹,这个文件夹包含了你项目的生产环境版本的静态资源文件(HTML、JavaScript 和 CSS)。 直接打开 dist 文件夹中的 index.html 文件在某些情况下是可以的,但是由于浏览器的 阅读全文
posted @ 2025-01-07 22:28 牛奔 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 下载源码 git clone https://github.com/kevinburke/sshpass.git 由于网络问题,这里我用了一个代理下载 git clone https://ghproxy.cn/https://github.com/kevinburke/sshpass.git 安装依 阅读全文
posted @ 2025-01-07 22:27 牛奔 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 前言 在 windows 使用 nvm,管理 node 版本时,nvm install 14.21.3 后,发现在指定 node 版本的 node_modules 文件夹中没有对应的 npm 包,这时有两种方法解决,第一种配置自动下载 npm,第二种手动下载 npm 更改配置文件,自动下载npm 命 阅读全文
posted @ 2024-12-25 20:40 牛奔 阅读(971) 评论(0) 推荐(0) 编辑
摘要: 安装 mockj 首先确保你有一个 vue 2 项目,如果没有,可以用 Vue CLI 创建一个: vue create vue-mock-demo 开始安装 Mock.js npm install mockjs --save-dev 创建 Mock 配置文件 在项目的 src 目录下新建一个文件夹 阅读全文
posted @ 2024-12-14 20:55 牛奔 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 前言 nvm 在安装 Node.js v14.21.3 时,报错: nvm install 14 Downloading and installing node v14.21.3... Downloading https://nodejs.org/dist/v14.21.3/node-v14.21. 阅读全文
posted @ 2024-12-10 23:05 牛奔 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 前言 使用 npm 报错: npm ERR! request to https://registry.npm.taobao.org/xxx failed, reason: certificate has expired 错误原因: 早在 2021 年,淘宝就发文称,npm 淘宝镜像已经从 http: 阅读全文
posted @ 2024-12-10 13:51 牛奔 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 前言 在使用 Dcat Admin 后台登录时,发生 error 报错:(blocked:mixed-content) xhr VM484:1,浏览器拦截 其实这是浏览器在 HTTPS 页面中尝试加载 HTTP 资源,导致浏览器阻止了这些不安全的请求。 解决 在 .env 文件中添加或修改 ADMI 阅读全文
posted @ 2024-11-23 18:13 牛奔 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 前言 kubeadm 初始化或 join 时,报错: [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests" I1122 10:50:39.224341 51720 local.go:65] 阅读全文
posted @ 2024-11-22 14:32 牛奔 阅读(302) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 85 下一页