会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一只大冬瓜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2021年10月19日
docker镜像转移
摘要: * 打包导出镜像 docker save -o xx.tar <imageName:tag> *利用文件传输工具导入到目标主机 *加载镜像 docker load -i xx.tar
阅读全文
posted @ 2021-10-19 09:12 一只大冬瓜
阅读(52)
评论(0)
推荐(0)
2021年10月14日
k8s集群搭建 + KubeSphere (2021)PS:无坑操作,复制粘贴
摘要: k8s集群搭建相关操作(2021) 工具 Vagrant + VBox + Xshell 宿主机:Win10 虚拟机: Centos7 * 使用vagrantFile创建虚拟机 1.创建一个文件夹k8s,在当前目录打开命令行窗口,运行 vagrant init 2.打开当前目录生成的Vagrantf
阅读全文
posted @ 2021-10-14 21:24 一只大冬瓜
阅读(415)
评论(0)
推荐(0)
关于xshell连接需要公钥和您的公钥未在远程机上注册的解决方案
摘要: 问题如下图 正确应该在这里输入密码,但是他确提示需要输入公钥,而且一顿操作之后也连不上,提示未在远程机注册, 经过百度查到了虚拟机的sshd服务配置文件 执行以下命令使用vim打开 vi /etc/ssh/sshd_config 只需修改其中两个参数即可 : 1.将公钥认证改为 no 2.将密码认证
阅读全文
posted @ 2021-10-14 19:44 一只大冬瓜
阅读(369)
评论(0)
推荐(0)
误删除yum,解决方法
摘要: 1、创建一个专门的文件夹存放安装包,并进入: mkdir yumsdk cd yumsdk 2.从http://mirrors.163.com/centos/7/os/x86_64/Packages下载相应的包,执行以下命令,将所有依赖下载,直接复制粘贴 wget http://mirrors.16
阅读全文
posted @ 2021-10-14 16:56 一只大冬瓜
阅读(462)
评论(0)
推荐(0)
2021年10月13日
延迟队列配置
摘要: @Configurationpublic class MyRabbitMQConfig { /* 容器中的Queue、Exchange、Binding 会自动创建(在RabbitMQ)不存在的情况下 */ /** * 死信队列 * * @return */@Bean public Queue ord
阅读全文
posted @ 2021-10-13 23:11 一只大冬瓜
阅读(120)
评论(0)
推荐(0)
Rabbit配置类
摘要: @Configurationpublic class MyRabbitConfig { private RabbitTemplate rabbitTemplate; @Autowired AmqpAdmin amqpAdmin; @Primary @Bean public RabbitTemplat
阅读全文
posted @ 2021-10-13 23:09 一只大冬瓜
阅读(185)
评论(0)
推荐(0)
阿里云对象存储
摘要: @RestController@RequestMapping("/third/part")public class Oss {/** spring.application.name=gulimal-third-partspring.cloud.nacos.config.server-addr=127
阅读全文
posted @ 2021-10-13 23:02 一只大冬瓜
阅读(172)
评论(0)
推荐(0)
mybatis_xml文件头
摘要: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
阅读全文
posted @ 2021-10-13 22:50 一只大冬瓜
阅读(50)
评论(0)
推荐(0)
nacos配置中心模板
摘要: spring.cloud.nacos.config.server-addr=127.0.0.1:8848spring.cloud.nacos.config.file-extension=ymlspring.cloud.nacos.config.namespace=972eaeeb-cf12-47ad
阅读全文
posted @ 2021-10-13 22:49 一只大冬瓜
阅读(131)
评论(0)
推荐(0)
网关配置模板
摘要: server: port: 80spring: cloud: gateway: routes: - id: product_rute uri: lb://gulimal-product predicates: - Path=/api/product/** filters: - RewritePath
阅读全文
posted @ 2021-10-13 22:48 一只大冬瓜
阅读(170)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告