代码改变世界

随笔档案-2023年10月

CENTOS7如何查看网卡的UUID

2023-10-31 18:00 by freshfresh, 2642 阅读, 收藏, 编辑
摘要: CentOS7是目前比较常用的服务器操作系统之一,有时我们需要查看网卡的UUID,这里介绍一下如何进行查看。 步骤一:打开终端 在CentOS7中,我们需要通过终端来进行操作,因此可以在桌面左上角的Activities区域中搜索终端并打开终端。 步骤二:输入命令 接下来我们需要在终端中输入以下命令: 阅读全文

grafana Restarting (1) 43 seconds ago

2023-10-26 10:55 by freshfresh, 42 阅读, 收藏, 编辑
摘要: 1 version: '3.8' 2 services: 3 grafana: 4 image: grafana/grafana-enterprise 5 container_name: grafana 6 restart: unless-stopped 7 ports: 8 - '3000:300 阅读全文

最简单的Docker部署.netcore webApi 一看就会

2023-10-22 00:54 by freshfresh, 2160 阅读, 收藏, 编辑
摘要: 学会如何使用Docker部署.NET Core WebAPI 用vscode新建一个文件,文件名存为:dockerfile 不要后缀名 本地发布一下项目,然后把dockerfile放到发布后的目录里或则选择属性始终复制 创建完之后,发布一下,然后到publish文件夹下面新建个dockerfile, 阅读全文

Docker启动失败,报错Cannot connect to the Docker daemon at unix:///var/run/docker 完美解决方案

2023-10-21 11:02 by freshfresh, 1284 阅读, 收藏, 编辑
摘要: 问题描述: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 首次安装docker后,服务没有自启动 解决方案: 查看docker状态 1 service 阅读全文

Docker启动报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2023-10-21 10:42 by freshfresh, 557 阅读, 收藏, 编辑
摘要: 问题描述: Docker启动报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Cannot connect to the Docker daemon 阅读全文

centos7 命令修改使用

2023-10-19 23:29 by freshfresh, 37 阅读, 收藏, 编辑
摘要: 按键字母 I,Ins插入键, 是插入功能, 按键shift+Q 是退出插入模式, 输入字母 q,不保存直接退出 输入字母wq,保存修改并退出 阅读全文

centos7 执行 systemctl restart network 报错解决

2023-10-19 22:55 by freshfresh, 1398 阅读, 收藏, 编辑
摘要: 问题描述: 安装虚拟机器-->安装centos7 x64,使用MobaXterm_Personal_23.2.exe 连接centos, 报错如下图: Job for network.service failed because the control process exited with err 阅读全文
点击右上角即可分享
微信分享提示