C:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another pr ...
分类:
其他好文 时间:
2020-07-24 21:30:48
阅读次数:
197
1、打开file->plugins,搜索插件power mode Ⅱ,安装后重启编辑器。 2、打开file->settings就可以看到power mode Ⅱ,按需配置。 ...
分类:
Web程序 时间:
2020-07-24 21:27:47
阅读次数:
164
<build><plugins><plugin><groupId>org.scala-tools</groupId><artifactId>maven-scala-plugin</artifactId><version>2.15.2</version><executions>&l
分类:
其他好文 时间:
2020-07-23 19:02:39
阅读次数:
82
pip安装 pip install pytest-html 编写脚本 import pytest class TestClass(object): def test_one(self): x = "this" assert 'h' in x def test_two(self): x = "hell ...
分类:
其他好文 时间:
2020-07-23 16:50:29
阅读次数:
121
1、新建SpringBoot项目,这里只选择一个Web依赖 2、修改pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</ar ...
分类:
编程语言 时间:
2020-07-23 16:43:47
阅读次数:
97
yum模块 name 必选 指定安装包名 state 执行命令 present installed removed latest absent 其中installed and present等效 latest标志安装yum中最新版本,absent and removed 等效 表示删除安装包 dis ...
分类:
其他好文 时间:
2020-07-23 16:32:49
阅读次数:
80
注:ip全部用xxx.xxx.xxx.xxx代替 以下是我在ansible主机执行的结果,当我用yum模块的时候,报错如下: (venv) [root@hmys os_script]# ansible xxx.xxx.xxx.xxx -u root -m yum -a "state=installe ...
分类:
其他好文 时间:
2020-07-23 16:02:16
阅读次数:
73
--日期:2020年7月21日 --作者:飞翔的小胖猪 文档功能说明: 文档通过ansible+shell+consul的方式实现批量下发安装Linux操作系统监控的node_exporter软件,自动加载node_exporter软件到系统开机启动中并通过consul注册的功能。为部署promet ...
分类:
系统相关 时间:
2020-07-22 01:50:56
阅读次数:
134
zabbix自动发现和自动注册批量添加100台主机 使用ansible批量zabbix-agent添加到目标主机 我只用普通权限,所以要是使用sudo权限 版本:zabbix 5.0 ssh脚本免密登陆 sudo vim key_cert.sh #!/bin/bash #利用 sshpass 批量实 ...
分类:
其他好文 时间:
2020-07-21 22:35:32
阅读次数:
113
配置文件路径: mac: ~/.docker/ 下有config.json daemon.json centos7:/etc/docker/下有key.json daemon.json(若无可以自己生成) { "authorization-plugins": [],//访问授权插件 "data-ro ...
分类:
Web程序 时间:
2020-07-21 22:29:01
阅读次数:
81