自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(374)
  • 问答 (26)
  • 收藏
  • 关注

原创 常用shell指令

获取e开头的网卡的ip进入某个docker容器查找被删除的docker容器日志

2020-03-27 13:58:24 702

原创 docker常用命令

常用docker镜像postgresredisrabbitmqpostgresdocker run --name postgres -d -e POSTGRES_PASSWORD=123456 --restart=always -p 5432:5432 postgresredisdocker run --name redis -d --restart=always -p 6379:637...

2019-09-12 12:54:20 430

原创 常用资源

JsonPathhttp://jsonpath.com/伯乐在线-学习资源http://hao.jobbole.com/log4j2日志格式配置https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout

2018-09-07 10:25:08 178

原创 Month1 Month2

Month 1Month 2类型EventDimensiondeletehidedisable恢复re createenable业务id编号名字editdelete&createcorrecteditid可以变id不可变edit不联动联动下拉框不作为入参可作为入参

2023-07-18 12:25:01 257

原创 Rocky系统环境初始化

【代码】Rocky系统环境初始化。

2023-06-08 10:40:04 251

原创 Shell init Ubuntu

【代码】Shell init Linux。

2023-05-11 16:09:46 209 1

原创 权限管理系统(Security)

本系统设计的一个重要目标就是将权限的管理从业务系统中完全抽离出来。对于后端服务而言,他接受到的请求就一定是合法的,不单操作是合法的,包括操作中间的参数,也应该是符合权限管控的要求。权限相关的配置,例如角色配置,用户与角色的绑定都由权限管理系统完成。业务服务与权限系统尽可能少的交互仅限于用户添加租户添加的少数情况。

2023-03-20 13:40:19 1605

原创 oceanbase

how to install oceanbase and add oblogproxy plugin

2023-02-24 11:00:18 141

原创 系统迁移CheckList

cheklist

2022-10-18 13:18:22 209

原创 ChaosMesh script

ChasoMesh

2022-10-18 13:12:38 276

原创 领域驱动设计思考(领域变更)

一些场景下,编辑功能改变类型会导致一个实体从一个领域转换到另一个领域

2022-08-05 16:29:15 127

原创 测试的几个等级

测试需要逐步进行

2022-08-05 14:44:49 357

原创 多个环境的配置文件

分析各种配置文件的区别

2022-08-05 14:30:21 199

原创 shardingsphere与liquibase兼容问题

解决兼容性问题

2022-06-24 13:43:05 882 3

原创 读取API文档获得前后端对接信息

通过api设计信息获取前后端对接的任务列表

2022-06-16 11:25:44 167

原创 SpringBoot自动进行单元测试

通过反射,依据swagger自动进行测试

2022-06-16 11:20:20 938

原创 StorageClass-nfs

chart for kubernetes storageclass

2022-06-09 14:47:20 152

原创 读取API文档获得前后端对接信息

通过读取遵循MVC设计的api源代码来理清项目管理相关情况

2022-06-06 12:41:17 160

原创 CCProxy使用指南

目标是让一个电脑上安装CCProxy,然后其他电脑也是使用这台电脑上VPN下载&安装http://update.youngzsoft.com/ccproxy/update/ccproxysetup.exe服务端配置进入设置页面记住上面的端口,一般HTTP和HTTPS用的比较多,都是808端口点击上面的高级按钮,选择网络,确保配置正确git配置git config --global https.proxy http://vpn.kamputer.online:808git co

2022-05-16 14:21:59 5738

原创 Chaosd安装与使用

按照官方办法有少许问题,下面的脚本解决了# 创建存放chaosd的文件夹mkdir /usr/local/chaosd && \# 指定版本,此处使用最新版export CHAOSD_VERSION=latest && \# 下载,注意需要添加User-Agentcurl -fsSL -o chaosd.tar.gz https://mirrors.chaos-mesh.org/chaosd-$CHAOSD_VERSION-linux-amd64.tar.gz -

2022-05-10 19:43:24 875

原创 haproxy最新版本安装

目录原因卸载安装确定版本下载源代码原因centos7自带的是过期版本ubuntu2204虽然没过期,也是老版本官网只有enterprise才有升级这里选择使用源码安装的方式(这也意味着ubuntu和centos都是适用的)卸载安装确定版本下载源代码...

2022-05-08 11:02:06 1281 1

翻译 [权威教程翻译]resolv.conf from debian wiki

本文来自debian wikiOrdinarily, the resolv.conf(5) file is managed dynamically by various network service daemons. This is the default, and is intended for laptops and other highly mobile systems which may connect to different networks. It also works well for

2022-05-08 05:51:48 132

翻译 [官方文档翻译:Linux]resolv.conf配置含义

本文来自debian官网NAMEresolv.conf - resolver configuration fileSYNOPSIS/etc/resolv.confDESCRIPTIONThe resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file contains info

2022-05-08 05:43:28 1059 1

翻译 【官方文档翻译:Red Hat】9.YUM

原文 翻译 Yum is the Red Hat package manager that is able to query for information about available packages, fetch packages from repositories, install and uninstall them, and update an entire system to the latest available version. Yum performs automatic

2022-05-05 11:09:01 336

翻译 [官方文档翻译:kind]HOME

原文翻译kind is a tool for running local Kubernetes clusters using Docker container “nodes”.kind是一个使用Docker容器作为节点来运行本地K8s集群的工具kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.kind本来主要设计用于验证K...

2022-05-03 10:33:51 226

原创 ulimit和/etc/security/limits.conf详解

ulimit首先我们看下ulimit这个指令的位置which ulimit可以看到没有任何输出,这是因为ulimit是内置指令man ulimitubuntuULIMIT(3) Linux Programmer's Manual ULIMIT(3) NAME ulimit - get and set

2022-05-02 18:15:50 921

原创 CentOS升级内核

官方文档在此升级原因当我们安装一些软件(对,我说的就是Kubernetes),可能需要新内核的支持,而CentOS又比较保守,不太升级,所以需要我们手工升级.升级方式# 看下目前是什么版本内核uname -a# 安装公钥rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org# 添加仓库,如果不执行该指令后面无法找到elrepo-kernel这个仓库# 下面两个分别是CentOS7和8的,根据自己情况选择执行yum inst

2022-04-30 22:17:17 479

原创 物理机安装CentOS7注意事项

1. 要从官网下载UltraIOS,否则会报空间不足2.U盘格式化为FAT32格式(默认分区大小),否则NTFS可能无法识别3.不用操作[便捷启动],直接写4.U盘写完后改个方便的名字,例如CENTOS7,因为U盘的label不能太长,不能把完成ISO的名字写完5.在下面界面按Tab修改LABEL后面的值,换成U盘的LABEL,例如CENTOS7,不要用网上的/dev/sdb6.安装的时候可能无线网卡驱动没有加载,只能用有线网,安装完成后再使用无线网7.记..

2022-04-30 12:00:23 693

翻译 【Chaos Mesh官方文档】(Kubernetes)Simulate JVM Application Faults

Chaos Mesh simulates the faults of JVM application through Byteman. The supported fault types are as follows:Throw custom exceptionsTrigger garbage collectionIncrease method latencyModify return values of a methodTrigger faults by setting Byteman conf

2022-04-29 08:40:27 211

转载 U盘安装CentOS7

一般来说,无论是Windows还是linux的IOS系统镜像,我们都可以使用UltraIOS(软碟通)这款软件制作U盘启动工具,不过考虑到不少小白依然不会如何操作,所以今天考虑写一篇制作centos7系统U盘工具以及centos7系统安装。那么U盘如何安装centos7系统?下面装机之家分享一下U盘安装centos7详细安装图解教程,来学习一下吧。U盘安装centos7详细安装图解教程所需工具:(自己网上下载)1、UltraIOS(软碟通)注:可以是试用版2、CentOS-7-x86_6

2022-04-28 19:40:03 20856 7

翻译 【Chaos Mesh官方文档】Simulate File I/O Faults

This document describes how to create IOChaos experiments in Chaos Mesh.IOChaos introduction​IOChaos is a type of fault in Chaos Mesh. By creating an IOChaos experiment, you can simulate a scenario of file system fault. Currently, IOChaos supports the fo

2022-04-28 18:37:56 207

翻译 【Chaos Mesh官方文档】Simulate DNS Faults

This document describes how to create DNSChaos experiments in Chaos Mesh to simulate DNS faults.DNSChaos Introduction​DNSChaos is used to simulate wrong DNS responses. For example, DNSChaos can return an error or return a random IP address when receiving

2022-04-28 18:36:44 197

翻译 【Chaos Mesh官方文档】(Kubernetes)Simulate Time Faults

TimeChaos Introduction​Chaos Mesh provides the TimeChaos experiment type. You can use this experiment type to simulate a time offset scenario. This document describes how to create a TimeChaos experiment and its associated configuration file.noteTimeCha

2022-04-28 18:35:39 135

翻译 【Chaos Mesh官方文档】Simulate Linux Kernel Faults

This document describes how to use KernelChaos to simulate Linux kernel faults. This feature injects I/O-based or memory-based faults into the specified kernel paths using BPF.Although you can set the injection target of KernelChaos to one or several Pods

2022-04-28 18:34:01 162

原创 基于Vagrant搭建异构Kubernetes集群

配置vip.kamputer.online=192.168.1.100master.kamputer.online=192.168.1.101ubuntu.kamputer.online=192.168.1.102centos.kamputer.online=192.168.1.103node.kamputer.online=192.168.1.111service网段:10.96.0.0/12pod网段:172.16.0.1/12操作系统安装下载box安装vagrant下载box文件

2022-04-28 08:53:41 998

翻译 【Chaos Mesh官方文档】Simulate Time Faults

This document describes how to use Chaosd to simulate a time offset scenario. You can create experiments either in command-line mode or service mode.Create experiments using command-line mode​This section describes how to create time fault experiments us

2022-04-27 08:24:32 154

翻译 【Chaos Mesh官方文档】(Physical Node)Simulate JVM Application Faults

Chaosd simulates the faults of JVM application through Byteman. The supported fault types are as follows:Throw custom exceptionsTrigger garbage collectionIncrease method latencyModify return values of a methodTrigger faults by setting Byteman configur

2022-04-27 08:23:34 255

翻译 【Chaos Mesh官方文档】Simulate HTTP faults

Chaosd simulates the faults of JVM application through Byteman. The supported fault types are as follows:Throw custom exceptionsTrigger garbage collectionIncrease method latencyModify return values of a methodTrigger faults by setting Byteman configur

2022-04-27 08:22:36 245

翻译 【Chaos Mesh官方文档】Simulate Disk Faults

This document describes how to use Chaosd to simulate disk faults. This feature helps you simulate disk read/write load (via dd) or disk fill (via dd or fallocate).Create experiments using the command-line mode​This section describes how to create disk f

2022-04-27 08:21:03 210

翻译 【Chaos Mesh官方文档】(Physical Machine)Simulate Stress Scenarios

Simulate Stress ScenariosThis document describes how to use Chaosd to simulate stress scenarios. This feature generates CPU or memory stress on the host using stress-ng. You can create stress experiments either in command-line or service mode.Create stre

2022-04-27 08:20:01 295

空空如也

gitlab怎么设置可以merge到main分支时被其他人review也就是一个仓库有a,a和b可以操作保护分支main

2023-07-17

virtualbox里的ubuntu无法远程(centos却可以)

2022-05-09

kubernetes的hostnetwork=true和docker的net=host有啥区别么

2022-05-05

ETL中如何进行跨库join

2020-11-09

请教SpringTransactionAnnotationParser.parseTransactionAnnotation(Transactional ann)代码

2020-11-02

java中的虚假唤醒的解决

2020-10-26

如何使用CLion阅读jvm源代码

2020-08-03

请教读linux代码中如何能够跳转

2020-07-21

为什么IO中间会有interrupt

2020-07-20

cpp中const函数的意义何在?

2020-07-20

关于PAXOS的一个极端例子,貌似无法得到一致性

2020-05-22

除了postgresql外还有什么数据库支持继承么?

2020-05-07

go的运行错误如何返回给调用者

2019-12-23

有没有什么方法连接两个RabbitMQ

2019-11-12

Flink如何将kafka里的消息写入到对应的topic

2019-10-30

有没有什么方法将HTTP请求转换为AMQP/JMS消息

2019-10-30

svn牵代码报“由于目标计算机积极拒绝,无法连接”

2018-11-15

如何拦截Mybatis的所有update方法,insert方法

2017-11-21

SpringBoot的Autowired如何能让被注入的属性感知到被注入的对象

2017-11-21

Spring注入时如何得知当前Bean注入给哪个对象

2017-11-11

Nginx反向代理如何将不同来源的请求代理到不同服务?

2017-11-08

用swing编写gui程序为什么要自定义子类

2017-10-20

请教一个xsd对于一个可能为空的节点的表示

2015-12-15

Visual Studio2015 mfc中如何设置被开发程序的快捷键

2015-10-04

同样的web项目myeclipse2015无法启动

2015-05-04

log4j2中如何设置日志文件的路径

2014-09-09

请问oracle中如何得到一个日期是周几

2014-04-29

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除