- 博客(374)
- 问答 (27)
- 收藏
- 关注
原创 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 491
原创 常用资源
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 197
原创 Month1 Month2
Month 1Month 2类型EventDimensiondeletehidedisable恢复re createenable业务id编号名字editdelete&createcorrecteditid可以变id不可变edit不联动联动下拉框不作为入参可作为入参
2023-07-18 12:25:01 310
原创 权限管理系统(Security)
本系统设计的一个重要目标就是将权限的管理从业务系统中完全抽离出来。对于后端服务而言,他接受到的请求就一定是合法的,不单操作是合法的,包括操作中间的参数,也应该是符合权限管控的要求。权限相关的配置,例如角色配置,用户与角色的绑定都由权限管理系统完成。业务服务与权限系统尽可能少的交互仅限于用户添加租户添加的少数情况。
2023-03-20 13:40:19 2091
原创 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 6268
原创 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 999
原创 haproxy最新版本安装
目录原因卸载安装确定版本下载源代码原因centos7自带的是过期版本ubuntu2204虽然没过期,也是老版本官网只有enterprise才有升级这里选择使用源码安装的方式(这也意味着ubuntu和centos都是适用的)卸载安装确定版本下载源代码...
2022-05-08 11:02:06 1450 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 151
翻译 [官方文档翻译: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 1217 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 397
翻译 [官方文档翻译: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 279
原创 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 555
原创 物理机安装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 737
翻译 【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 240
转载 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 21499 7
翻译 【Chaos Mesh官方文档】Simulate File I/O Faults
This document describes how to create IOChaos experiments in Chaos Mesh.IOChaos introductionIOChaos 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 249
翻译 【Chaos Mesh官方文档】Simulate DNS Faults
This document describes how to create DNSChaos experiments in Chaos Mesh to simulate DNS faults.DNSChaos IntroductionDNSChaos 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 231
翻译 【Chaos Mesh官方文档】(Kubernetes)Simulate Time Faults
TimeChaos IntroductionChaos 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 161
翻译 【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 190
原创 基于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 1070
翻译 【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 modeThis section describes how to create time fault experiments us
2022-04-27 08:24:32 178
翻译 【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 319
翻译 【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 280
翻译 【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 modeThis section describes how to create disk f
2022-04-27 08:21:03 247
翻译 【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 340
空空如也
virtualbox里的ubuntu无法远程(centos却可以)
2022-05-09
ETL中如何进行跨库join
2020-11-09
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关注的人