上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: json字符串内容为: { "xiaowang": [{ "age": "21", "weight": "120" }], "xiaomei": [{ "age": "24", "weight": "135" }], "xiaohong": [{ "age": "22", "weight": "10 阅读全文
posted @ 2021-10-11 15:02 力王7314 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 第一步,引入pom.xml文件 <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.12</version> </dependency> <dependency> <groupId>org 阅读全文
posted @ 2021-10-09 17:38 力王7314 阅读(95) 评论(0) 推荐(0) 编辑
摘要: String result = ""; String location = ""; BufferedReader in = null; try { String url3 = "https://xxx.xxx.com/v3/geocode/geo?key=xxxxxxxxxx"; String pa 阅读全文
posted @ 2021-10-09 10:10 力王7314 阅读(1727) 评论(0) 推荐(0) 编辑
摘要: mybatis编写顺序和内容 第一步,新建maven项目 省略...... 第二步,下载pom依赖,添加内容如下: 注意,如过想用lombok插件,光导入pom还不行,还需要再idea中下载plugin插件 <dependencies> <dependency> <groupId>org.mybat 阅读全文
posted @ 2021-10-08 15:36 力王7314 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 当我们安装好helm之后我们可以开始自定义chart,那么我们需要先创建出一个模板如下: helm create myapp 之后我们可以一下目录结构,目录的作用我简要介绍一下: templates/ 目录包括了模板文件。当Helm评估chart时,会通过模板渲染引擎将所有文件发送到template 阅读全文
posted @ 2021-06-10 18:36 力王7314 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: def getHost(){ def remote = [:] remote.name = 'test' remote.host = '1.1.1.1' remote.user = 'root' remote.password = 'password' remote.allowAnyHosts = 阅读全文
posted @ 2021-05-17 23:18 力王7314 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 示例1:pipeline 所有有效的声明式流水线必须包含在一个 pipeline 块中, 比如: pipeline { /* insert Declarative Pipeline here */ } 示例2:agent agent 部分指定了整个流水线或特定的部分, 将会在Jenkins环境中执行 阅读全文
posted @ 2021-05-17 18:48 力王7314 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 第一步,安装tomcat yum install tomcat -y 第二步,去官网下载最新的war包 第三步,放到tomcat中的webapps下 mv jenkins.war /usr/share/tomcat/webapps/ 第四步,修改tomcat字符集,并且重启tomcat vim /e 阅读全文
posted @ 2021-05-17 16:24 力王7314 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 第一步,拉去镜像 kibana 7.7.1 6de54f813b39 8 months ago 1.2GB elasticsearch 7.7.1 830a894845e3 8 months ago 804MB docker.elastic.co/beats/filebeat 7.7.1 a4c1b 阅读全文
posted @ 2021-02-09 01:15 力王7314 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: 工作中遇到了,filebeat对接kafka,记下来,分享一下,也为了防止自己忘记 对于filebeat是运行在客户端的一个收集日志的agent,filebeat是一个耳朵进一个耳朵出,进的意思是监听哪个日志文件,出的意思是监听的日志内容输出到哪里去,当然,这里我们输出到kafka消息队列中,而ka 阅读全文
posted @ 2021-02-05 23:16 力王7314 阅读(8326) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页