上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 一、自动处理依赖关系(安装2.0) 第二个办法(yumdownloader)没有办法处理全部的依赖包关系,因此使用repotrack来下载依赖包,并制作自动的yum源,使用yum处理依赖关系安装。 yum install -y yum-utils # repotrack 工具用来下载yum依赖 mk 阅读全文
posted @ 2021-09-10 11:40 小小记录本 阅读(1973) 评论(0) 推荐(0)
摘要: 使用Projections.bean() JPAQuery<AppServiceDetailVM> appServiceDetailVMJPAQuery = queryFactory.select(Projections.bean( AppServiceDetailVM.class, qAppSer 阅读全文
posted @ 2021-09-07 18:24 小小记录本 阅读(306) 评论(0) 推荐(0)
摘要: gitlab-group-cicd页面进不去500修复方案 参考 多个runner导致的gitlab token 没有及时更新,bug! 解决: 清除所有runner token, 公有gitlab慎用!!!共有仓库可以进去查找自己单独的记录清除自己群组的token 进去gitlab容器 执行git 阅读全文
posted @ 2021-08-27 22:36 小小记录本 阅读(615) 评论(0) 推荐(0)
摘要: 原解决方案 简而言之 jhipster在pom文件中指定了注解处理器annotationProcessorPaths,没有增加lombok作为注解处理器,因此我们手动添加lombok即可 原来 <plugin> <groupId>org.apache.maven.plugins</groupId> 阅读全文
posted @ 2021-08-19 17:32 小小记录本 阅读(139) 评论(0) 推荐(0)
摘要: 编写脚本 Xshell - 工具 - 脚本 - 打开脚本文件夹 弹出的文件夹有js,py,vbs三种类型的脚本文件示例。 按示例脚本编写一个python登录脚本: def Main(): # 自动输入root xsh.Screen.Send("root") # 相当于回车 xsh.Screen.Se 阅读全文
posted @ 2021-08-02 12:46 小小记录本 阅读(1700) 评论(0) 推荐(0)
摘要: 问题 如果只是使用mount功能来挂载一个文件到某个路径下,则这个路径下原有的文件将会被清空。 挂载config.toml到/etc/apt/下 apiVersion: apps/v1 kind: Deployment spec: volumes: - name: runner-config-dem 阅读全文
posted @ 2021-07-07 18:38 小小记录本 阅读(4251) 评论(0) 推荐(0)
摘要: 有些错误的编码解码方式生成的字符串可能导致编码丢失无法还原或只能部分还原,下面测试例子使用utf-8和ISO-8859-1是可以正常还原的 import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCha 阅读全文
posted @ 2021-06-16 10:47 小小记录本 阅读(1002) 评论(0) 推荐(0)
摘要: 编译正则表达式 String re = "\d+"; Pattern compile = Pattern.compile(re); Matcher matcher = compile.matcher("123123123213"); 提取字符串 // 一个括号内会被分为一个group String 阅读全文
posted @ 2021-05-29 15:30 小小记录本 阅读(42) 评论(0) 推荐(0)
摘要: 官方文档 # 获取服务名为abc_mysql的容器名 container_name=$(docker ps --filter "label=com.docker.swarm.service.name=abc_mysql" --format "{{.Names}}") # sql文件 sql_file 阅读全文
posted @ 2021-05-25 17:22 小小记录本 阅读(46) 评论(0) 推荐(0)
摘要: 防火墙 查看防火墙所有开放端口 firewall-cmd --list-all 开放防火墙端口 firewall-cmd --permanent --add-port=80/tcp 使用富规则开放端口 firewall-cmd --add-rich-rule='rule family=ipv4 so 阅读全文
posted @ 2021-05-25 16:18 小小记录本 阅读(69) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页