会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
明明就-
博客园
首页
新随笔
联系
订阅
管理
2025年5月6日
docker启动报错:importing WSL distro "当前计算机配置不支持 WSL2。请启用“虚拟机平台”可选组件
摘要: 背景:在电脑上安装了VPN和安卓模拟器,可能是导致docker启动失败的原因。 按原来的正常启动docker后报错: deploying WSL2 distributions ensuring main distro is deployed: deploying "docker-desktop":
阅读全文
posted @ 2025-05-06 17:35 明明就-
阅读(692)
评论(0)
推荐(0)
2025年1月3日
Linux后台运行服务避免ssh断开后服务挂掉
摘要: 实现: 1.后台运行服务,避免ssh断开后服务挂掉; 2.相关日志写入temp.out文件中,不在命令行显示,方便存储备份; 3.执行JPS命令时可以直接看到jar服务对应的名称,避免只显示端口号和jar; java -jar /opt/module/api_files/zs_data_api-0.
阅读全文
posted @ 2025-01-03 10:48 明明就-
阅读(16)
评论(0)
推荐(0)
2024年11月6日
idea报错:Web server failed to start. Port 8089 was already in use.
摘要: 问题分析:8089端口占用 原因一:IDEA退出时,SpringBoot程序没关闭; 原因二:IDEA未安全退出。 解决:找到端口号的PID,并KILL掉。 STEP1:找到端口PID netstat -ano | findstr “端口号” STEP2:KILL进程 taskkill /pid 1
阅读全文
posted @ 2024-11-06 09:31 明明就-
阅读(338)
评论(0)
推荐(0)
2024年10月22日
nginx踩坑:Error downloading packages: zlib-devel-1.2.7-21.el7_9.x86_64:
摘要: 问题:执行 下面命令报错 ./configure: error: the HTTP gzip module requires the zlib library. ./configure --prefix=/opt/module/nginx 解决:是没有安装zlib文件,可以尝试执行 yum inst
阅读全文
posted @ 2024-10-22 14:49 明明就-
阅读(224)
评论(0)
推荐(0)
2024年10月11日
镜像篇-各种国内加速镜像源
摘要: 一、国内NPM源镜像 npm 官方原始镜像网址是:https://registry.npmjs.org/淘宝 NPM 镜像:http://registry.npmmirror.com阿里云 NPM 镜像:https://npm.aliyun.com腾讯云 NPM 镜像:https://mirrors
阅读全文
posted @ 2024-10-11 10:55 明明就-
阅读(1240)
评论(0)
推荐(0)
2024年9月19日
reids安装部署
摘要: 一、安装tar包 0.部署环境准备 下载安装最新版的gcc编译器,安装C 语言的编译环境 yum install centos-release-scl scl-utils-build -y yum install -y devtoolset-8-toolchain -y scl 转换gcc版本 sc
阅读全文
posted @ 2024-09-19 15:11 明明就-
阅读(22)
评论(0)
推荐(0)
2024年8月14日
中微子代理 NeutrinoProxy-内网穿透
摘要: 一、场景描述 假设有两台已经联网的电脑A和B,想通过B去访问A的WEB服务。 二、NeutrinoProxy-内网穿透 NeutrinoProxy 是一个基于Java和Netty技术栈开发的开源项目,其核心功能就是内网穿透。内网穿透技术可以让外部网络访问到内部网络的资源。该项目提供了丰富的功能以支持
阅读全文
posted @ 2024-08-14 17:43 明明就-
阅读(770)
评论(0)
推荐(0)
2024年8月12日
docker之修改容器中的文件
摘要: 一、目的:使用docker pull项目后,想进去看看项目的组织架构。 二、解决办法 1)启动docker --> systemctl start docker 2) 看docker下的项目有啥 docker images 3) 查看docker ps并进入容器 三、修改容器内的文件 1)比如想修改
阅读全文
posted @ 2024-08-12 16:08 明明就-
阅读(272)
评论(0)
推荐(0)
docker之pull失败。error pulling image configuration: download failed after attempts=6: dial tcp 108.160.170.26:443: connect: connection refused
摘要: 一、问题描述 docker部署完成后,想pull项目,但是就是报错:error pulling image configuration: download failed after attempts=6: dial tcp 108.160.170.26:443: connect: connectio
阅读全文
posted @ 2024-08-12 11:33 明明就-
阅读(7079)
评论(11)
推荐(7)
Docker命令
摘要: 一、卸载 1) systemctl stop docker 2) yum -y remove docker-ce 3) rm -rf /var/lib/docker 二】常用命令 1) systemctl daemon-reload 2) systemctl restart docker syste
阅读全文
posted @ 2024-08-12 10:07 明明就-
阅读(38)
评论(0)
推荐(0)
下一页
公告